On Thu, Feb 27, 2014 at 11:50:33AM +0100, Joren Bultheel wrote:

> Which address should I give when loading an initrd into ram using U-boot on
> an arm-based architecture?
> How can I find out?
> 
> I have found many google hits where people are loading initrd files in ram
> but they use always another target ram address.
> It is never explained why they use 0x70000000 or 0x01200000 or ...
> 
> In my case 0x70000000 does work finally, but I can not figure out why
> 0x40000000 did not.

Well, it depends on your platform as system ram starts in different
locations on different platforms.  For example:
U-Boot# bdi
arch_number = 0x00000E05
boot_params = 0x80000100
DRAM bank   = 0x00000000
-> start    = 0x80000000
-> size     = 0x40000000
...

And you also need to keep in mind where you load your kernel into memory
and how big it is.

-- 
Tom

Attachment: signature.asc
Description: Digital signature

_______________________________________________
U-Boot mailing list
U-Boot@lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot

Reply via email to