Skip to content
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

Loading Device Tree Overlay with U-boot #7

Open
pvshvp-oss opened this issue Dec 7, 2017 · 0 comments
Open

Loading Device Tree Overlay with U-boot #7

pvshvp-oss opened this issue Dec 7, 2017 · 0 comments

Comments

@pvshvp-oss
Copy link

pvshvp-oss commented Dec 7, 2017

I am trying to read my encoder (below) using my BBB
Encoder part #: (https://www.dfrobot.com/wiki/index.php/12V_DC_Motor_251rpm_w/Encoder_(SKU:_FIT0186))

Connections: Green to ground (P8.2), Blue to VDD5V (P9.5), Yellow to P8.12, and White to P8.11.
The diagram for these colors are at the above link

I have the dtbo files in the right location:

root@arm:/lib/firmware# ls -ltr bone*
-rw-r--r-- 1 root root 1082 Dec  7 01:09 bone_eqep0-00A0.dtbo
-rw-r--r-- 1 root root 1098 Dec  7 01:09 bone_eqep1-00A0.dtbo
-rw-r--r-- 1 root root 1098 Dec  7 01:09 bone_eqep2-00A0.dtbo
-rw-r--r-- 1 root root 1096 Dec  7 18:27 bone_eqep2b-00A0.dtbo

There is no 'slots' file as can be seen below

root@arm:/lib/firmware# uname -r
4.9.54-ti-r68
root@arm:/sys/devices/platform/bone_capemgr# ls -ltr
total 0
-rw-r--r-- 1 root root 4096 Dec  7 18:05 uevent
lrwxrwxrwx 1 root root    0 Dec  7 18:05 subsystem -> ../../../bus/platform
lrwxrwxrwx 1 root root    0 Dec  7 18:42 driver -> ../../../bus/platform/drivers/bone_capemgr
drwxr-xr-x 2 root root    0 Dec  7 18:42 power
lrwxrwxrwx 1 root root    0 Dec  7 18:42 of_node -> ../../../firmware/devicetree/base/bone_capemgr
-r--r--r-- 1 root root 4096 Dec  7 18:42 modalias
-rw-r--r-- 1 root root 4096 Dec  7 18:42 driver_override
root@arm:/sys/devices/platform/bone_capemgr# ls -ltr *slots*
ls: cannot access '*slots*': No such file or directory

How do I load the right overlays with Uboot enabled? (I need Uboot for running a motor through a cape) @pdp7 @teknoman117

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