[linux-yocto] ERROR: Failed to allocate 0x3dbd bytes below 0x800000.

Paul Gortmaker paul.gortmaker at windriver.com
Thu Dec 19 07:30:49 PST 2013


On 13-12-18 11:50 PM, Ravi Rao wrote:
> Hi All,
> We have a custom Board which is based on mpc8349EMDS which is based on e300.
> I got the Toolchain downloaded using poky-dora-10.0.0 project which 
> supports e300 core
> Now when I cross compile Linux kernel ver 2.6.32 the system boots up and 
> works fine.
> But when I cross compile Linux kernel ver 3.X the target reboots just 
> after uncompressing the kernel with the error
> ERROR: Failed to allocate 0x3dbd bytes below 0x800000.
> device tree - allocation error
> I am using the same device tree for both kernel versions !!!

Why would you use the old device tree on the new kernel?  The
8349EMDS is in mainline IIRC, and hence you aren't tied to the
old dts file.

What is the u-boot version?

How much difference in size is there between the two uImage?

Does the 3.x image work if you turn off some stuff to reduce
the size?  (you can turn off essentially all device drivers
other than serial for this test)

What happens if you take a default yocto mpc8315 BSP, and enable
the mpc8349EMDS in that kernel config (one kernel can support
multiple mpc83xx boards, IIRC -- haven't booted one for a while...)

Paul.
--

> Any Idea what may be causing this ??
> Regards,
> Ravi..
> 
> ********** Console Dump ************
> => run nfsboot
> Speed: 100, full duplex
> Using TSEC1 device
> TFTP from server 167.254.232.11; our IP address is 167.254.213.35; 
> sending through gateway 167.254.213.254
> Filename 'hd12_images/uImage4hd12'.
> Load address: 0x1000000
> Loading: #################################################################
>           #################################################################
>           #################################################################
>           #################################################################
>           #################
> done
> Bytes transferred = 4054972 (3ddfbc hex)
> Speed: 100, full duplex
> Using TSEC1 device
> TFTP from server 167.254.232.11; our IP address is 167.254.213.35; 
> sending through gateway 167.254.213.254
> Filename 'hd12_images/dtb4hd12.dtb'.
> Load address: 0xc00000
> Loading: #
> done
> Bytes transferred = 3517 (dbd hex)
> WARNING: adjusting available memory to 30000000
> ## Booting kernel from Legacy Image at 01000000 ...
>     Image Name:   Linux-3.4.36-yocto-standard
>     Created:      2013-12-18  19:26:38 UTC
>     Image Type:   PowerPC Linux Kernel Image (gzip compressed)
>     Data Size:    4054908 Bytes =  3.9 MB
>     Load Address: 00000000
>     Entry Point:  00000000
>     Verifying Checksum ... OK
> ## Flattened Device Tree blob at 00c00000
>     Booting using the fdt blob at 0xc00000
>     Uncompressing Kernel Image ... OK
> ERROR: Failed to allocate 0x3dbd bytes below 0x800000.
> device tree - allocation error
> Resetting the board?
> 
> 
> 
> _______________________________________________
> linux-yocto mailing list
> linux-yocto at yoctoproject.org
> https://lists.yoctoproject.org/listinfo/linux-yocto
> 


More information about the linux-yocto mailing list