Summary
I am currently compiling the Linux kernel (kernel, modules and DTB) with some custom drivers for a custom board. Occasionally I'll compile the kernel and realize that the compatibility string in the DTB file is not what the custom driver is looking for. Right now the only way i can remedy this is modify the DTS or kernel driver so the strings match and then recompile the kernel again. Is there are way I can just edit the DTB file to update the compatibility string?
Failed Attempts
I have been able to decompile the DTB file back to a DTS file using the command:
dtc -I dtb -o <filename>.dts -<filename>.dtb
However if I modify the DTS file and recompile using the command:
dtc -I dts -o <filename>.dtb -<filename>.dts
The kernel will not load the recompiled DTB file