[U-Boot] Loading Ramdisk at particular address

Prasanna Khanapur pskhanapur at googlemail.com
Tue Mar 29 13:14:28 CEST 2011


Hi,
I'm working on P2020 dual core bring up in AMP mode. Each core runs its own
linux OS.


Kernel image(gziped), ramdisk(gziped) and dtb are tftp-ed to below
addresses:

>tftp 0x0a000000 uImage.core1;
>tftp 0x0b000000 ramdisk.small;
>tftp 0x0e000000 p2020atv_camp_core1.dtb;


I then bootm on  loados,ramdisk and fdt. Later release the CPU 1, as shown
below:

>interrupts off;
>bootm start 0xa000000 0xb000000 0xe000000
>bootm loados;
>bootm ramdisk;
>bootm fdt;
>fdt boardsetup;
>fdt chosen $initrd_start $initrd_end;
>bootm prep;
>cpu 1 release $bootm_low - $fdtaddr -


When I  'bootm ramdisk' , UBOOT loads it at 0xdada000.
How can I force the UBOOT to load the ramdisk at particular address for
example to addres 0x04000000?
I tried setting initrd_start, rd_start. Found that initrd_start is actually
returned by the UBOOT and setting rd_start also does not work.
I'm new to board bring up activities. Is there any other variable that needs
to be set?

If there is any other mail chain which already talks about this, please
point me to that.

Thanks!

Best Regards
Prasanna Khanapur


More information about the U-Boot mailing list