diff options
author | Sascha Hauer <s.hauer@pengutronix.de> | 2015-06-17 13:00:36 +0200 |
---|---|---|
committer | Sascha Hauer <s.hauer@pengutronix.de> | 2015-06-18 09:01:01 +0200 |
commit | 716fdbf18ca12feb81e26df729a5b8969e394e96 (patch) | |
tree | 230b39cb7d35df1fcdbbc04d965cc5dbc6263d05 /Documentation/user | |
parent | 278d9b8ba6673e34b7ceb41212cf3e270a04d683 (diff) | |
download | barebox-716fdbf18ca12feb81e26df729a5b8969e394e96.tar.gz barebox-716fdbf18ca12feb81e26df729a5b8969e394e96.tar.xz |
blspec: Automatically append rootarg
This patch makes it possible to automatically add a suitable root= option
for booting Linux from the same filesystem on which the bootspec entry
has been found. This adds an additional 'linux-appendroot' option to
bootspec which if set to 'true' will cause barebox to automatically
add a root= option. This currently works for NFS, UBIFS and regular
block devices like ATA, SD/MMC using the root=PARTUUID= mechanism.
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'Documentation/user')
-rw-r--r-- | Documentation/user/booting-linux.rst | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/Documentation/user/booting-linux.rst b/Documentation/user/booting-linux.rst index 6e7d1550bf..39084e5afe 100644 --- a/Documentation/user/booting-linux.rst +++ b/Documentation/user/booting-linux.rst @@ -205,6 +205,13 @@ compatible NFS URI string must be passed to the boot command: boot nfs://nfshost//path/ +Additionally to the options defined in the original spec barebox understands the +``linux-appendroot`` option. This is a boolean value and if set to ``true`` barebox +will automatically append a ``root=`` string to the Linux commandline based on the +device where the entry is found on. This makes it possible to use the same rootfs +image on different devices without having to specify a different root= option each +time. + Network boot ------------ |