[meta-xilinx] linux-dtb.inc
Mike Looijmans
mike.looijmans at topic.nl
Wed Aug 21 22:36:00 PDT 2013
Hi,
My solution for this was to simply place "my" DTS into the kernel at the
location where the kernel stores them. So just a simple "cp" in
do_install_prepend to put it there was enough.
Actually, I've been using a DTS file that just lists the periferals that
I added and then just #includes the rest of the devicetree from the
kernel. It looks a lot more structured that listing it all again.
On 08/22/2013 07:13 AM, Sipke Vriend wrote:
> 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
>
>>
Met vriendelijke groet / kind regards,
Mike Looijmans
TOPIC Embedded Systems
Eindhovenseweg 32-C, NL-5683 KH Best
Postbus 440, NL-5680 AK Best
Telefoon: (+31) – (0)499 - 33.69.79
Telefax: (+31) - (0)499 - 33.69.70
E-mail: mike.looijmans at topic.nl
Website: www.topic.nl
Dit e-mail bericht en de eventueel daarbij behorende bijlagen zijn uitsluitend bestemd voor de geadresseerde, zoals die blijkt uit het e-mail bericht en/of de bijlagen. Er kunnen gegevens met betrekking tot een derde instaan. Indien u als niet-geadresseerde dit bericht en de bijlagen ontvangt, terwijl u niet bevoegd of gemachtigd bent om dit bericht namens de geadresseerde te ontvangen, wordt u verzocht de afzender hierover direct te informeren en het e-mail bericht met de bijlagen te vernietigen. Ieder gebruik van de inhoud van het e-mail bericht, waaronder de daarbij behorende bijlagen, door een ander dan de geadresseerde is onrechtmatig jegens ons dan wel de eventueel in het e-mail bericht of de bijlagen voorkomende andere personen. TOPIC Embedded Systems is niet aansprakelijk voor enigerlei schade voortvloeiend uit het gebruik en/of acceptatie van dit e-mail bericht of de daarbij behorende bijlagen.
The contents of this message, as well as any enclosures, are addressed personally to, and thus solely intended for the addressee. They may contain information regarding a third party. A recipient who is neither the addressee, nor empowered to receive this message on behalf of the addressee, is kindly requested to immediately inform the sender of receipt, and to destroy the message and the enclosures. Any use of the contents of this message and/or the enclosures by any other person than the addressee or person who is empowered to receive this message, is illegal towards the sender and/or the aforementioned third party. TOPIC Embedded Systems is not liable for any damage as a result of the use and/or acceptance of this message and as well as any enclosures.
-----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
>>
>>
>
>
> _______________________________________________
> meta-xilinx mailing list
> meta-xilinx at yoctoproject.org
> https://lists.yoctoproject.org/listinfo/meta-xilinx
>
More information about the meta-xilinx
mailing list