summaryrefslogtreecommitdiffstats
path: root/Documentation/user
diff options
context:
space:
mode:
authorAndreas Schmidt <mail@schmidt-andreas.de>2018-05-02 15:23:56 +0200
committerSascha Hauer <s.hauer@pengutronix.de>2018-05-08 08:10:33 +0200
commit70013eb56ddaacb518aeb4d7d35f627c5387d557 (patch)
tree2830724aa546dcdb4b377ceb7adaad32d25a5988 /Documentation/user
parentd472b8670b4847875a6b5bcce1118b96cb725d7d (diff)
downloadbarebox-70013eb56ddaacb518aeb4d7d35f627c5387d557.tar.gz
barebox-70013eb56ddaacb518aeb4d7d35f627c5387d557.tar.xz
blspec: add checking of optional key machine-id
For filtering of Bootloader Spec entries, Bootloader Spec specify an optional key machine-id. By set the global.boot.machine-id variable the checking of machine-id key in Bootloader Spec entries will be activate. If the variable and key match, appropriate boot entry will be booting. If it not match boot entry will be ignore and barebox check the next boot entry. Signed-off-by: Andreas Schmidt <mail@schmidt-andreas.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'Documentation/user')
-rw-r--r--Documentation/user/booting-linux.rst6
1 files changed, 6 insertions, 0 deletions
diff --git a/Documentation/user/booting-linux.rst b/Documentation/user/booting-linux.rst
index b5e4320ef6..408f87d8e8 100644
--- a/Documentation/user/booting-linux.rst
+++ b/Documentation/user/booting-linux.rst
@@ -212,6 +212,12 @@ The entry can be listed with the -l option:
When on barebox the SD card shows up as ``mmc1`` then this entry can be booted with
``boot mmc1`` or with setting ``global.boot.default`` to ``mmc1``.
+``machine-id`` is an optional key. If ``global.boot.machine_id`` variable is set to
+non-empty value, then barebox accepts only Bootloader Spec entries with ``machine-id``
+key. In case if value of global variable and Bootloader Spec key match each other,
+barebox will choose the boot entry for booting. All other Bootloader Spec entries will
+be ignored.
+
A bootloader spec entry can also reside on an NFS server in which case a RFC2224
compatible NFS URI string must be passed to the boot command: