01c7d2f55fc2bf05aff95f921b5b57287235d465
IBB Home Automation Cape - Device Tree Overlay (Rewrite for newer Linux versions)
DISCLAIMER: This repository is provided "as-is" for reference and personal use.
Building
Steps:
- Clone this repository:
https://github.com/beagleboard/BeagleBoard-DeviceTrees - Copy the
.dtsosource file intosrc/arm/overlays/ - Run
make -j4 all_arm
Installation
Steps:
- Grab the
.dtbofile built earlier fromsrc/arm/overlays/ - Copy it to
/lib/firmware/
Required uEnv.txt Adjustments
To get the overlay to load correctly, the following options must be configured in your boot environment:
uboot_overlay_addr4=/lib/firmware/cape-bone-ibb-00A0.dtboenable_uboot_overlays=1enable_uboot_cape_universal=0cmdline=fsck.repair=yes earlycon coherent_pool=1M net.ifnames=0 lpj=1990656 rng_core.default_quality=100
Important: Disable and/or remove all options and cmdline entries referencing cape manager, universal capes, or other capes that are incompatible with this setup.
Verification
- Check if the cape overlay was applied successfully by looking in:
/proc/device-tree/chosen/overlays/ - Run
beagle-versionto inspect any pinmux issue logs.
Reference /boot/uEnv.txt
Below is a minimal working example for reference. DO NOT blindly copy and paste this entire block into your system; use it strictly to verify your own parameters.
#Docs: http://elinux.org/Beagleboard:U-boot_partitioning_layout_2.0
uname_r=6.18.8-bone18
###U-Boot Overlays###
###Master Enable
enable_uboot_overlays=1
###Additional custom capes
uboot_overlay_addr4=/lib/firmware/cape-bone-ibb-00A0.dtbo
###PRUSS OPTIONS
uboot_overlay_pru=AM335X-PRU-UIO-00A0.dtbo
###Cape Universal Enable
enable_uboot_cape_universal=0
###U-Boot Overlays###
console=ttyS0,115200n8
cmdline=fsck.repair=yes earlycon coherent_pool=1M net.ifnames=0 lpj=1990656 rng_core.default_quality=100