mail archive of the barebox mailing list
 help / color / mirror / Atom feed
From: Sascha Hauer <sha@pengutronix.de>
To: Ahmad Fatoum <a.fatoum@pengutronix.de>
Cc: barebox@lists.infradead.org,
	Christian Melki <christian.melki@t2data.com>
Subject: Re: [PATCH] Documentation: booting-linux: document booting specific FIT configuration
Date: Tue, 28 Mar 2023 09:46:39 +0200	[thread overview]
Message-ID: <20230328074639.GH19113@pengutronix.de> (raw)
In-Reply-To: <20230326112211.2900004-1-a.fatoum@pengutronix.de>

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 |



      reply	other threads:[~2023-03-28  7:47 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-03-26 11:22 Ahmad Fatoum
2023-03-28  7:46 ` Sascha Hauer [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20230328074639.GH19113@pengutronix.de \
    --to=sha@pengutronix.de \
    --cc=a.fatoum@pengutronix.de \
    --cc=barebox@lists.infradead.org \
    --cc=christian.melki@t2data.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox