From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ronny D Date: Thu, 23 Sep 2010 05:21:57 -0700 (PDT) Subject: [U-Boot] Ramdisk - allocation error In-Reply-To: <20100923094137.CEDF11536CB@gemini.denx.de> Message-ID: <742704.10197.qm@web46113.mail.sp1.yahoo.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de I am using u-boot 2009.08 version. ? Issue has been resolved. Problem: I am using Dma to initialize DDR and minidma required cache bit enable for DDR, because of cache enabled I was getting lmb->memory.region[i].size = 0 and end-up with an error "ramdisk - allocation error" Solution: I have disabled the DDR cache just after DDR initialization by DMA. ? --- On Thu, 23/9/10, Wolfgang Denk wrote: From: Wolfgang Denk Subject: Re: Ramdisk - allocation error To: "Ronny D" Cc: "Stefan Roese" , "U-boot" Date: Thursday, 23 September, 2010, 9:41 AM Dear Ronny D, In message <799862.6988.qm@web46115.mail.sp1.yahoo.com> you wrote: > > I am using ppc440 based customised board. Which exact version of U-Boot are you running?? And which board configuration is this?? Is this mainline code, or some out-of-tree port? > While running the u-boot linux kernel uncompressed successfully but ramdisk >? end-up with following error: > ERROR: Failed to allocate 0x800000 bytes below 0xffffffff. > ramdisk - allocation error Please provide the complete boot log with all commands you entered, full, information about Linux kernel and ramdisk image (Output of the respective "iminfo" commands), and all U-Boot messages. Best regards, Wolfgang Denk -- DENX Software Engineering GmbH,? ???MD: Wolfgang Denk & Detlev Zundel HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de Carelessly planned projects take three times longer to complete? than expected.? Carefully? planned? projects? take? four? times? longer to complete than expected, mostly? because? the? planners? expect? their planning to reduce the time it takes.