zaxter wrote:I would like to be able to modify my .dtb file on a running OpenWrt system.
In buildroot, I could access my .dtb file in /boot. So, I could replace it and reboot. There is no such directory in Openwrt.
Please read
Documentation/devicetree/overlay-notes.txt
zaxter wrote:Where does OpenWrt store the kernel image and device tree blob?
How can I modify it?
IIRC
it depends on ARCH
On ARM the dtb can be added (*) after bzImage which can also include initramfs. After this you can use mkimage can create an u-Image-
So the bzImage (with initramfs) on all subtargets are the same.
On MIPS there some some similar logic with a magic number, because the scheme as on ARM is not upstream (last time I read this code)
(*)
ARM_APPENDED_DTB
hmm for MIPS so there is append dtb ??
MIPS_NO_APPENDED_DTB