[PATCH] Documentation: booting-linux: document booting specific FIT configuration

Ahmad Fatoum a.fatoum at pengutronix.de
Sun Mar 26 04:22:11 PDT 2023


Apparently, this was so far undocumented, but it's useful in some setups
where board type is detected dynamically. Document it.

Signed-off-by: Ahmad Fatoum <a.fatoum at pengutronix.de>
---
 Documentation/user/booting-linux.rst | 10 ++++++++++
 1 file changed, 10 insertions(+)

diff --git a/Documentation/user/booting-linux.rst b/Documentation/user/booting-linux.rst
index 60babb513cea..a9dd0d67d350 100644
--- a/Documentation/user/booting-linux.rst
+++ b/Documentation/user/booting-linux.rst
@@ -19,8 +19,10 @@ architecture the bootm command handles different image types. On ARM the
 following images are supported:
 
 * ARM Linux zImage
+* ARM64 Linux Image, plain or compressed
 * U-Boot uImage
 * barebox images
+* FIT images, containing a zImage or Image
 
 The images can either be passed directly to the bootm command as argument or
 in the ``global.bootm.image`` variable:
@@ -48,6 +50,14 @@ variable:
   global.bootm.image=/path/to/zImage
   bootm
 
+FIT image configurations will be matched by comparing the ``compatible`` property
+inside the configuration node with the barebox live tree's ``/compatible``.
+It's also possible to select a specific configuration explicitly:
+
+.. code-block:: sh
+
+  global.bootm.image=/dev/mmc0.fit at conf-imx8mm-evk.dtb
+
 **NOTE:** it may happen that barebox is probed from the devicetree, but you have
 want to start a Kernel without passing a devicetree. In this case set the
 ``global.bootm.boot_atag`` variable to ``true``.
-- 
2.30.2




More information about the barebox mailing list