[PATCH RFT v1 04/17] spl: fat: load kernel image before args in falcon

Tom Rini trini at konsulko.com
Thu Sep 11 19:23:39 CEST 2025


On Thu, Sep 11, 2025 at 06:44:00PM +0530, Anshul Dalal wrote:

> Currently in falcon mode, the FS and raw mmc boot loads the args file
> first followed by the kernel image whereas others load in the opposite
> order. This inconsistency means falcon boot doesn't behave the same
> across various boot media.
> 
> For example, in the case where the kernel file is a FIT with the kernel
> image present alongside the dtb and the args file is another DT, which
> DT should be picked? The one form the FIT or the one set by the args
> file? Currently this depends entirely on how the boot media handles
> falcon mode.
> 
> Therefore, this patch enforces the load order of the kernel image first
> followed by the args file in FAT FS boot. So in the above example, the
> args file would take precedence.
> 
> Signed-off-by: Anshul Dalal <anshuld at ti.com>

Reviewed-by: Tom Rini <trini at konsulko.com>

-- 
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 228 bytes
Desc: not available
URL: <https://lists.denx.de/pipermail/u-boot/attachments/20250911/85fd3317/attachment.sig>


More information about the U-Boot mailing list