summaryrefslogtreecommitdiffstats
path: root/configs
Commit message (Collapse)AuthorAgeFilesLines
* platform-mipsel: add basic qemu malta supportOleksij Rempel2021-07-1625-0/+11558
| | | | | | | | Add MIPSEL (MIPS little-endian 32bit) platform. Signed-off-by: Oleksij Rempel <o.rempel@pengutronix.de> Link: https://lore.pengutronix.de/20210708041628.17608-1-o.rempel@pengutronix.de Signed-off-by: Robert Schwebel <r.schwebel@pengutronix.de>
* v7a: tf-a: update to v2.5 for LXA MC-1 supportAhmad Fatoum2021-07-064-496/+2
| | | | | | | | | | The v2.5 release of the ARM trusted firmware now contains support for the Linux Automation MC-1, allowing us to drop our board support patches. Use it. Signed-off-by: Ahmad Fatoum <a.fatoum@pengutronix.de> Link: https://lore.pengutronix.de/20210706045740.20866-1-a.fatoum@pengutronix.de Signed-off-by: Robert Schwebel <r.schwebel@pengutronix.de>
* ptxdist: migrate 2021.04.0 -> 2021.06.0Roland Hieber2021-06-206-12/+15
| | | | | | | | Migrate all platforms with default options. Signed-off-by: Roland Hieber <rhi@pengutronix.de> Link: https://lore.pengutronix.de/20210620180725.5193-1-rhi@pengutronix.de Signed-off-by: Robert Schwebel <r.schwebel@pengutronix.de>
* v7a: barebox: version bump v2021.04.0 → v2021.05.0Ahmad Fatoum2021-06-0217-84/+52
| | | | | | | | | | | | | | | | Updating to v2021.05.0 lets us drop the single patch we have, as it went upstream in revised form. Kconfig changes are those produced by oldconfig. One notable new option is CONFIG_DEFAULT_ENVIRONMENT_GENERIC_NEW_IKCONFIG, which allows barebox to embed its configuration as /env/data/config analogously to /proc/config.gz, which we already enable for Linux. This is not enabled here, but might be something we want to use eventually. Signed-off-by: Ahmad Fatoum <a.fatoum@pengutronix.de> Link: https://lore.pengutronix.de/20210602111803.15832-1-a.fatoum@pengutronix.de Signed-off-by: Robert Schwebel <r.schwebel@pengutronix.de>
* v7a: run: make the SSH forwarding port multiprocess-compatibleRoland Hieber2021-04-261-1/+2
| | | | | | | | | | | | | | | | | When multiple ./configs/platform-v7a/run scripts are run at the same time, the first qemu process will open port 4445, and following runs will fail. To prevent that, first look at the environment variable QEMU_SSH_PORT to determine the port to be used (so that users can set this in their shell to keep the port constant), or fall back to a port between 1025 and 65025 based on the shell's PID, which should have a good chance of choosing an unused, but stable port. Also print the port forwarding before starting qemu, so we don't have to bother about grepping the process list. Signed-off-by: Roland Hieber <rhi@pengutronix.de> Link: https://lore.pengutronix.de/20210426100714.10944-1-rhi@pengutronix.de Signed-off-by: Robert Schwebel <r.schwebel@pengutronix.de>
* v7a, mips: fix barebox-common oldconfig with inherited layersRoland Hieber2021-04-262-2/+2
| | | | | | | | | | | | | | | | | | When using layers that inherit DistroKit, doing a 'ptxdist oldconfig barebox-common' in the inherited layer can lead to strange errors about unmatched MD5 sums in the config diff. This happens because ptxd_make_world_kconfig_mode() in scripts/lib/ptxd_make_world_kconfig.sh only updates the config files when the stage name matches "*config". Rename the "barebox-common_oldconfig_" target to something that matches the regex. As a side note, we still need a separate oldconfig target for barebox-common here because it must run before all other barebox's oldconfig stages. Signed-off-by: Roland Hieber <rhi@pengutronix.de> Link: https://lore.pengutronix.de/20210426082840.5999-1-rhi@pengutronix.de Signed-off-by: Robert Schwebel <r.schwebel@pengutronix.de>
* v7a: run: remove telnet port forwardingRoland Hieber2021-04-261-7/+3
| | | | | | | | | Hopefully nobody uses telnet anymore these days. Our userland certainly doesn't. Remove the outdated qemu port forwarding. Signed-off-by: Roland Hieber <rhi@pengutronix.de> Link: https://lore.pengutronix.de/20210426060526.32029-4-rhi@pengutronix.de Signed-off-by: Robert Schwebel <r.schwebel@pengutronix.de>
* v7a: barebox: clean up defaultenvsRoland Hieber2021-04-265-32/+0
| | | | | | | | | | | | | | | * The 9p bootsource is only available for qemu-vexpress * The bootstate entries were never evaluated because the system0 and system1 partitions were never set up on any boards Remove all unneeded variables to keep the defaultenvs lean. Fixes: ef189b9c3e0c9e3fed89 (2017-07-03, "platform-v7a: rpi2: create own rpi2 barebox defaultenv") Fixes: 785275ccb99d60da8abb (2017-07-03, "platform-v72: mx6: create own mx6 barebox defaultenv") Fixes: 26f5cf36862014ee9975 (2017-07-03, "platform-v7a: am335x: create own barebox defaultenv") Signed-off-by: Roland Hieber <rhi@pengutronix.de> Link: https://lore.pengutronix.de/20210426060526.32029-3-rhi@pengutronix.de Signed-off-by: Robert Schwebel <r.schwebel@pengutronix.de>
* v7a: images: remove redundant size specificationsRoland Hieber2021-04-2610-16/+0
| | | | | | | | | | | | | | | | | For partitions that are filled by another image, it does not make sense to make partitions larger or smaller than their containing file system. In those cases, genimage can already determine the partition sizes from the referenced images, and calculates the partition offsets accordingly, so in most cases we don't have to keep track of the sizes at all. (A special case is vexpress.hdimg, which needs to have an empty block at the end as a workaround for qemu, in which case it is clearer to have all partition sizes and offsets explicitely in the config file. So don't touch vexpress.hdimg here.) Signed-off-by: Roland Hieber <rhi@pengutronix.de> Link: https://lore.pengutronix.de/20210426060526.32029-2-rhi@pengutronix.de Signed-off-by: Robert Schwebel <r.schwebel@pengutronix.de>
* v7a: image-vexpress: convert hex numbers to human-readable sizesRoland Hieber2021-04-261-3/+3
| | | | | | | | | genimage already supports human-readable syntax, which makes the config easier to understand. Signed-off-by: Roland Hieber <rhi@pengutronix.de> Link: https://lore.pengutronix.de/20210426060526.32029-1-rhi@pengutronix.de Signed-off-by: Robert Schwebel <r.schwebel@pengutronix.de>
* v7a: barebox: version bump v2021.02.0 → v2021.04.0Ahmad Fatoum2021-04-2321-143/+176
| | | | | | | | | | | | | | | | | | | | | Updating to v2021.04.0 lets us drop the patches we have, but unfortunately we need to import a new patch in return to fix a USB/Ethernet breakage on barebox-rpi2. Kconfig changes are those produced by oldconfig, except for the following: - BTHREAD: new feature that's not used by default, but could use some extra coverage. Enable it for all configuration, except for am335x-mlo, where we have a restrictive size limitation. - MACH_STM32MP15X_EV1: The EV1 is the full featured STM32MP1 evaluation kit. In preperation for supporting this, enable its newly added barebox support. Signed-off-by: Ahmad Fatoum <a.fatoum@pengutronix.de> Link: https://lore.pengutronix.de/20210421073820.1318-1-a.fatoum@pengutronix.de Signed-off-by: Robert Schwebel <r.schwebel@pengutronix.de>
* barebox: set barebox build sytem versionRoland Hieber2021-04-2313-3/+18
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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>
* mips: kernel: properly handle signed modulesRoland Hieber2021-04-232-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This ports the following commits from PTXdist 2021.04.0: | commit a22b449946eed634f42b06b0c385b29621c6d02e | Author: Michael Olbrich <m.olbrich@pengutronix.de> | Date: 2021-04-01 15:58:54 | | template: kernel: proper handle signed modules | | Same as 565aabf6f36d3ed31544d882394604c4a1b13597 but for the kernel | template instead of the kernel itself. | | Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de> | | commit 565aabf6f36d3ed31544d882394604c4a1b13597 | Author: Denis Osterland-Heim <denis.osterland@diehl.com> | Date: 2021-03-31 13:35:25 | | kernel: proper handle signed modules | | If CONFIG_MODULE_SIG_ALL is set in kernelconfig then modules will be | automatically signed during the modules_install phase of a kernel build. | | Signed modules are BRITTLE as the signature is outside of the defined ELF | container. Thus they MAY NOT be stripped once the signature is computed | and attached. Note the entire module is the signed payload, including any | and all debug information present at the time of signing. | | See: https://www.kernel.org/doc/html/latest/admin-guide/module-signing.html | Signed-off-by: Denis Osterland-Heim <denis.osterland@diehl.com> | Message-Id: <20210331113525.22330-1-denis.osterland@diehl.com> | Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de> We might not sign kernel modules at the time, but apply the principle of least surprise and port it now to be up to date with the upstream kernel rule template. Link: https://git.pengutronix.de/cgit/ptxdist/commit/?id=a22b449946eed634f42b Link: https://git.pengutronix.de/cgit/ptxdist/commit/?id=565aabf6f36d3ed31544 Signed-off-by: Roland Hieber <rhi@pengutronix.de> Signed-off-by: Robert Schwebel <r.schwebel@pengutronix.de>
* ptxdist: migrate 2021.03.0 -> 2021.04.0Roland Hieber2021-04-236-13/+19
| | | | | | | | Migrate with default settings to the new PTXdist version, which was released today. Signed-off-by: Roland Hieber <rhi@pengutronix.de> Signed-off-by: Robert Schwebel <r.schwebel@pengutronix.de>
* v8a/imx-atf: Fix URL for source archiveUwe Kleine-König2021-04-231-1/+1
| | | | | | | | | | The git repository has a branch called imx_5.4.24_2.1.0 and a tag called rel_imx_5.4.24_2.1.0. The branch currently contains a commit on top of the tag. Make sure to use the tag as the stable reference. Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de> Link: https://lore.pengutronix.de/20210317085705.29071-1-u.kleine-koenig@pengutronix.de Signed-off-by: Robert Schwebel <r.schwebel@pengutronix.de>
* v8a/firmware-imx: Ensure PKGDIR existsUwe Kleine-König2021-03-161-0/+1
| | | | | | | | | | | | | | | | | This fixes: tar: DistroKit/platform-v8a/packages: Cannot open: No such file or directory tar: Error is not recoverable: exiting now make: *** [DistroKit/configs/platform-v8a/rules/firmware-imx.make:36: DistroKit/platform-v8a/state/firmware-imx.extract] Error 2 e.g. when running ptxdist extract firmware-imx in an unbuilt tree. Fixes: 2e2c4377dc08 ("i.MX8M: add firmware-imx 8.8") Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
* v8a/imx8m: barebox: Version bump: 2020.08.1 -> 2021.02.0Uwe Kleine-König2021-03-168-377/+19
| | | | This gets rid of all patches, they are included in 2020.09.0.
* platform-mips: linux: version bump 5.8 -> 5.11Oleksij Rempel2021-03-156-272/+400
| | | | Signed-off-by: Oleksij Rempel <o.rempel@pengutronix.de>
* platform-mips: barebox: version bump 2020.01.0 -> 2021.02.0Oleksij Rempel2021-03-156-28/+70
| | | | Signed-off-by: Oleksij Rempel <o.rempel@pengutronix.de>
* platform-v7a: enable GCC_PLUGINSRobert Schwebel2021-03-152-1/+10
| | | | | | | | | PTXdist 2021.03.0 has a bug: without this, the v7a platform cannot be built. This basically reverts 510c23705bc999bda9d0b040418dfebe94fc9c68. Signed-off-by: Robert Schwebel <r.schwebel@pengutronix.de>
* v7a/barebox: Enable commands of_fixup_status and of_overlayUwe Kleine-König2021-03-1513-27/+34
| | | | Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
* v7a/kernel: Enable driver for usb ethernet dongles AX8817XUwe Kleine-König2021-03-151-2/+2
| | | | | | This is enabled in barebox and also in the kernel for rpi and v8a. Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
* v7a: Add support for Raspberry Pi CM3Uwe Kleine-König2021-03-1510-3/+141
| | | | 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-1521-78/+234
| | | | | | | | | | | | | | 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: barebox: am335x-mlo: use XZ compression to reduce sizeAhmad Fatoum2021-03-151-2/+2
| | | | | | | | | With the upcoming update, our current MLO config will exceed the maximum size allowed. Work around this by using XZ compression instead, which reduces size from 115K to 101K, which gives us a further 8K we can munch. Signed-off-by: Ahmad Fatoum <a.fatoum@pengutronix.de>
* v7a: barebox: verify MLO size at build timeAhmad Fatoum2021-03-151-1/+1
| | | | | | | SRAM0 on the AM335x is 109K in size. Specify this in the config, so we get a build error if our MLO exceeds this size. Signed-off-by: Ahmad Fatoum <a.fatoum@pengutronix.de>
* v7a: stm32mp: images: allow differing board names for FSBL and SSBLAhmad Fatoum2021-03-153-5/+7
| | | | | | | | | | | | | | 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>
* unfs3: Fix generation of export listUwe Kleine-König2021-03-151-1/+1
| | | | | | | | | | | | | | Before this change the content of the export list is by default: / (rw,no_root_squash),insecure which is wrong. The closing parenthesis must be after the insecure keyword. It seems I'm the first user of unfs3 in the v7a platform since 2016. Fixes: c17c88e05a88 ("platform: beaglebone: nfs: add insecure option") Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
* platforms: enable more toolchain hardening optionsRobert Schwebel2021-03-153-4/+4
| | | | | | It is recommended to enable these options. Signed-off-by: Robert Schwebel <r.schwebel@pengutronix.de>
* platform-v7a: oldconfig kernelRobert Schwebel2021-03-151-1/+0
| | | | | | The kernel config is currently not clean. Run ptxdist oldconfig kernel. Signed-off-by: Robert Schwebel <r.schwebel@pengutronix.de>
* ptxdist: migrate to 2021.03.0Roland Hieber2021-03-156-14/+16
| | | | | | New version came out today, but the diff is uneventful. Signed-off-by: Roland Hieber <rhi@pengutronix.de>
* v7a: tf-a: update to v2.4Ahmad Fatoum2021-03-155-88/+167
| | | | | | | | | | | | | | | | | Trusted Firmware-A v2.4 was released last month and adds amongst others, enhancements to make use of the trusted boot chain possible with upstream components. The patch stack has now been posted upstream in hope we can eventually drop it: https://review.trustedfirmware.org/c/TF-A/trusted-firmware-a/+/7339 https://review.trustedfirmware.org/c/TF-A/trusted-firmware-a/+/7340 For now, it was rebased with following modifications: - Sync with upstream device tree and new TF-A requirements - CLK_ETH_PLL4P is enabled for possible PTP use Signed-off-by: Ahmad Fatoum <a.fatoum@pengutronix.de>
* platform-v7a: linux: version bump 5.8 -> 5.11Robert Schwebel2021-02-235-157/+159
| | | | | | The patch for lxa-mc1 is mainline, remove it. Signed-off-by: Robert Schwebel <r.schwebel@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>
* ptxdist: version bump 2021.01.0 -> 2021.02.0Roland Hieber2021-02-096-13/+180
| | | | | | | A new PTXdist version was released last week, which also includes a kconfig update from v5.1 to v5.11-rc3. Signed-off-by: Roland Hieber <rhi@pengutronix.de>
* ptxdist: version bump 2020.09.0 -> 2021.01.0Robert Schwebel2021-02-026-48/+33
| | | | Signed-off-by: Robert Schwebel <r.schwebel@pengutronix.de>
* v7a: barebox: stm32mp: enable mmc_extcsd utilityAhmad Fatoum2021-02-012-1/+2
| | | | | | | | | The LXA MC-1 can boot from eMMC as well. The BootROM only supports booting with fast boot acknowledge though, which is a one time configuration. Include the mmc_extcsd tool needed to configure this: https://www.barebox.org/doc/latest/boards/stm32mp.html#flashing-barebox Signed-off-by: Ahmad Fatoum <a.fatoum@pengutronix.de>
* v7a: images: stm32mp: don't place backup GPT table into imageAhmad Fatoum2021-02-011-0/+1
| | | | | | | | | | | The images sizes don't correspond to a specific SD-Card or eMMC size, so software checking for the backup partition table at the end of the device won't find it. Dropping it will however reduce the STM32MP1 images size (618M -> 66M). Do so. Signed-off-by: Ahmad Fatoum <a.fatoum@pengutronix.de>
* v7a: images: stm32mp: don't quote boolean in genimageAhmad Fatoum2021-02-011-1/+1
| | | | | | | | Both forms are accepted, but it looks more natural to not quote non-string values. This is also what we do for the other genimage configs (e.g. bootable = true). Signed-off-by: Ahmad Fatoum <a.fatoum@pengutronix.de>
* rpi: image-boot-vfat: remove unused variablesRoland Hieber2021-02-011-3/+1
| | | | | | | | | | | | The variables HEADER and START were apparently meant to be used as replacements in configs/platform-rpi/config/images/boot-vfat.config, but they are not used nowhere Furthermore, HEADER referenced a non-existent file, START used the non-existing Kconfig symbol IMAGE_BOOT_VFAT_START, and was not layer-aware by using PTXDIST_PLATFORMCONFIGDIR, and start.elf is also already referenced in FILES. Reviewed-by: Michael Olbrich <m.olbrich@pengutronix.de> Signed-off-by: Roland Hieber <rhi@pengutronix.de>
* rpi: barebox: make BAREBOX_EXTRA_ENV_PATH layer-awareRoland Hieber2021-02-011-1/+1
| | | | | | | | | | Since PTXdist commit 41cb4d9f9287d85ae11b (2018-07-24, Michael Olbrich: "barebox: support layers with BAREBOX_EXTRA_ENV_PATH"), this path is layer-aware and resolved relative to the platformconfig directory. Reviewed-by: Michael Olbrich <m.olbrich@pengutronix.de> Link: https://git.pengutronix.de/cgit/ptxdist/commit/?id=41cb4d9f9287d85ae11b Signed-off-by: Roland Hieber <rhi@pengutronix.de>
* platforms: make DTC_OFTREE_DTS_PATH layer-awareRoland Hieber2021-02-013-3/+3
| | | | | | | | | | | | | | | | | | | | This ports PTXdist commit 4f058f4c37fa9fb1465a: | commit 4f058f4c37fa9fb1465a77757a35c48e5e4a9179 | Author: Michael Olbrich <m.olbrich@pengutronix.de> | Date: 2018-07-31 16:12:58 | | dtc: support layers in DTC_OFTREE_DTS_PATH by default | | PTXDIST_PLATFORMCONFIG_SUBDIR is a relative path and will be searched in | all layers. | | Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de> Reviewed-by: Alexander Dahl <ada@thorsis.com> Reviewed-by: Michael Olbrich <m.olbrich@pengutronix.de> Link: https://git.pengutronix.de/cgit/ptxdist/commit/?id=4f058f4c37fa9fb1465a Signed-off-by: Roland Hieber <rhi@pengutronix.de>
* image-stm32mp157c-dk2: fix image creation with new PTXdist versionMichael Olbrich2021-02-011-2/+2
| | | | | | | | | The names of the TF-A files changed with the new PTXdist version. This was necessary to support multiple platforms in one build: The platforms may create images with the same name. Without the aditional prefix, the names clash when copoed to images/. Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
* MIPS: malta: enable USB XHCI supportOleksij Rempel2020-11-233-2/+11
| | | | | | | Make malta kernel work with qemu-xhci controller. It was needed to reproduce endiannes bug with candleLight CAN adapter. Signed-off-by: Oleksij Rempel <o.rempel@pengutronix.de>
* platform-v7a: enable IMX6Q_CPUFREQRouven Czerwinski2020-11-011-1/+1
| | | | | | This is required for the i.MX6 platforms supported by platform-v7a. Signed-off-by: Rouven Czerwinski <r.czerwinski@pengutronix.de>
* v7a: sama5d2: generate image for Groboard Giantboard as wellAhmad Fatoum2020-11-016-0/+96
| | | | | | | 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: at91: add sama5d2-based giant board device treeAhmad Fatoum2020-11-012-1/+300
| | | | | | | | | | | The Groboards Giant Board is a ATSAMA5D27C-D1G SiP-based SBC. The board features a 500MHz ARM Cortex-A5 and 128MB DDR2 SDRAM in the SiP as well as a MicroSD slot on the PCB. The device tree is taken from the one in barebox itself based on the vendor's DTS available at https://github.com/Groboards/giantboard-tools Signed-off-by: Ahmad Fatoum <a.fatoum@pengutronix.de>
* v7a: generate image for sama5d27 SOM1 Evaluation KitAhmad Fatoum2020-11-017-1/+127
| | | | | | | | | | 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: kernel: extend for sama5d2 supportAhmad Fatoum2020-11-011-4/+65
| | | | | | | In preparation for generating images for the sama5d27, have our multiplatform kernel configuration target the sama5d2 as well. Signed-off-by: Ahmad Fatoum <a.fatoum@pengutronix.de>
* v7a: barebox: add new rule for sama5d2 supportAhmad Fatoum2020-11-016-0/+1102
| | | | | | | | | | | | | 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>