From: Wolfgang Denk Date: Fri, 10 Oct 2003 12:25:31 +0200 Subject: [U-Boot-Users] Ramdisk for MPC8xx In-Reply-To: Your message of "Thu, 09 Oct 2003 20:17:18 PDT." <20031010031718.18835.qmail@web40412.mail.yahoo.com> Message-ID: <20031010102536.72B27C59E4@atlas.denx.de> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Dear Raghu, in message <20031010031718.18835.qmail@web40412.mail.yahoo.com> you wrote: > > I am porting linux-2.4.22 to MPC852T based board. I > have an issue with the Ramdisk. I have a total of 64MB > SDRAM, and I am creating a ramdisk of 32MB. The > compressed Ramdisk file is of 3.4MB size. Look like > when I do the "bootm" command the Ramdisk is > corrupting some important u-boot data. I have the > console dump below. Check CFG_BOOTMAPSZ and the "initrd_high" environment variable. You may even try and use "initrd_high=0xFFFFFFFF". Note that this might require cooperation by the Linux kernel (for example so that it does not attempt to free pages which are in fact in flash memory). In our versions of the Linux kernel tree this should be working fine. See the README. > Is there a minimal Ramdisk that I can directly use ?? Sure. Our SELF based images can be found at ftp://ftp.denx.de/pub/LinuxPPC/usr/src/SELF/images/ Best regards, Wolfgang Denk -- Software Engineering: Embedded and Realtime Systems, Embedded Linux Phone: (+49)-8142-4596-87 Fax: (+49)-8142-4596-88 Email: wd at denx.de "There is nothing new under the sun, but there are lots of old things we don't know yet." - Ambrose Bierce