[U-Boot] Ramdisk - allocation error
Ronny D
ronny_d37 at yahoo.com
Thu Sep 23 14:21:57 CEST 2010
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 <wd at denx.de> wrote:
From: Wolfgang Denk <wd at denx.de>
Subject: Re: Ramdisk - allocation error
To: "Ronny D" <ronny_d37 at yahoo.com>
Cc: "Stefan Roese" <sr at denx.de>, "U-boot" <u-boot at lists.denx.de>
Date: Thursday, 23 September, 2010, 9:41 AM
Dear Ronny D,
In message <799862.6988.qm at 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.
More information about the U-Boot
mailing list