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

Ravi Rao Ravi.Rao at us.fujitsu.com
Thu Dec 19 13:24:45 PST 2013


Hi Paul,
   Appreciate the feed back. My responses are in line below..


On 12/19/13 09:30, Paul Gortmaker wrote:
> 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.
*I am not using old device tree. I created one which is based on mpc834x_mds.dts in 3.4.36 kernel. Attaching it for your ref..*
When I use this newly created one with 2.6.32 kernel it works fine. Hence I mentioned I was using the same device tree for both kernels!!

> What is the u-boot version?
U-Boot 2009.08 (Nov 11 2013 - 12:37:05) MPC83XX
>
> How much difference in size is there between the two uImage?
-rw-rw-r--  1 platform33 platform33 4055829 Dec 19 14:21 uImage4hd12_3x
-rw-r--r-- 1 platform33 platform33  1653704 Dec 13 13:30 uImage4hd12_2x
Is it this size diff causing this issue ??
Any idea what may be the reason for increase in 2.5 MB ???
>
> 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)
I tried using a dts with just serial ports and that failed too!!
>
> 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...)
I tried enabling CONFIG_MPC834x_MDS=y in .config but I still have the 
same error
> 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
>>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.yoctoproject.org/pipermail/linux-yocto/attachments/20131219/324b6274/attachment.html>
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: hd12.dts
URL: <http://lists.yoctoproject.org/pipermail/linux-yocto/attachments/20131219/324b6274/attachment.ksh>
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: hd12_only_serial.dts
URL: <http://lists.yoctoproject.org/pipermail/linux-yocto/attachments/20131219/324b6274/attachment-0001.ksh>


More information about the linux-yocto mailing list