summaryrefslogtreecommitdiffstats
path: root/platforms
Commit message (Collapse)AuthorAgeFilesLines
* barebox_mlo: add optional lzop dependencyMichael Olbrich2019-10-031-0/+9
| | | | Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
* platform: make clear that libc version is not only used for checkingRoland Hieber2019-08-291-6/+8
| | | | | | | | | | | | | | | | With the old wording it reads like the version can be left empty. However, if the libc should be installed to the target (e.g. by selecting anything in the GLIBC or UCLIBC section), this version must be set, or the respective targetinstall stage will error: --------------------------- target: glibc.targetinstall --------------------------- ptxdist: error: ptxd_make_xpkg_init: please define <PKG>_VERSION Signed-off-by: Roland Hieber <rhi@pengutronix.de> Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
* kernel: fix typos in kconfig help textsUlrich Ölmann2019-08-241-14/+14
| | | | | Signed-off-by: Ulrich Ölmann <u.oelmann@pengutronix.de> Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
* image-hdimg: fix typo in help textBastian Krause2019-08-081-1/+1
| | | | | Signed-off-by: Bastian Krause <bst@pengutronix.de> Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
* u-boot: Add u-boot-dtb.imx install optionLars Pedersen2019-08-081-0/+8
| | | | | Signed-off-by: Lars Pedersen <lapeddk@gmail.com> Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
* hosttools_platform: make sure the section is generatedMichael Olbrich2019-07-121-0/+7
| | | | Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
* kconfig: 'option env' is goneMichael Olbrich2019-05-102-6/+2
| | | | | | Instead '$(ENV_VARNAME)' can be used directly. Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
* u-boot: use correct syntax for string default valuesMichael Olbrich2019-05-101-1/+1
| | | | | | Future kconfig versions require the '"'. Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
* at91bootstrap: use correct syntax for string default valuesMichael Olbrich2019-05-101-1/+1
| | | | | | Future kconfig versions require the '"'. Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
* u-boot: Allow generation of boot scriptAhmad Fatoum2019-04-181-0/+18
| | | | | | | | | | | | U-Boot can be configured via the environment to look for a boot script in the rootfs. The boot script can then be used to customize the booting process further. Cc: Denis OSTERLAND <denis.osterland@diehl.com> Co-authored-by: Alexander Dahl <ada@thorsis.com> Signed-off-by: Ahmad Fatoum <a.fatoum@pengutronix.de> Signed-off-by: Alexander Dahl <ada@thorsis.com> Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
* Revert "readd _SERIES option for u-boot and add it for at91bootstrap ↵Alexander Dahl2019-04-121-9/+0
| | | | | | | | | | | (partially reverts dac31c4)" That broke our usecase back in 2013, but we don't need that anymore now. This reverts commit 4b09a0c4ff4365159d7bfec6bb086743bdb39110. Signed-off-by: Alexander Dahl <ada@thorsis.com> Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
* hardening: add option for -D_GLIBCXX_ASSERTIONSMichael Olbrich2019-04-051-0/+7
| | | | Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
* barebox: set architecture for mipsOleksij Rempel2019-03-011-0/+1
| | | | | Signed-off-by: Oleksij Rempel <o.rempel@pengutronix.de> Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
* hardening: add option for -fstack-clash-protectionMichael Olbrich2019-02-211-0/+10
| | | | Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
* optee: add the OP-TEE as new target packageRouven Czerwinski2019-02-141-0/+40
| | | | | | | | Provide two KConfig files to allow inclusion of OP-TEE for userspace libraries and applications. Signed-off-by: Rouven Czerwinski <r.czerwinski@pengutronix.de> Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
* u-boot: Add u-boot{-dtb, -with-spl-pbl}.bin image installation optionsAhmad Fatoum2019-02-071-0/+14
| | | | | | Signed-off-by: Ahmad Fatoum <a.fatoum@pengutronix.de> Signed-off-by: Alexander Dahl <ada@thorsis.com> Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
* u-boot: Add option to use Kconfig based configurationAlexander Dahl2019-02-071-1/+41
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Recent versions of U-Boot (from 2014.10) use a Kconfig based configuration. To also support the old system and not break existing builds, this is introduced as optional, which also allows to build a defconfig without oldconfig/menuconfig and a .config file in the BSP. A new menu entry of type 'choice' was added to choose between the new Kconfig based and the legacy config system (boldly inspired by buildroot). Options for prepare and compile stage were revised and adapted to U-Boot build documentation (CROSS_COMPILE and HOSTCC in env instead of make options). That part is based on the first patch 'u-boot: add support for oldconfig/menuconfig' by Ahmad Fatoum from October 2018, but extended by the new menu options, which more or less follows a suggestion of Michael Olbrich to support both configuration systems and distinguish in the make rule. The option to avoid parallel building is only kept for the legacy build, modern U-Boot uses the kernel build system and should build fine in parallel. Also added is support for ptxdist option -v for a more verbose build. This is passed to make with V= option, which is based on a second patch 'u-boot: add V=$(PTXDIST_VERBOSE) to make options' by Ahmad Fatoum, but squashed into this, because all those variable stuff was rewritten anyway. Compile tested with: * recent DistroKit, ptxdist 2019.01.0, U-Boot 2019.01, and defconfig for Microchip SAMA5D27-SOM1-EK1 (platform-v7a), both build system approaches. * custom BSP, ptxdist 2018.05.0, U-Boot 2012.04.01, and config "at91sam9g20ek_nandflash" (arm-v5te), legacy build only. Co-authored-by: Ahmad Fatoum <a.fatoum@pengutronix.de> Signed-off-by: Alexander Dahl <ada@thorsis.com> Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
* u-boot: Bump default version and tweak help textsAlexander Dahl2019-02-071-6/+11
| | | | | | | | | | | The default U-Boot version to be built was from 2007, maybe it's time to bump that? The help text better explains the make config target option now, and how U-Boot is written in the help texts was unified. Signed-off-by: Alexander Dahl <ada@thorsis.com> Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
* kernel: ARCH_MIPSEL is never definedMichael Olbrich2019-01-271-1/+0
| | | | Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
* kernel: add vmlinuz supportOleksij Rempel2019-01-071-0/+8
| | | | | | | it is compressed ELF image. Mostly interesting for MIPS platforms. Signed-off-by: Oleksij Rempel <o.rempel@pengutronix.de> Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
* kernel: add workaround to keep kernelconfigs stableMichael Olbrich2018-12-061-0/+12
| | | | | | | | | | With linux-4.19 and gcc-8.x oldconfig will prompt for extra options that are not available with e.g. gcc-7.x. This causes problems when a BSP is built with different host compilers. Add a workaround to optionally disable these extra options by forcing the compiler check to fail. Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
* u-boot: Add support for SPL for non-OMAP CPUsGuillermo Rodríguez2018-11-101-3/+11
| | | | | | | | | | Add support for installing the SPL binary for non-OMAP CPUs. Also properly remove any files installed in the platform image directory in the clean stage. Signed-off-by: Guillermo Rodriguez <guille.rodriguez@gmail.com> Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
* Fix typos in KConfig files (.in rules)Alexander Dahl2018-11-097-14/+14
| | | | | | | | To not fix typos one by one, use a tool for that. All typos found with `codespell -i 3 -w rules/*.in platforms/*.in`. Signed-off-by: Alexander Dahl <ada@thorsis.com> Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
* platforms: add a section for project specific platform packagesMichael Olbrich2018-11-062-0/+5
| | | | Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
* rules: allow selecting most host packages in the platformconfigMichael Olbrich2018-11-061-0/+1
| | | | | | | | | | | Do this by including the the hosttools_noprompt section for the platformconfig. This way, we don't need to manually add a package to the platformconfig when it is needed. Exceptions are special packages that are always enabled and host-gobject-introspection because it needs host-qemu. These packages are now in the new hosttools_noprompt_ptx section. Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
* toolchain_options: disable TARGET_COMPILER_RECORD_SWITCHES by defaultMichael Olbrich2018-10-031-1/+7
| | | | | | It creates unnecessary changes in the final binaries. Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
* dtc: support layers in DTC_OFTREE_DTS_PATH by defaultMichael Olbrich2018-09-211-1/+1
| | | | | | | PTXDIST_PLATFORMCONFIG_SUBDIR is a relative path and will be searched in all layers. Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
* barebox: support layers with BAREBOX_EXTRA_ENV_PATHMichael Olbrich2018-09-201-1/+4
| | | | Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
* image-root-squashfs: add rules for generic squashfs imageBaeuerle, Florian2018-07-311-0/+72
| | | | | This adds rules for generating a squashfs image from the root filesystem via genimage.
* platforms/kernel: add riscvRouven Czerwinski2018-07-301-0/+1
| | | | | Signed-off-by: Rouven Czerwinski <r.czerwinski@pengutronix.de> Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
* architecture: add riscv supportRouven Czerwinski2018-07-301-0/+11
| | | | | Signed-off-by: Rouven Czerwinski <r.czerwinski@pengutronix.de> Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
* image-root-tgz: Add IMAGE_ROOT_TGZ_LABEL optionJon Ringle2018-07-131-2/+17
| | | | | Signed-off-by: Jon Ringle <jringle@gridpoint.com> Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
* platforms: merge image sectionsMichael Olbrich2018-05-3113-14/+13
| | | | | | Keep the image2 section for BSPs that still use it. Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
* u-boot-v2: remove in favor of bareboxRoland Hieber2018-05-311-32/+0
| | | | | | | | Historical package that has since been renamed to barebox. Fixes: 6815a8a1789ed3b3437436e0f859 ("[barebox] add new packet barebox") Signed-off-by: Roland Hieber <r.hieber@pengutronix.de> Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
* platforms: remove old ISO image ruleMichael Olbrich2018-05-301-29/+0
| | | | | | | If this is still needed, a new proper image package using genimage should be created. Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
* remove unmaintained microblaze stuffMichael Olbrich2018-05-304-99/+1
| | | | Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
* create image rules for the kernel imagesMichael Olbrich2018-05-302-7/+7
| | | | Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
* platforms: remove obsolete cpio image ruleMichael Olbrich2018-05-301-16/+0
| | | | Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
* image_iso: use new cpio.gz imageMichael Olbrich2018-05-301-1/+1
| | | | Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
* platforms: remove obsolete ext2 image ruleMichael Olbrich2018-05-301-49/+0
| | | | Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
* platforms: remove obsolete uRamdisk image ruleMichael Olbrich2018-05-301-63/+0
| | | | Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
* platforms: remove obsolete hd image ruleMichael Olbrich2018-05-302-174/+0
| | | | Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
* turn vdi image into a new imageMichael Olbrich2018-05-301-4/+4
| | | | Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
* platforms: remove obsolete ubi/ubifs image rulesMichael Olbrich2018-05-302-220/+0
| | | | Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
* platforms: remove obsolete tar image ruleMichael Olbrich2018-05-301-18/+0
| | | | Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
* platforms: remove obsolete squashfs image ruleMichael Olbrich2018-05-301-84/+0
| | | | Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
* platforms: remove obsolete jffs2 image ruleMichael Olbrich2018-05-301-52/+0
| | | | Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
* kernel: use new cpio image as initramfsMichael Olbrich2018-05-301-1/+1
| | | | Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
* platforms: remove obsolete vfat image ruleMichael Olbrich2018-05-301-12/+0
| | | | Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
* kernel: update default kernel version to something more recentMichael Olbrich2018-03-021-1/+1
| | | | Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>