Hello, I am using the newest Debian 8.8 from weekly builds, found here: https://rcn-ee.net/rootfs/bb.org/testing/2017-06-11/
I needed it because of the quite new nodejs version.
I am trying to enable DCAN1 Device Tree overlay - I am following the steps present in these sources:
https://www.reddit.com/r/BeagleBone/comments/5n0u54/is_it_still_needed_to_alter_device_tree_overlay/
http://www.thomas-wedemeyer.de/beaglebone-canbus-python.html
https://github.com/beagleboard/bb.org-overlays
My steps:
- I went to /lib/firmware
- I have typed
sudo sh -c “echo ‘BB-UART1’ > /sys/devices/platform/bone_capemgr/slots”
the shell has frozen, I couldn’t interrupt with neither of these: Ctrl+D, Ctrl+Z, Ctrl+X, Ctrl+CI
3. I have added:
a) cape_enable=bone_capemgr.enable_partno=BB-CAN1 to /boot/uEnv.txt
b) # Options to pass to capemgr
CAPE=BB-CAN1
in /etc/default/capemgr
However, after the reboot, after typing, I still see that no CAN overlay was loaded:
root@beaglebone:/var/log# cat /sys/devices/platform/bone_capemgr/slots
0: —l-- -1
1: ------ -1
2: —l-- -1
3: —l-- -1
4: --Ol-- -1
5: --O— -1
6: --O— -1
and
cat /sys/kernel/debug/pinctrl/44e10800.pinmux/pinmux-pins
pin 96 (44e10980.0): ocp:P9_26_pinmux (GPIO UNCLAIMED) function pinmux_P9_26_default_pin group pinmux_P9_26_default_pin
pin 97 (44e10984.0): ocp:P9_24_pinmux (GPIO UNCLAIMED) function pinmux_P9_24_default_pin group pinmux_P9_24_default_pin
I am pretty much sure that on Debian 8.6 everything was working fine after these commands, because I don’t remember having any problems with DTO.
What am I doing wrong with Debian 8.8?
Have I missed any steps?