[PATCH] spl: add linux initrd ramdisk properties to dtb

Tom Rini trini at konsulko.com
Wed Jul 9 00:19:02 CEST 2025


On Wed, Jun 25, 2025 at 11:01:32PM +0200, Anatolij Gustschin wrote:

> Currently when SPL is booting FIT images with ramdisk
> the kernel fails to find the ramdisk and panics.
> 
> This is due to missing "linux,initrd-start/end"
> properties in the device tree. Add fixup to insert
> these properties if a ramdisk is detected in the
> FIT image.
> 
> Signed-off-by: Anatolij Gustschin <agust at denx.de>
> ---
>  common/spl/spl_fit.c | 23 +++++++++++++++++++++++
>  1 file changed, 23 insertions(+)

Since this doesn't test with SPL_OS_BOOT it leads to ~400 byte SPL
growth and failure to link due to excess site in a lot of platforms.
Please rework this and put it through CI, thanks.

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


More information about the U-Boot mailing list