[RFC, PATCH] fdt: Make sure there is no stale initrd left

Tom Rini trini at konsulko.com
Sat Oct 18 00:08:16 CEST 2025


On Sat, Oct 04, 2025 at 10:05:43AM +0200, Richard Weinberger wrote:
> On Freitag, 3. Oktober 2025 23:01 Tom Rini wrote:
> > > My current way to work around the problem is having these commands in
> > > my U-Boot scripts:
> > > 
> > > fdt addr $fdt_addr
> > > fdt rm /chosen linux,initrd-start
> > > fdt rm /chosen linux,initrd-end
> > 
> > I do wonder if the best path forward is adding some opt-in CONFIG option
> > here?
> 
> Hm, yes. Maybe something like CONFIG_FDT_INITRD_EXPLIZIT which is enabled
> by default for the RPi target?

That's probably as good a name as any, yes.

-- 
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/20251017/7173634c/attachment.sig>


More information about the U-Boot mailing list