$ uname -a
Linux arm 4.14.54-ti-r63 #1 SMP PREEMPT Thu Jul 12 21:26:13 UTC 2018 armv7l GNU/Linux
$ dmesg | grep univ
[ 1.124019] gpio-of-helper ocp:cape-universal: ready
# ls -l /sys/devices/platform/ocp/ocp:cape-*
insgesamt 0
lrwxrwxrwx 1 root root 0 Aug 11 08:26 driver -> ../../../../bus/platform/drivers/gpio-of-helper
-rw-r--r-- 1 root root 4096 Aug 11 08:26 driver_override
-r--r--r-- 1 root root 4096 Aug 11 08:26 modalias
lrwxrwxrwx 1 root root 0 Aug 11 08:26 of_node -> ../../../../firmware/devicetree/base/ocp/cape-universal
drwxr-xr-x 2 root root 0 Aug 11 08:26 power
-r--r--r-- 1 root root 4096 Aug 11 08:26 status
lrwxrwxrwx 1 root root 0 Aug 11 08:26 subsystem -> ../../../../bus/platform
-rw-r--r-- 1 root root 4096 Aug 11 08:26 uevent
On Sat, Aug 11, 2018 at 8:15 AM TJF <jeli.f...@gmail.com> wrote:
>
> Hi Robert!
>
> I need to load a custom cape.
Well here is the changes you need to do to your custom cape, to be
fully compatible with "ocp:cape-universal" today...
All the pin's you utilized must be "disabled" in the cape-universal node:
https://github.com/beagleboard/bb.org-overlays/commit/5741f63c1ee922333dca02d9763edae03d477c96
If you don't like that, you can also remove the trigger file:
sudo rm /boot/dtbs/`uname -r`/am335x-boneblack-uboot-univ.dtb
But you'll still have the "ocp:cape-universal" node, as P9_19/P9_20 is
exported by this (i2c by default, but you can enable can on them)
To remove that last one:
enable_uboot_overlays=1
->
#enable_uboot_overlays=1
Regards,
enable_uboot_cape_universal=1