[U-Boot-Users] Re: FT u-boot shim - using ramdisk?
Kumar Gala
galak at kernel.crashing.org
Fri Apr 28 21:30:03 CEST 2006
[snip]
> Hmm... ramdisk_addr (initrd)
> Isn't the dts supposed to have some file structure?
>
> Suppose we do not have a ramdisk then we could create a ramdisk
> containing dts information.
>
> If we have a ramdisk couldn't it be patched to contain dts
> information?
>
> I know to little about this ramdisk will it be discarded to early?
> Does it have to contain something U-Boot can not provide if used?
This will not work. The "dts" has to get patched up before being
handed to the kernel. It contains information like memory size, boot
args, initrd locations (if you have a ramdisk), etc.
Building it into the kernel or a ramdisk doesn't work. The fix ups
need to occur before the kernel gets ahold of it. So you either do
it as a boot wrapper around the kernel which translates the bd_t, and
other args into the dts or u-boot does it as part of the bootm command.
- kumar
More information about the U-Boot
mailing list