diff options
author | Juergen Borleis <jbe@pengutronix.de> | 2023-08-25 13:10:56 +0200 |
---|---|---|
committer | Robert Schwebel <r.schwebel@pengutronix.de> | 2023-09-15 15:57:52 +0200 |
commit | d8f5c6fb4b47993ae2d5dc1213140ec647284863 (patch) | |
tree | f22f8eaa0c11607418d139bbe2f8f7fb9f93065f /configs/bsp.ref | |
parent | 096e678150f662b8e68018da450179040e48f5e4 (diff) | |
download | DistroKit-d8f5c6fb4b47993ae2d5dc1213140ec647284863.tar.gz DistroKit-d8f5c6fb4b47993ae2d5dc1213140ec647284863.tar.xz |
v7a: barebox: enable loading kernel, dtb and initrd via fastboot
This change is similar to:
2732f93bcf4ee011cecca3518aec7e523c311d7a
"v8a: barebox: enable loading kernel, dtb and initrd via fastboot"
but for some of the v7a platforms. Due to the absence of a common environment
it only can be added for the i.MX6 based systems for now.
This change prepares all v7a platforms to load kernel, dtb and initrd as
sparse images to RAM-files for rapid development.
It exposes mmc{1,2,3} as 'fastboot' partitions and add init script to
force barebox to detect these devices and have them available for
'fastboot'.
It autostarts the USB gadget and network capability to use 'fastboot' out of
the box.
Signed-off-by: Juergen Borleis <jbe@pengutronix.de>
Link: https://lore.barebox.org/20230825111056.32801-1-jbe@pengutronix.de
Adapted bsp.ref for v7a, similar to v8a.
Inspired-by: Roland Hieber <rhi@pengutronix.de>
Signed-off-by: Robert Schwebel <r.schwebel@pengutronix.de>
Diffstat (limited to 'configs/bsp.ref')
-rw-r--r-- | configs/bsp.ref | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/configs/bsp.ref b/configs/bsp.ref index cb91c78..56e83b1 100644 --- a/configs/bsp.ref +++ b/configs/bsp.ref @@ -27,9 +27,9 @@ kernel_dtb_partitions: kernel_initrd: description: | Initrd support is not needed on most embedded systems. - For v8a, we use an initrd for the fastboot usecase. + For v7a and v8a, we use an initrd for the fastboot usecase. variants: - - condition: kconfig.PTXPlatformConfig()['ARCH_ARM64'] + - condition: kconfig.PTXPlatformConfig().options['PLATFORM'] in ('v8a', 'v7a') value: True - value: False |