DTJF
1
I’m testing kernel
`
$ uname -a
Linux arm 4.14.54-ti-r63 #1 SMP PREEMPT Thu Jul 12 21:26:13 UTC 2018 armv7l GNU/Linux
`
and I want to disable the cape-universal stuff. Regardless what I configure in /boot/uEnv.txt, I always get a message in
`
$ dmesg | grep univ
[ 1.124019] gpio-of-helper ocp:cape-universal: ready
`
and the folder
`
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
`
is full of that cape-universal stuff.
How to get rid of that?
Note: I’m sure that I’m working on the right partition, since there is only one mounted.
Sure, open /boot/uEnv.txt and comment out:
enable_uboot_overlays=1
->
#enable_uboot_overlays=1
Regards,
DTJF
3
Hi Robert!
I need to load a custom cape.
Regards
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,
DTJF
5
Thanks, Robert!
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
No way!
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)
That worked! It saved about 5 seconds boot time and a lot an memory!
To remove that last one:
enable_uboot_overlays=1
→
#enable_uboot_overlays=1
Regards,
And what is that symbol for?
`
enable_uboot_cape_universal=1
`
Does it have any function “today …”? Why isn’t trigger file import controlled by this variable?
Regards