9
0
Fork 0
barebox/defaultenv-2/base
Jean-Christophe PLAGNIOL-VILLARD 8be08d9cf2 defaultenv-2: add boot sequence
This allows to boot a sequence of boot entries until one succeeds.

boot sources can be passed in $global.boot.default, which is now treated
as a list. Also a list of boot entries can be specified as arguments
to the boot script. The entries can be:

- a plain filename from /env/boot/
- a full path to an arbitrary file
- a directory containing boot entries

With this this command:

boot net nand-ubi /env/boot.d

would first use the /env/boot/net entry, if this fails the /env/boot/nand-ubi
entry and if this also fails the files from /env/boot.d/ (which could also
be links to boot scripts)

To make the above the default, global.boot.default would be specified as:

global.boot.default="net nand-ubi /env/boot.d"

Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2013-03-05 11:51:35 +01:00
..
bin defaultenv-2: add boot sequence 2013-03-05 11:51:35 +01:00
boot defenv-2: remove some helper scripts 2012-11-01 16:50:19 +01:00
data defenv-2: remove some helper scripts 2012-11-01 16:50:19 +01:00
init defaultenv-2: fix base/init/ps1: don't reload /env/config 2013-02-21 15:03:06 +01:00
network defaultenv-2: eth0 add default global.dhcp.vendor_id 2012-10-02 08:57:07 +02:00
config defaultenv-2: add boot sequence 2013-03-05 11:51:35 +01:00