diff options
author | Ahmad Fatoum <a.fatoum@pengutronix.de> | 2019-04-15 09:55:27 +0200 |
---|---|---|
committer | Michael Olbrich <m.olbrich@pengutronix.de> | 2019-04-18 15:51:51 +0200 |
commit | aa679c5c3086c4435d2cb13d844e061c609c25d0 (patch) | |
tree | 950786125eb854db340534a76d5db9514a04f663 /platforms | |
parent | 68213bb07d96867e6734a16ccc63f4723c2167c6 (diff) | |
download | ptxdist-aa679c5c3086c4435d2cb13d844e061c609c25d0.tar.gz ptxdist-aa679c5c3086c4435d2cb13d844e061c609c25d0.tar.xz |
u-boot: Allow generation of boot script
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>
Diffstat (limited to 'platforms')
-rw-r--r-- | platforms/u-boot.in | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/platforms/u-boot.in b/platforms/u-boot.in index 5d04a3cbd..8af0c8271 100644 --- a/platforms/u-boot.in +++ b/platforms/u-boot.in @@ -71,6 +71,24 @@ config U_BOOT_CONFIG endif +config U_BOOT_BOOT_SCRIPT + prompt "Compile U-Boot boot script" + bool + help + Use U-Boot's mkimage to compile a U-Boot boot script and install it + into the rootfs + +if U_BOOT_BOOT_SCRIPT + +config U_BOOT_BOOT_SCRIPT_ROOTFS_PATH + string + default "/boot/boot.scr.uimg" + prompt "Installation path" + help + Target rootfs path where the U-Boot script should be located + +endif + comment "target install" config U_BOOT_INSTALL_SREC |