**** BEGIN LOGGING AT Sat Dec 23 03:00:02 2017 Dec 23 13:57:04 Hi, I am trying to add a custom devicetree file to the raspberrypi3 build. I've added a bbappend file for linux-raspberrypi recipe which adds a custom.dts file to SRC_URI and says KERNEL_DEVICETREE_append = " custom.dtb". I can see the custom.dtb in the build folder. But custom.dtb wasn't coiped into /boot folder. The sdimage scripts walks through KERNEL_DEVICETREE variable. So, I typed "bitbake -e | grep KERNEL_DEVICETREE" Dec 23 13:57:08 d$ bitbake -e | grep KERNEL_DEVICETREE # $KERNEL_DEVICETREE KERNEL_DEVICETREE=" bcm2708-rpi-0-w.dtb bcm2708-rpi-b.dtb bcm2708-rpi-b-plus.dtb bcm2709-rpi-2-b.dtb bcm2710-rpi-3-b.dtb bcm2708-rpi-cm.dtb bcm2710-rpi-cm3.dtb overlays/hifiberry-amp.dtbo overlays/hifiberry-dac.dtbo overlays/hifiberry-dacplus.dtbo overlays/hifiberry-digi.dtbo overlays/i2c-rtc.dtbo overlays/iqaudio-dac.dt Dec 23 13:58:29 custom.dtb is not in the list! Can anyone tell me what I am missing here? Dec 23 14:50:52 mkilivan> KERNEL_DEVICETREE is a machine variable, you can't modify it in recipe Dec 23 14:51:38 mkilivan you have to create a custom machine or modify it in local.conf i think Dec 23 15:05:55 New news from stackoverflow: What is difference between .bb ( recipe ) and .bbclass ( class ) in yocto Dec 23 15:48:12 hnje: Thanks, that makes sense. Dec 23 16:54:44 nayfe I've added KERNEL_DEVICETREE_append = " custom.dtb" in local.conf and it worked. I would like to know which other variables are "machine" specific. Do you know which document or section is to look for? Dec 23 17:09:36 mkilivan: when a variable is used/defined in a .conf (distro/machine conf) it is probably not recipe overridable Dec 23 18:10:57 ~. Dec 23 18:11:00 ~. Dec 23 18:11:32 ~. Dec 23 18:11:46 * paulg curses **** ENDING LOGGING AT Sun Dec 24 03:00:06 2017