[U-Boot] [PATCH v3 5/5] spl: fit: Add booting OS first
Simon Glass
sjg at chromium.org
Sat Aug 26 13:38:40 UTC 2017
On 15 August 2017 at 12:14, York Sun <york.sun at nxp.com> wrote:
> If CONFIG_SPL_OS_BOOT is enabled, boot OS if kernel image is found
> in FIT structure.
>
> Signed-off-by: York Sun <york.sun at nxp.com>
> Reviewed-by: Tom Rini <trini at konsulko.com>
>
> ---
> This presums the kernel image doesn't exist in a FIT image intended for
> U-Boot. If kernel image normally co-exists with U-Boot and other images
> and user intends to boot U-Boot, this patch needs to rewrite to favor
> "loadables" over either "firmware" or "kernel" so user can select which
> image to boot.
>
> Changes in v3:
> Update doc/uImage.FIT/multi_spl.its to explain the priority of booting image.
>
> Changes in v2:
> Split from previous patch, rebased on top of "SPL: FIT: allow loading
> multiple images" by Andre Przywara.
>
> common/spl/spl_fit.c | 60 ++++++++++++++++++++++++++++++--------------
> doc/uImage.FIT/multi_spl.its | 7 ++++++
> 2 files changed, 48 insertions(+), 19 deletions(-)
Reviewed-by: Simon Glass <sjg at chromium.org>
More information about the U-Boot
mailing list