Skip to content

No gpio devices with enable_uboot_cape_universal=1 #57

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
rekisum opened this issue May 8, 2018 · 0 comments
Open

No gpio devices with enable_uboot_cape_universal=1 #57

rekisum opened this issue May 8, 2018 · 0 comments

Comments

@rekisum
Copy link

rekisum commented May 8, 2018

Hi,
Im struggling with getting the pin devices on my BeagleBone Black Industrial.
In uEnv.txt I set enable_uboot_cape_universal=1 but only two devices show up.
I had to load cape-universal also with uboot_overlay_addr4=/lib/firmware/univ-bbb-xxx-00A0.dtbo.
No I get a lot of pins under /sys/devices/platform/ocp.
This seems not the right way to do it, but the only way I found that works.
My setup:

model:[TI_AM335x_BeagleBone_Black]
dogtag:[BeagleBoard.org Debian Image 2018-03-05]
bootloader:[eMMC-(default)]:[/dev/mmcblk1]:[U-Boot 2018.01-00002-ge9ff418fb8]:[location: dd MBR]
kernel:[4.9.82-ti-r102]
nodejs:[v6.13.0]
uboot_overlay_options:[enable_uboot_overlays=1]
uboot_overlay_options:[uboot_overlay_addr4=/lib/firmware/univ-bbb-xxx-00A0.dtbo]
uboot_overlay_options:[enable_uboot_cape_universal=1]
pkg:[bb-cape-overlays]:[4.4.20180305.0-0rcnee0~stretch+20180305]
pkg:[bb-wl18xx-firmware]:[1.20170829-0rcnee2~stretch+20180104]
pkg:[firmware-ti-connectivity]:[20170823-1rcnee0~stretch+20170830]
groups:[debian : debian adm kmem dialout cdrom floppy audio dip video plugdev users systemd-journal i2c bluetooth netdev cloud9ide gpio pwm eqep admin spi tisdk weston-launch xenomai]
cmdline:[console=ttyO0,115200n8 bone_capemgr.uboot_capemgr_enabled=1 root=/dev/mmcblk1p1 ro rootfstype=ext4 rootwait coherent_pool=1M net.ifnames=0 quiet]
dmesg | grep pinctrl-single
[    1.494309] pinctrl-single 44e10800.pinmux: 142 pins at pa f9e10800 size 568
dmesg | grep gpio-of-helper
[    1.506710] gpio-of-helper ocp:cape-universal: ready

I also tried kernel 4.14 but the behavior was the same.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant