[U-Boot] start address loading initrd in ram on arm
Tom Rini
trini at ti.com
Thu Feb 27 15:30:28 CET 2014
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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20140227/e112860a/attachment.pgp>
More information about the U-Boot
mailing list