* [PATCH] Documentation: booting-linux: document booting specific FIT configuration
@ 2023-03-26 11:22 Ahmad Fatoum
2023-03-28 7:46 ` Sascha Hauer
0 siblings, 1 reply; 2+ messages in thread
From: Ahmad Fatoum @ 2023-03-26 11:22 UTC (permalink / raw)
To: barebox; +Cc: Christian Melki, Ahmad Fatoum
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@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@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
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [PATCH] Documentation: booting-linux: document booting specific FIT configuration
2023-03-26 11:22 [PATCH] Documentation: booting-linux: document booting specific FIT configuration Ahmad Fatoum
@ 2023-03-28 7:46 ` Sascha Hauer
0 siblings, 0 replies; 2+ messages in thread
From: Sascha Hauer @ 2023-03-28 7:46 UTC (permalink / raw)
To: Ahmad Fatoum; +Cc: barebox, Christian Melki
On Sun, Mar 26, 2023 at 01:22:11PM +0200, Ahmad Fatoum wrote:
> 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@pengutronix.de>
> ---
> Documentation/user/booting-linux.rst | 10 ++++++++++
> 1 file changed, 10 insertions(+)
Applied, thanks
Sascha
>
> 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@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
>
>
>
--
Pengutronix e.K. | |
Steuerwalder Str. 21 | http://www.pengutronix.de/ |
31137 Hildesheim, Germany | Phone: +49-5121-206917-0 |
Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-5555 |
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2023-03-28 7:47 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-03-26 11:22 [PATCH] Documentation: booting-linux: document booting specific FIT configuration Ahmad Fatoum
2023-03-28 7:46 ` Sascha Hauer
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox