summaryrefslogtreecommitdiffstats
path: root/configs/platform-v7a/rules
Commit message (Collapse)AuthorAgeFilesLines
* barebox: set barebox build sytem versionRoland Hieber2021-04-238-2/+12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Since Barebox v2020.11.0, the build system supports a configurable version string that is baked into the barebox image, see the following upstream barebox commits: * commit 98c221e3fad57f271d60 (2020-09-23, "Makefile: add buildsystem version variable") * commit c7dcac9de597f006fdc8 (2020-09-23, "common: print buildsystem version in barebox banner") * commit c600d8812e9f3b98591a (2020-09-23, "common: globalvar: add variable for buildsystem_version_string") * commit 01b53d3b728073996e7e (2020-09-23, "imd: add buildsystem version to metadata") Set that version string to the Git hash so we can always find out from which DistroKit version a barebox-in-the-wild was built. (Even if we don't use barebox >= v2020.11.0 on all platforms yet, future barebox updates will benefit from this change.) For mips, we use the upstream barebox rule, which takes the version string from the platformconfig. For all other platforms, this change effectively ports the following commit from PTXdist 2021.04.0: | commit f5500c922424ee71dd99e80f743ed6d994e5bca6 | Author: Steffen Trumtrar <s.trumtrar@pengutronix.de> | Date: 2021-04-01 10:36:41 | | rules: barebox: support barebox buildsystem_version | | barebox supports setting a buildsystem version. This is useful to have | an exact buildsystem version like a commit hash accessible from barebox. | | Signed-off-by: Steffen Trumtrar <s.trumtrar@pengutronix.de> | Message-Id: <20210401083641.9251-2-s.trumtrar@pengutronix.de> | Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de> Link: https://git.pengutronix.de/cgit/barebox/commit/?id=98c221e3fad57f271d60 Link: https://git.pengutronix.de/cgit/barebox/commit/?id=c7dcac9de597f006fdc8 Link: https://git.pengutronix.de/cgit/barebox/commit/?id=c600d8812e9f3b98591a Link: https://git.pengutronix.de/cgit/barebox/commit/?id=01b53d3b728073996e7e Link: https://git.pengutronix.de/cgit/ptxdist/commit/?id=f5500c922424ee71dd99 Signed-off-by: Roland Hieber <rhi@pengutronix.de> Signed-off-by: Robert Schwebel <r.schwebel@pengutronix.de>
* v7a: Add support for Raspberry Pi CM3Uwe Kleine-König2021-03-153-1/+83
| | | | Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
* v7a: barebox update 2020.09.0 -> 2021.02.0Uwe Kleine-König2021-03-152-2/+2
| | | | | | | | | | | | | | One new patch is required to fix a regression for USB on rpi3. Also USB on rpi3 requires CONFIG_USB_NOP_XCEIV=y now which is enabled in the rpi2 config now. For the beaglebone two patches are added fixing a regression related to a dts sync from upstream. All three patches were already sent to the barebox mailing list. Acked-by: Ahmad Fatoum <a.fatoum@pengutronix.de> Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
* v7a: stm32mp: images: allow differing board names for FSBL and SSBLAhmad Fatoum2021-03-152-2/+4
| | | | | | | | | | | | | | So far, the two STM32MP1 boards we support had the same board name string within the file names of first stage (TF-A) and second stage (barebox) bootloaders. This will no longer be true when updating to a more recent barebox version, as the dk2 image's name has been changed to dkx to indicate support for both dk1 and dk2. Prepare for this by splitting up STM32MP_BOARD_NAME. No functional change. Signed-off-by: Ahmad Fatoum <a.fatoum@pengutronix.de> Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
* image-rpi2, image-rpi3: remove no-op ptxd_replace_magic callsDistroKit-2021.02.0Roland Hieber2021-02-092-6/+0
| | | | | | | | | | | | | | | | | | | | | | | | The new 'ptxdist lint' feature complained about these lines: Undefined symbol PTXCONF_IMAGE_RPI2_GPU_MEM used in 'next/configs/platform-v7a/rules/image-rpi2.make'. Undefined symbol PTXCONF_IMAGE_RPI3_GPU_MEM used in 'next/configs/platform-v7a/rules/image-rpi3.make'. Indeed, these complaints were caused by multiple issues, probably going back to copy-and-paste from platform-rpi: * IMAGE_RPI2_GPU_MEM and IMAGE_RPI3_GPU_MEM were never defined in any kconfig menu since these lines were added (but a similar kconfig item exists in configs/platform-rpi) * configs/platform-v7a/rpi-firmware/config.txt didn't have any magic replacement markers anymore since commit 98626f8441add596486b * the "replaced" config.txt was never used by anything after writing it to PTXDIST_TEMPDIR (which is the case in configs/platform-rpi) Remove the call completely. Fixes: 1db122202276b9f343eb (2017-06-16, "platform-v7a: rpi2: add board support") Fixes: 98626f8441add596486b (2018-11-29, "add RPI3 Support") Signed-off-by: Roland Hieber <rhi@pengutronix.de>
* v7a: sama5d2: generate image for Groboard Giantboard as wellAhmad Fatoum2020-11-012-0/+72
| | | | | | | Add the same bit of boilerplate we added for the EK1 to get an image generated for the giant board as well. Signed-off-by: Ahmad Fatoum <a.fatoum@pengutronix.de>
* v7a: generate image for sama5d27 SOM1 Evaluation KitAhmad Fatoum2020-11-012-0/+72
| | | | | | | | | | With the previous barebox and kernel changes, we can combine it with the DistroKit-v7a rootfs to get an image to boot on the sama5d27-som1-ek. Do this. Signed-off-by: Ahmad Fatoum <a.fatoum@pengutronix.de> [rebased to master] Signed-off-by: Robert Schwebel <r.schwebel@pengutronix.de>
* v7a: barebox: add new rule for sama5d2 supportAhmad Fatoum2020-11-011-0/+108
| | | | | | | | | | | | | Later commits will have the v7a platform generate an image for Cortex-A5 based sama5d2 as well. Import here a new barebox-at91 rule that extends the barebox-common rule to provide support for the two sama5d27 boards supported by barebox: barebox-sama5d27-som1-ek.img barebox-sama5d27-som1-ek-xload-mmc.img barebox-groboards-sama5d27-giantboard.img barebox-groboards-sama5d27-giantboard-xload-mmc.img Signed-off-by: Ahmad Fatoum <a.fatoum@pengutronix.de>
* v7a: generate image for Linux Automation MC-1Ahmad Fatoum2020-04-272-0/+71
| | | | | | | With TF-A and barebox support added in previous commits, everything is now in place for having DistroKit generate a MC-1 rootfs image. Do so. Signed-off-by: Ahmad Fatoum <a.fatoum@pengutronix.de>
* v7a: barebox: add support for Linux Automation MC-1Ahmad Fatoum2020-04-271-1/+2
| | | | | | | | | | | | | This adds barebox support for the Linux Automation GmbH MC-1 board built around the Octavo Systems OSD32MP157C-512M SiP. The patches have been posted[1] upstream, but are not yet accepted. It's however expected for them to be part of barebox v2020.06.0, at which time we can drop the patchset again. [1]: https://lists.infradead.org/pipermail/barebox/2020-April/041653.html Signed-off-by: Ahmad Fatoum <a.fatoum@pengutronix.de>
* remove more references to nonexisting CREDITS fileRoland Hieber2020-03-092-4/+0
| | | | | | Fixes: 3dd5c0fe34cee8ebbcdd ("rules: remove CREDIT lines") Fixes: 3bce747e47170b219334 ("v7a: add stm32mp157c-dk2 SD-Card image") Signed-off-by: Roland Hieber <rhi@pengutronix.de>
* rules: remove CREDIT linesRoland Hieber2020-03-0518-36/+0
| | | | | | | | This file has never existed here, and the respective lines were also removed from the upstream PTXdist rules and templates in commit cbd6bda680c65d7e01cf ("CREDITS: remove unmaintained file"). Signed-off-by: Roland Hieber <rhi@pengutronix.de>
* v7a: add stm32mp157c-dk2 SD-Card imageAhmad Fatoum2020-03-052-0/+74
| | | | | | | | Both STM32MP BootROM and TF-A expect the subsequent bootloader stage to come from a GPT partition when booting from SD-Card. Add a genimage config that describes this. Signed-off-by: Ahmad Fatoum <a.fatoum@pengutronix.de>
* v7a: barebox: add new stm32mp ruleAhmad Fatoum2020-03-051-0/+107
| | | | | | | | | | | | Since v2019.12.0, barebox now has SD/MMC and Ethernet support for the STM32MP1. Thus there is nothing holding us back from extending DistroKit's v7a platform to support the SoC. Add a barebox-stm32mp rule as first step. The barebox rule add here is only meant as second-stage bootloader (SSBL). First-stage (FSBL) will be TF-A introduced in a later patch. Signed-off-by: Ahmad Fatoum <a.fatoum@pengutronix.de>
* barebox: create the .ptxdist-defaultenv symlink in the build dirMichael Olbrich2019-11-044-8/+8
| | | | | | | This avoids problems if the same git tree is used in local_src/ for multiple barebox packages. Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
* barebox-vexpress: remove installed filesMichael Olbrich2019-11-041-0/+2
| | | | Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
* barebox-am335x-mlo: actually remove images during 'clean'Michael Olbrich2019-11-041-1/+1
| | | | Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
* barebox-rpi2: don't add a suffix to the imagesMichael Olbrich2019-11-041-1/+1
| | | | | | It's not needed and now the files are actually removed during 'clean'. Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
* barebox-mx6: actually remove images during 'clean'Michael Olbrich2019-11-041-1/+1
| | | | Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
* barebox-am335x: actually remove images during 'clean'Michael Olbrich2019-11-041-1/+1
| | | | Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
* barebox-am335x-mlo: sync with latest barebox templateMichael Olbrich2019-11-041-21/+20
| | | | Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
* barebox-am335x: sync with latest barebox templateMichael Olbrich2019-11-041-25/+26
| | | | Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
* barebox-common: sync with latest barebox templateMichael Olbrich2019-11-041-25/+28
| | | | Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
* barebox-rpi2: sync with latest barebox templateMichael Olbrich2019-11-041-20/+21
| | | | Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
* barebox-mx6: sync with latest barebox templateMichael Olbrich2019-11-041-20/+21
| | | | Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
* barebox-vexpress: sync with latest barebox templateMichael Olbrich2019-11-041-22/+23
| | | | Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
* v7a: barebox-common: modify oldconfig to affect all bareboxesAhmad Fatoum2019-11-041-1/+4
| | | | | | | | | With barebox updates, oldconfig needs to be rerun for every barebox in the BSP, to resync the configs. With this change this can be done at once by issuing a ptxdist oldconfig barebox-common. Signed-off-by: Ahmad Fatoum <a.fatoum@pengutronix.de> Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
* platform-v7a: add support for Nitrogen6 MAXMichael Olbrich2019-09-191-0/+36
| | | | Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
* v7a: bareboxes: use config diffs with the common reference configRoland Hieber2019-06-054-0/+4
| | | | | | | | | | | | | | Make it easier to maintain a common set of features and also review the device-specific changes between all the barebox variants by using the config diff mechanism which has been available since PTXdist 2019.01.0. No barebox config was harmed in the making of this patch, only their difference to the common reference config was computed. Also add a helper script to regenerate the config diffs after the common config was changed. Signed-off-by: Roland Hieber <rhi@pengutronix.de>
* v7a: bareboxes: use shared settings from the barebox-common packageRoland Hieber2019-06-055-10/+10
| | | | | | | | | | | As implemented in the previous commit, the barebox version and MD5 can be reduced to one entry in the menu. Also do the same for the host-lzop dependency, which will be needed for every barebox package when using the common reference config. Be sure to depend on the new barebox-common package so the barebox packages are rebuilt when the version and MD5 variables change. Signed-off-by: Roland Hieber <rhi@pengutronix.de>
* v7a: barebox-common: add a common reference config for all barebox variantsRoland Hieber2019-06-051-0/+77
| | | | | | | | | | | | | | | | | | | | | | | | | | | | This package serves multiple purposes: * Make the barebox version and MD5 for all used barebox variants configurable with just one menu entry. * Have a common barebox configuration with a baseline feature set, which can be used by all barebox-* variants as a reference config with the config diff functionality introduced in PTXdist 2019.01.0. The common config is currently based on ARCH_BCM283X, which seems to generate the smallest config diff for all the existing device-specific barebox configs (which will be adapted in the next commits). The new barebox-common package only exists for the ability to call "ptxdist menuconfig" on it in order to change the common config. It isn't meant to build or install anything, so the compile, install and targetinstall stages can be no-ops. Also make sure that the menu entry for the common configuration is listed before all other barebox variants by naming the kconfig file appriopriately. Since the barebox-common config uses LZO image compression, depend on host-lzop too. Then configure it to use the version which is currently used for all other variants in the v7a platform. Signed-off-by: Roland Hieber <rhi@pengutronix.de>
* platform-v7a: barebox bump v2019.01.0 → v2019.03.0Rouven Czerwinski2019-03-075-10/+10
| | | | | | Patch free, baby! Signed-off-by: Rouven Czerwinski <r.czerwinski@pengutronix.de>
* platform-v7a: barebox 2018.12.0 → 2019.01.0Rouven Czerwinski2019-01-185-10/+10
| | | | Signed-off-by: Rouven Czerwinski <r.czerwinski@pengutronix.de>
* add RPI3 SupportRouven Czerwinski2018-12-174-1/+91
| | | | Signed-off-by: Rouven Czerwinski <rouven@czerwinskis.de>
* platform-v7a: barebox bump v2018.05.0 → v2018.12.0Rouven Czerwinski2018-12-075-10/+10
| | | | | | | | Bump barebox from v2018.05.0 to v2018.12.0. This barebox release officially supports RPI3, this will be enabled in a later commit. Signed-off-by: Rouven Czerwinski <r.czerwinski@pengutronix.de>
* platform-v7a: barebox-am335x-mlo: add layer supportMichael Olbrich2018-10-261-1/+1
| | | | | | Remove all references to PTXDIST_PLATFORMCONFIGDIR to do this. Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
* platform-v7a: barebox-vexpress: add layer supportMichael Olbrich2018-10-261-1/+7
| | | | | | Remove all references to PTXDIST_PLATFORMCONFIGDIR to do this. Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
* platform-v7a: image-rpi2: add layer supportMichael Olbrich2018-10-261-6/+7
| | | | | | Remove all references to PTXDIST_PLATFORMCONFIGDIR to do this. Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
* platform-v7a: barebox-rpi2: add layer supportMichael Olbrich2018-10-261-1/+7
| | | | | | Remove all references to PTXDIST_PLATFORMCONFIGDIR to do this. Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
* platform-v7a: barebox-mx6: add layer supportMichael Olbrich2018-10-261-1/+7
| | | | | | Remove all references to PTXDIST_PLATFORMCONFIGDIR to do this. Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
* platform-v7a: barebox-am335x: add layer supportMichael Olbrich2018-10-261-1/+7
| | | | | | Remove all references to PTXDIST_PLATFORMCONFIGDIR to do this. Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
* platform: v7a: Remove no longer needed make ruleAlexander Dahl2018-10-231-49/+0
| | | | | | | | | That one was used before renaming the platform to v7a, and later reintroducing support for Raspberry Pi 2. The package is not activated anymore and so there's no need to overwrite the rule from ptxdist itself anymore. Signed-off-by: Alexander Dahl <ada@thorsis.com>
* platform-v7a: barebox: version bump 2018.03.0 -> 2018.05.0Roland Hieber2018-05-165-10/+10
| | | | | | | Bump all barebox variants, followed by oldconfig. Consistently enable CONSOLE_ALLOW_COLOR, otherwise use default values. Signed-off-by: Roland Hieber <r.hieber@pengutronix.de>
* barebox: version bump 2018.01.0 -> 2018.03.0Robert Schwebel2018-03-075-10/+10
| | | | | | Update the barebox version to the latest and greatest. Signed-off-by: Robert Schwebel <r.schwebel@pengutronix.de>
* barebox-vexpress: update to latest template changesMichael Olbrich2018-02-181-5/+11
| | | | | | This fixes 'ptxdist clean root' and the wrapper blacklist. Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
* barebox-rpi2: update to latest template changesMichael Olbrich2018-02-181-5/+11
| | | | | | This fixes 'ptxdist clean root' and the wrapper blacklist. Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
* barebox-mx6: update to latest template changesMichael Olbrich2018-02-181-5/+11
| | | | | | This fixes 'ptxdist clean root' and the wrapper blacklist. Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
* barebox-am335x: update to latest template changesMichael Olbrich2018-02-181-5/+11
| | | | | | This fixes 'ptxdist clean root' and the wrapper blacklist. Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
* barebox-am335x-mlo: update to latest template changesMichael Olbrich2018-02-181-8/+11
| | | | | | This fixes 'ptxdist clean root' and the wrapper blacklist. Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
* platform-v7a: barebox: version bump 2017.11.0 -> 2018.01.0Roland Hieber2018-01-295-10/+10
| | | | | | | | | | | Migrate the patches and make oldconfig without adding any new features. Note that barebox-rpi2 is still broken, but we'll bump it anyway for completeness. Tested-by: Robert Schwebel <r.schwebel@pengutronix.de> (for qemu-vexpress) Tested-by: Roland Hieber <r.hieber@pengutronix.de> (for qemu-vexpress) Signed-off-by: Roland Hieber <r.hieber@pengutronix.de>