From mboxrd@z Thu Jan 1 00:00:00 1970 From: Tom Rini Date: Thu, 27 Feb 2014 09:30:28 -0500 Subject: [U-Boot] start address loading initrd in ram on arm In-Reply-To: References: Message-ID: <20140227143028.GK16805@bill-the-cat> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de 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: