[U-Boot-Users] armlinux.c patch for ramdisk

Kyle Harris kharris at nexus-tech.net
Wed Mar 19 00:17:17 CET 2003


On Tuesday 18 March 2003 05:26 pm, Wolfgang Denk wrote:

> In message <E18vMu3-0008Ff-00 at hall.mail.mindspring.net> you wrote:
> > Please find attached a patch for fixing the problem of mounting a
> > ramdisk. This version differs slightly from the PPC do_bootm_linux() as
> > it uses the load address from the image to relocate the ramdisk in
> > memory.
>
> Maybe I should be a bit more explicit.
>
> I feel it is unnecessary to copy the ramdisk image to RAM first;  the
> kernel  should  be  able  to pick it up directly from flash - this is
> what we do on the SMDK2400 and TRAB boards, and it  helps  to  reduce
> boot time, too.

OK. No problem. I'm not sure why the kernel can't handle an initrd_start that 
points to flash. I'll take another look at it.

Kyle.




More information about the U-Boot mailing list