[OE-core] [meta-xilinx] linux-dtb.inc

Sipke Vriend sipke.vriend at xilinx.com
Thu Aug 22 05:13:11 UTC 2013


Hi Philip,
+Cc openembedded-core.

I believe openembedded-core changed from using DTC directly,  
to using in kernel make to generate DTBs specified in 
KERNEL_DEVICETREE.
http://git.openembedded.org/openembedded-core/commit/?id=72980d5bb465f0640ed451d1ebb9c5d2a210ad0c

This regressed meta-xilinx and for now the fix you discuss corrects 
that, but you are correct in thinking that it may not be an ideal 
solution.
http://git.yoctoproject.org/cgit/cgit.cgi/meta-xilinx/commit/?id=ad5139ef91c7a1f4a32261238426f8661eb57871
This fix is providing the ability for the meta-xilinx user to build both 
in kernel tree DTS (as per the new oe-core way) and or the existing 
meta-xilinx recipe space DTSs.

I suspect most BSP providers can live with in kernel tree DTSs, but 
it is useful for meta-xilinx to have the ability to build recipe space 
DTSs as Xilinx architectures, due to their nature, are configurable 
(especially for kc705-trd-microblaze and any future microblaze 
machines added to meta-xilinx). 

As you correctly noted, the same include file name is used as this is 
effectively the previous dtb generation script from openembedded-core,
minus some duplication. It was intentional to keep the same file name 
so the 'connection' is seen.

Any alternate methods know for building in recipe space DTSs within 
openembedded-core will be much appreciated. 

Regards
Sipke

>-----Original Message-----
>On  Thursday, 22 August 2013 8:58 AM Behalf Of Philip Balister wrote:
>
>OE-core and meta-xilinx both have linux-dtb.inc files, but they are
>different.
>
>https://github.com/Xilinx/meta-xilinx/blob/master/recipes-kernel/linux/
>linux-dtb.inc
>
>and
>
>http://git.openembedded.org/openembedded-core/tree/meta/recipes-kernel/
>linux/linux-dtb.inc
>
>Understanding how these work is not something I am good at, but I am
>concerned when I see a BSP doing something similar but different to the
>core layers. What are the chances we can understand the differences and
>see about consolidating the differences in oe-core?
>
>Philip
>_______________________________________________
>meta-xilinx mailing list
>meta-xilinx at yoctoproject.org
>https://lists.yoctoproject.org/listinfo/meta-xilinx
>
>




More information about the Openembedded-core mailing list