58 lines
1.9 KiB
Markdown
58 lines
1.9 KiB
Markdown
# 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 `.dtso` source file into `src/arm/overlays/`
|
|
* Run `make -j4 all_arm`
|
|
|
|
## Installation
|
|
|
|
Steps:
|
|
* Grab the `.dtbo` file built earlier from `src/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.dtbo`
|
|
* `enable_uboot_overlays=1`
|
|
* `enable_uboot_cape_universal=0`
|
|
* `cmdline=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-version` to 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.
|
|
|
|
```text
|
|
#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
|