I’ve just updated my kernel to 6.18.1 - and something odd is happening - the device tree overlay blobs no longer apply to the device tree that comes in the kernel.
I’ll dig into why this is happening, e.g. what has changed. I suspect its just a case of compiling the device tree blobs against the device tree in the kernel. Anyway just starting a thread here in case anyone else has come across this - and knows the solution, and a place to drop whatever solution I come to.
@RobertCNelson guess this may affect the device tree overlays source code?
Whereas the linux kernel - that isn’t in the dts, but I guess gets populated by uboot and others. Don’t thing this should stop the overlays being loaded - so its confusing right now …
So I guess only question is can those fixips be resolved against the parent device tree.
I’m merging in uboot, so I suspect its not to do with kernel, maybe the device trees (BBB &PB) that are made during kernel building. I’ll check there next …
Question where is that in the a) linux kernel makefile, b) in the kernel config file.
So at the moment dtb are created when I compile the kernel and they don’t have the symbols (so dtc wasn’t run with the -@ symbol), but how to cure that remains to be found.
Hmmm - wonder if the problem is the vanilla kernel doesn’t have overlays, so the linux kernel doesn’t know the dtb for boards needs to include symbols. My guess is that @RobertCNelson beagle device tree github needs to be merged with the kernel before it is built …
Just looking into cure the problem, the overlays are got from Overlays which is used in building the arch PKGBUILD. I notice these haven’t been updated in last 5 years, so would I be better using these Overlays. If I do this I could then copy the arm dts file which has symbols in them.
@RobertCNelson what are you thoughts on what would be best used for arch linux?
Since both the main Device-Tree and the Overlays are built with the same device-tree includes, they will have matching structures, so no random overlays not loading because something changed in the device-tree (that’s the main problem we ran into with bb.org-overlays repo)
So on Arch if your running, v6.Y.x, you should be able to run:
git clone -b v6.Y.x https://github.com/beagleboard/BeagleBoard-DeviceTrees.git
cd ./BeagleBoard-DeviceTrees/
make
sudo make install_arm
We might have to patch “install_arm”.. for Arch.. but then you get both the updated Device Tree and Overlays.. (not touching the kernel zImage or modules)..