Boot2Qt 6.7.0 for Beaglebone Black (meta-boot2qt-ti) does not build cape overlays
-
Trying to get boot2qt working on the BeagleBone Black with a touchscreen display. It builds and boots fine, but it does not seem to compile any cape overlays. I can see them downloaded into the work directory (for example "tmp/work-shared/beaglebone/kernel-source/arch/arm/boot/dts/overlays/BBORG_RELAY-00A2.dts"), but they do not get compiled (.dtbo) and included in the image.
I was able to compile a few of them manually, but I would prefer to have it done autmatically.
Does anyone know how I can enable this "feature"?
Thanks
-
@Marker said in [Boot2Qt 6.7.0 for Beaglebone Black (meta-boot2qt-ti) does not build cape overlays]myloweslife(/post/802586):
Trying to get boot2qt working on the BeagleBone Black with a touchscreen display. It builds and boots fine, but it does not seem to compile any cape overlays. I can see them downloaded into the work directory (for example "tmp/work-shared/beaglebone/kernel-source/arch/arm/boot/dts/overlays/BBORG_RELAY-00A2.dts"), but they do not get compiled (.dtbo) and included in the image.
I was able to compile a few of them manually, but I would prefer to have it done autmatically.
Does anyone know how I can enable this "feature"?
Thanks
Hello,
To enable automatic compilation of Device Tree Overlays (DTBOs) on the BeagleBone Black, follow these steps:
Device Tree Overlays (DTOs):
Device Tree Overlays allow you to customize the Device Tree of a given board, describing components added externally (such as capes or expansion boards) or tweaking pin multiplexing.
DTBOs are fragments used to modify the Device Tree at runtime without recompiling the entire kernel.
Compile DTBOs Automatically:
First, ensure you have the source code for your overlay (e.g., BBORG_RELAY-00A2.dts).
Use the Device Tree Compiler (DTC) to compile the overlay into a DTBO filedtc -O dtb -o BBORG_RELAY-00A2.dtbo BBORG_RELAY-00A2.dts
Copy the resulting .dtbo file to /lib/firmware.
Load DTBOs at Boot:
Modify the U-Boot options (usually in /```
boot/uEnv.txtcape_enable=capemgr.enable_partno=BBORG_RELAY-00A2.dtbo
Reboot: Reboot your BeagleBone Black, and the DTBO will be automatically loaded. Remember to adjust the filenames and paths according to your specific overlay. This approach allows you to customize the Device Tree without recompiling the entire kernel. Hope this will help you. Best regards, florence023