summaryrefslogtreecommitdiffstats
path: root/configs/platform-v7a
Commit message (Collapse)AuthorAgeFilesLines
* ptxdist: version bump 2022.04.0 -> 2022.05.0HEADnextmasterRobert Schwebel2022-05-061-2/+2
| | | | | | A new ptxdist version is out, update. Signed-off-by: Robert Schwebel <r.schwebel@pengutronix.de>
* v7a: rpi: unify rpi{2, 3, cm3}.hdimg into common rpi.hdimgOleksij Rempel2022-04-2616-186/+100
| | | | | | | | | | | | | | barebox has had the ability to generate an extra image that's bootable like a kernel for a while now. With small adjustment, we can let the videocore use this image and pass it the appropriate device tree depending on the board used. Moving this decision into the VideoCore allows us to use the same image for both Raspberry Pi 2, Rasperry Pi 3 and Raspberry Pi CM3. Signed-off-by: Oleksij Rempel <o.rempel@pengutronix.de> Signed-off-by: Ahmad Fatoum <a.fatoum@pengutronix.de> Link: https://lore.pengutronix.de/20220426083821.1829442-3-a.fatoum@pengutronix.de Signed-off-by: Robert Schwebel <r.schwebel@pengutronix.de>
* v7a: barebox: update v2022.01.0 → v2022.04.0Ahmad Fatoum2022-04-2619-36/+842
| | | | | | | | | | | | | | Config changes are those of olddefconfig with the exception of CONFIG_FS_UBIFS_COMPRESSION_ZSTD for the i.MX6 barebox: We already have UBIFS support enabled, so it makes sense to allow mounting UBIFS with zstd as well. This update imports two barebox patches to address regressions due to recent Raspberry Pi upstream rework. Signed-off-by: Ahmad Fatoum <a.fatoum@pengutronix.de> Link: https://lore.pengutronix.de/20220426083821.1829442-2-a.fatoum@pengutronix.de Signed-off-by: Robert Schwebel <r.schwebel@pengutronix.de>
* ptxdist: version bump 2022.03.0 -> 2022.04.0Robert Schwebel2022-04-091-2/+2
| | | | | | A new ptxdist version is out, update. Signed-off-by: Robert Schwebel <r.schwebel@pengutronix.de>
* v7a: barebox-at91: build out of treeOleksij Rempel2022-04-081-20/+22
| | | | | | | | | Sync barebox-at91 make file with other make variants and enable build out of tree, to avoid build conflicts if local_src is used. Signed-off-by: Oleksij Rempel <o.rempel@pengutronix.de> Link: https://lore.pengutronix.de/20220407105352.1256734-3-o.rempel@pengutronix.de Signed-off-by: Robert Schwebel <r.schwebel@pengutronix.de>
* v7a: barebox-stm32mp: build out of treeOleksij Rempel2022-04-081-15/+15
| | | | | | | | | Sync barebox-stm32mp make file with other make variants and enable build out of tree, to avoid build conflicts if local_src is used. Signed-off-by: Oleksij Rempel <o.rempel@pengutronix.de> Link: https://lore.pengutronix.de/20220407105352.1256734-1-o.rempel@pengutronix.de Signed-off-by: Robert Schwebel <r.schwebel@pengutronix.de>
* platform-v7a: kernel: version bump 5.15 -> 5.17Robert Schwebel2022-03-232-45/+96
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Since 5.16, there is a bug that results in this backtrace: [    0.000000] L2C: platform modifies aux control register: 0x02020000 -> 0x02420000 [    0.000000] L2C: DT/platform modifies aux control register: 0x02020000 -> 0x02420000 [    0.009001] Failed to initialize '/bus@40000000/motherboard-bus@40000000/iofpga@7,00000000/timer@12000': -22 [    0.011756] smp_twd: clock not found -2 [    0.922280] irq: type mismatch, failed to map hwirq-75 for interrupt-controller@1e001000! [    1.493972] physmap-flash 48000000.psram: map_probe failed [    1.668170] Internal error: Oops - undefined instruction: 0 [#1] PREEMPT SMP ARM [    1.668867] Modules linked in: [    1.669245] CPU: 1 PID: 1 Comm: swapper/0 Not tainted 5.16.0 #1 [    1.669593] Hardware name: ARM-Versatile Express [    1.669953] PC is at crypto_unregister_alg+0xf8/0x100 [    1.670857] LR is at 0x0 [    1.671324] pc : [<c04bcc84>]    lr : [<00000000>]    psr: 20000013 [    1.671595] sp : c18c7ea0  ip : 00000000  fp : c0d7e100 [    1.671826] r10: c0e55858  r9 : c100c000  r8 : 00000000 [    1.672067] r7 : c100c41c  r6 : 00000001  r5 : c198ad00  r4 : c1c23080 [    1.672354] r3 : 00000002  r2 : ffffffff  r1 : 00000001  r0 : c0f9e0d0 [    1.672702] Flags: nzCv  IRQs on  FIQs on  Mode SVC_32  ISA ARM  Segment none [    1.673012] Control: 10c5387d  Table: 6000406a  DAC: 00000051 [    1.673309] Register r0 information: non-slab/vmalloc memory [    1.674112] Register r1 information: non-paged memory [    1.674405] Register r2 information: non-paged memory [    1.674629] Register r3 information: non-paged memory [    1.674853] Register r4 information: slab kmalloc-512 start c1c23000 pointer offset 128 size 512 [    1.675788] Register r5 information: slab task_struct start c198ad00 pointer offset 0 [    1.676170] Register r6 information: non-paged memory [    1.676474] Register r7 information: non-slab/vmalloc memory [    1.676727] Register r8 information: NULL pointer [    1.676938] Register r9 information: non-slab/vmalloc memory [    1.677182] Register r10 information: non-slab/vmalloc memory [    1.677429] Register r11 information: non-slab/vmalloc memory [    1.677686] Register r12 information: NULL pointer [    1.677923] Process swapper/0 (pid: 1, stack limit = 0x(ptrval)) We work around this by switching on CONFIG_CRYPTO_CBC=y. Signed-off-by: Robert Schwebel <r.schwebel@pengutronix.de>
* ptxdist: version bump 2022.02.0 -> 2022.0.0Robert Schwebel2022-03-221-3/+2
| | | | | | A new ptxdist version is out, update. Signed-off-by: Robert Schwebel <r.schwebel@pengutronix.de>
* ptxdist: version bump 2022.01.0 -> 2022.02.0Robert Schwebel2022-03-012-3/+7
| | | | | | A new ptxdist version is out, update. Signed-off-by: Robert Schwebel <r.schwebel@pengutronix.de>
* v7a: barebox: update v2021.11.0 → v2022.01.0Ahmad Fatoum2022-01-2218-281/+82
| | | | | | | | | | | | Freshest barebox release incorporates the OMAP patches we have in the BSP. Bump up the release and drop these two patches in return. The release also introduced CONFIG_STM32_BSEC_WRITE, which enables blowing e-fuses on STM32MP1 SoCs, e.g. to persist an Ethernet address. We support a couple of STM32MP1 boards, so it makes sense to enable this option. All other Kconfig changes are those of olddefconfig. Signed-off-by: Ahmad Fatoum <a.fatoum@pengutronix.de>
* ptxdist: version bump 2021.12.0 -> 2022.01.0Robert Schwebel2022-01-221-2/+4
| | | | | | Update to the latest ptxdist release. Signed-off-by: Robert Schwebel <r.schwebel@pengutronix.de>
* v7a: barebox: cherry-pick CPSW/Linux reboot fixes from masterAhmad Fatoum2022-01-083-0/+257
| | | | | | | | | | | | | | | | | | | | The upstream device tree change addressed by the previous commit also made it into barebox and broke Beaglebone networking there. This is fixed in master, so import the patch. It was also reported that bumping bumping up core clock frequency for faster boot times broke reboot from within Linux. This might be brown out resulting from Linux scaling down the voltage and Linux system reset not affecting the PMIC. Until that's resolved, barebox master reverts the overclocking, so import that patch as well. Both patches are scheduled to appear in v2022.01.0. Fixes: 949c5ef2 ("v7a: barebox: version bump v2021.08.0 → v2021.11.0") # CPSW Fixes: afdae878 ("v7a: barebox: version bump v2021.05.0 → v2021.07.0") # reset Signed-off-by: Ahmad Fatoum <a.fatoum@pengutronix.de> Link: https://lore.pengutronix.de/20220108075723.432333-3-a.fatoum@pengutronix.de Signed-off-by: Robert Schwebel <r.schwebel@pengutronix.de>
* v7a: kernel: enable new TI CPSW switchdev driverAhmad Fatoum2022-01-081-3/+6
| | | | | | | | | | | | | | | The kernel now has two CPSW drivers and the device tree has two device tree nodes, where one or the other may be enabled. The upstream device tree was switched to new switchdev-based CPSW in v5.15-rc1. Update our kernelconfig to enable the appropriate driver to get networking working again on the Beaglebone Black. Reported-by: Sohaib Mohamed <sohaib.amhmd@gmail.com> Fixes: 6ec9f5202c28 ("platform-v7a: kernel: version bump v5.14 -> v5.15") Signed-off-by: Ahmad Fatoum <a.fatoum@pengutronix.de> Link: https://lore.pengutronix.de/20220108075723.432333-2-a.fatoum@pengutronix.de Signed-off-by: Robert Schwebel <r.schwebel@pengutronix.de>
* ptxdist: version bump 2021.11.0 -> 2021.12.0Robert Schwebel2021-12-094-2/+6
| | | | | | | | | | A new ptxdist version has been released, update. ptxdist-2021.12.0 has genimage-15 which has a strikter check for partitions that overlay: specify holes in the barebox partition that allow to overlap with MBR. Signed-off-by: Robert Schwebel <r.schwebel@pengutronix.de>
* platform-v7a: kernel: version bump v5.14 -> v5.15Robert Schwebel2021-12-072-38/+71
| | | | | | We have a new kernel, update. Signed-off-by: Robert Schwebel <r.schwebel@pengutronix.de>
* v7a: barebox: version bump v2021.08.0 → v2021.11.0Ahmad Fatoum2021-11-2615-61/+138
| | | | | | | | Update to latest barebox release. Config changes are the default. Signed-off-by: Ahmad Fatoum <a.fatoum@pengutronix.de> Link: https://lore.pengutronix.de/20211126064836.1306873-2-a.fatoum@pengutronix.de Signed-off-by: Robert Schwebel <r.schwebel@pengutronix.de>
* v7a: run: really constrain the forwarded SSH port to <= 64000Roland Hieber2021-11-261-1/+1
| | | | | | | | | | The variable expansion braces should have been arithmetic evaluation parentheses, which had the effect that the PPID was always used as a port number (which incidentally works fine for PPIDs < 65535). Fixes: d975eb8b04087f8606d8 (2021-04-26, "v7a: run: make the SSH forwarding port multiprocess-compatible") Reported-by: Jürgen Borleis <jbe@pengutronix.de> Signed-off-by: Roland Hieber <rhi@pengutronix.de>
* ptxdist: version bump 2021.06.0 -> 2021.11.0Robert Schwebel2021-11-241-7/+7
| | | | | | | We missed some ptxdist updates, so it might be a good time to catch up now. Signed-off-by: Robert Schwebel <r.schwebel@pengutronix.de>
* platform-v7a: run: fix typoRobert Schwebel2021-09-171-1/+1
| | | | Signed-off-by: Robert Schwebel <r.schwebel@pengutronix.de>
* platform: v7a: kernel: Enable RTC for SAMA5D2 based boardsAlexander Dahl2021-09-161-1/+1
| | | | | | | | | | | | | This way boards can keep time over reboots: [ 2.661867] at91_rtc f80480b0.rtc: registered as rtc0 [ 2.666917] at91_rtc f80480b0.rtc: setting system clock to 2021-09-16T08:37:00 UTC (1631781420) [ 2.675817] at91_rtc f80480b0.rtc: AT91 Real Time Clock driver. Signed-off-by: Alexander Dahl <ada@thorsis.com> Reviewed-by: Ahmad Fatoum <a.fatoum@pengutronix.de> Link: https://lore.pengutronix.de/20210916084101.26647-1-ada@thorsis.com Signed-off-by: Robert Schwebel <r.schwebel@pengutronix.de>
* platform-{rpi,v7a,v8a,x86_64}: kernel: version bump 5.13.4 -> 5.14Robert Schwebel2021-08-302-15/+34
| | | | | | Linus released a new kernel, so we update. Signed-off-by: Robert Schwebel <r.schwebel@pengutronix.de>
* v7a: barebox: version bump v2021.07.0 → v2021.08.0Ahmad Fatoum2021-08-2417-52/+124
| | | | | | | | | Update to latest barebox release. Config changes are the default. In return we can drop the one patch that went upstream in the mean time. Signed-off-by: Ahmad Fatoum <a.fatoum@pengutronix.de> Link: https://lore.pengutronix.de/20210824125248.22580-1-a.fatoum@pengutronix.de Signed-off-by: Robert Schwebel <r.schwebel@pengutronix.de>
* v7a: vexpress: increase root partition sizeRoland Hieber2021-08-191-2/+2
| | | | | | | | | | | The current rootfs has a size of about 55 MiB, which does not leave much space until 64 MiB if additional kernel features or userspace packages are enabled. Increase the partition size so that vexpress.hdimg fills the next larger power of two, which qemu is very picky about. Signed-off-by: Roland Hieber <rhi@pengutronix.de> Link: https://lore.pengutronix.de/20210818205819.26285-1-rhi@pengutronix.de Signed-off-by: Robert Schwebel <r.schwebel@pengutronix.de>
* v7a: generate image for STM32MP7C-EV1Ahmad Fatoum2021-07-227-2/+99
| | | | | | | | | | | | | | The STM32MP157C-EV1 Evaluation board is the full-feature demonstration and development platform for STMicroelectronics Arm®-based dual Cortex®-A7 32 bits and Cortex®-M4 32 bits MPUs in the STM32MP1 Series. The small siblings DK1 and DK2 are already supported. Add now support for the EV1 as well, so DistroKit can be used out-of-the-box with all the official STM32MP1 development kits. Signed-off-by: Ahmad Fatoum <a.fatoum@pengutronix.de> Link: https://lore.pengutronix.de/20210722133520.17946-4-a.fatoum@pengutronix.de Signed-off-by: Robert Schwebel <r.schwebel@pengutronix.de>
* v7a: kernel: enable REGULATOR_GPIOAhmad Fatoum2021-07-221-1/+1
| | | | | | | | | The EV1 device tree describes a GPIO regulator controlling the I/O voltage for the SD-Card. Enable the respective Linux driver. Signed-off-by: Ahmad Fatoum <a.fatoum@pengutronix.de> Link: https://lore.pengutronix.de/20210722133520.17946-3-a.fatoum@pengutronix.de Signed-off-by: Robert Schwebel <r.schwebel@pengutronix.de>
* v7a: kernel: version bump v5.11 → v5.13.4Ahmad Fatoum2021-07-222-46/+87
| | | | | | | | | | | There's been two Linux releases since the last bump, so it's about time we update. The config changes by olddefconfig look normal, so they are taken as is. Only thing standing out is the removal of /dev/kmem. It will likely not be missed. Signed-off-by: Ahmad Fatoum <a.fatoum@pengutronix.de> Link: https://lore.pengutronix.de/20210722133520.17946-2-a.fatoum@pengutronix.de Signed-off-by: Robert Schwebel <r.schwebel@pengutronix.de>
* v7a: barebox: version bump v2021.05.0 → v2021.07.0Ahmad Fatoum2021-07-2217-23/+109
| | | | | | | | | | | | | | | barebox v2021.07.0 now comes with support for first stage boot on the SAMA5D3. The SAMA5D3 has a v7a CPU but lacks NEON, so it doesn't make sense to enable for the v7a platform. Unfortunately, barebox master is upset if you don't build both sama5d2 and sama5d3 at the same time. Instead of working around this in the defconfig and enabling a board we don't need and may forget to disable, import a small patch. We should be able to drop this with v2021.08.0. Signed-off-by: Ahmad Fatoum <a.fatoum@pengutronix.de> Link: https://lore.pengutronix.de/20210722133520.17946-1-a.fatoum@pengutronix.de Signed-off-by: Robert Schwebel <r.schwebel@pengutronix.de>
* barebox: Use ptx/config-version and ptx/config-md5Alexander Dahl2021-07-168-16/+16
| | | | | | | | | | This is possible since ptxdist-2021.03.0 introduced in DistroKit with ee0945e61587 ("ptxdist: migrate to 2021.03.0"). Signed-off-by: Alexander Dahl <ada@thorsis.com> Reviewed-by: Roland Hieber <rhi@pengutronix.de> Link: https://lore.pengutronix.de/20210713115218.16671-1-ada@thorsis.com 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-201-2/+2
| | | | | | | | 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-261-1/+1
| | | | | | | | | | | | | | | | | | 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-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>
* ptxdist: migrate 2021.03.0 -> 2021.04.0Roland Hieber2021-04-231-2/+2
| | | | | | | | 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>
* 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>
* 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>