Skip to contentSkip to conversation

Ramdisk - allocation error

U-Boot Ronny D 2 participants 3 messages Sep 23, 2010

lore
Share & tools
lore

Ronny D

author
#0 lore raw

Hi,
?
I am using ppc440 based customised board.
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
?
Regards,

Ronny D.?

#1 lore raw

Dear Ronny D,

Quoted 2 lines · In message <[email protected]> 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?

Quoted 4 lines

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

Signature · 7 lines
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.
author
#2 lore raw

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 <[email protected]> wrote:

From: Wolfgang Denk <[email protected]>
Subject: Re: Ramdisk - allocation error
To: "Ronny D" <[email protected]>
Cc: "Stefan Roese" <[email protected]>, "U-boot" <[email protected]>
Date: Thursday, 23 September, 2010, 9:41 AM

Dear Ronny D,

Quoted 2 lines · In message <[email protected]> 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?

Quoted 4 lines

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

Signature · 7 lines
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.