Hi all,

I am trying to use a BB-BONE-LCD5-01-00A1.dts to customise the kernel device 
tree.
Unfortunately, despite setting the overlay_files variable in uEnv.txt, the 
generated BB-BONE-LCD5-01-00A1.dtb on the boot folder of the MMC seems to have 
no effect.

I am using:

* meta-ti: branch zeus, commit 1dd4558 (with a fixed .wks see 
https://lists.yoctoproject. org/g/meta-ti/message/12916) ( 
https://lists.yoctoproject.org/g/meta-ti/message/12916) ). I will probably 
switch to tag ti2020.00 or previous if needed
* poky: branch zeus, commit ca9cc50
* meta-openembedded: branch zeus, commit 44e458f

Notes

* BB-BONE-LCD5-01-00A1.dtb has been generated by a linux-ti-%.bbappend

...
KERNEL_DEVICETREE_append = " BB-BONE-LCD5-01-00A1.dtb"
SRC_URI_append = " file://BB-BONE-LCD5-01-00A1.dts"
do_configure_prepend () {
cp ${WORKDIR}/*.dts ${WORKDIR}/git/arch/arm/boot/dts
}

* as far as I can understand the same file could have been generated using the 
devicetree.bbclass (See device-tree.bb ( 
https://github.com/nathanrossi/gps-clock-project/blob/wip-devicetree-classify/meta-gps-clock/recipes/device-tree/device-tree.bb
 ) and openembedded-core msg ( 
https://www.mail-archive.com/[email protected]/msg113152.html
 ) ). Unfortunately in this case the dtb is placed in boot/devicetree inside 
the generated image and I am not sure if this location is compatible with the 
u-boot version I am using

Doubts:
* taking a look to the u-boot tag ti2020.01.00 used by the meta-ti version I am 
using, I see that CONFIG_OF_LIBFDT_OVERLAY is not set for am335x. Therefore I 
suppose that the variable overlay_files set in uEnv.txt would have no effect 
for am335X SOC, is it correct?
* If the previous point is correct, which is the suggested approach to 
customise the device-tree with current u-boot?
Any suggestion would be much appreciated.

Regards
Luca
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.

View/Reply Online (#12927): 
https://lists.yoctoproject.org/g/meta-ti/message/12927
Mute This Topic: https://lists.yoctoproject.org/mt/74143545/21656
Group Owner: [email protected]
Unsubscribe: https://lists.yoctoproject.org/g/meta-ti/unsub  
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to