[yocto] linux-xilinx: uImage.dtb files not being generated anymore
Elvis Dowson
elvis.dowson at gmail.com
Sun Jul 15 10:23:15 PDT 2012
Hi Khem,
On Jun 30, 2012, at 7:41 PM, Khem Raj wrote:
> On Sat, Jun 30, 2012 at 4:07 AM, Elvis Dowson <elvis.dowson at gmail.com> wrote:
>> Hi,
>>
>> On Jun 30, 2012, at 10:17 AM, Elvis Dowson wrote:
>>
>>> About a week ago, my linux-xilinx builds used to correctly generate the *.dtb files, required for the PowerPC440 processor on my Xilinx ML-507 development board. After having recently updated poky, I find that the required *.dtb files are not generated anymore.
>>>
>>> Would someone be able to tell me which file I should take a look at to restore this functionality?
>>>
>>> My build configuration is as follows:
>>>
>>> Build Configuration:
>>> BB_VERSION = "1.15.2"
>>> TARGET_ARCH = "powerpc"
>>> TARGET_OS = "linux"
>>> MACHINE = "virtex5"
>>> DISTRO = "poky"
>>> DISTRO_VERSION = "1.2+snapshot-20120630"
>>> TUNE_FEATURES = "m32 fpu-soft ppc440"
>>> TARGET_FPU = "soft"
>>> meta
>>> meta-yocto = "master:4d48398798c898c5db08294ba64d9bfc7daca19c"
>>> meta-oe = "master:3eb5f6eecf6faf7b2701f94b12cf779350d31acc"
>>> meta-xilinx = "master:c977270d6f0608cc5fa83f57254202713af37be0"
>>
>> I traced the reason for the dtb file not build due to the following commit:
>>
>> http://git.yoctoproject.org/cgit/cgit.cgi/poky/commit/?id=8c904eb643ad8ca1bc29cb2d870a80b355dcb341
>>
>> Should I specify DTS_FILE in order to get my recipe to build the *.dtb?
>>
>
> you need to define KERNEL_DEVICETREE = "<yourdtbfile>
I tried various combinations, but all of them did not yield a dtb file.
KERNEL_DEVICETREE = "virtex440-ml507.dtb" (as you suggested in your original email, but I guess it might have been a typo? should be .dts?)
KERNEL_DEVICETREE = "virtex440-ml507.dts"
KERNEL_DEVICETREE = "arch/powerpc/boot/dts/virtex440-ml507.dts"
How exactly should I specify the .dts to get yocto to generate the .dtb file?
Best regards,
Elvis Dowson
More information about the yocto
mailing list