From mboxrd@z Thu Jan 1 00:00:00 1970 From: Detlev Zundel Date: Wed, 05 Mar 2008 09:30:17 +0100 Subject: [U-Boot-Users] Ramdisk larger than 8M causes problem In-Reply-To: <005801c87e65$bb562200$3400a8c0@xgw> (Robert's message of "Wed, 5 Mar 2008 10:07:54 +0800") References: <005801c87e65$bb562200$3400a8c0@xgw> Message-ID: List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Hi Robert, > I am facing a problem that ,I built a ramdisk(16M) larger than 8M, > the kernel couldn't start up correctly with this ramdisk , the filesystem > couln't be mounted and "kernel panic" happened. But if the ramdisk is > smaller > than or equal to 8M , it works fine. I tried the two method as what the > website > (http://www.denx.de/wiki/view/DULG/RamdiskGreaterThan4MBCausesProblems) > said. but it takes no effect. > Anybody gives me some hints? This is really offtopic on the U-Boot ML, but anyway... The 8MB are usually a compiled in limit for the size of ramdisks. You can either change CONFIG_BLK_DEV_RAM_SIZE at compile time or provide a command line parameter to the kernel, e.g. "ramdisk_size=8192k". Best wishes Detlev -- He who can properly define and divide is to be considered a god. -- Plato -- DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany Phone: (+49)-8142-66989-40 Fax: (+49)-8142-66989-80 Email: dzu at denx.de