Dear Andre and Robert,
Thank you for the information published. It has been great help!!!
Tested with => Debian 8.7 2017-03-19 4GB SD IoT image
Let me update the steps:
1) git clone https://github.com/RobertCNelson/dtb-rebuilder
2) Un-commented (can0/1) in am335x-boneblack-custom.dts
(After line 47)
3) cd dtb-rebuilder/
4) /dtc-overlay.sh
5) make
6) make install
7) sudo modprobe can
8) sudo modprobe can-dev
9) sudo modprobe can-raw
10) git clone https://github.com/linux-can/can-utils.git
11) cd can-utils/
12) ./autogen.sh
13) ./configure
14) make
15) shutdown -r now
==================
*Add to /boot/uEnv.txt*
dtb=am335x-boneblack-custom.dtb
==================
*Add to /etc/network/interfaces (i.e. 500 Kbps)*
allow-hotplug can0
iface can0 can static
bitrate 500000
allow-hotplug can1
iface can1 can static
bitrate 500000
==================
Reboot and it worked for me.
Best Regards,
Igor
El lunes, 30 de mayo de 2016, 13:31:56 (UTC+2), Andre Wippich escribió:
> CAN is running now :-)
>
> There were two errors:
>
> 1) I didn't know that I have to add
>
> dtb=am335x-boneblack-custom.dtb
>
> to the /boot/uEnv.txt
>
> 2) In line 43 of
>
> src/arm/am335x-bone-pinmux-spi0.dtsi
>
> stands "&dcan0 {" instead of "&spi0 {"
>
> CAN and ADC are fine now. I've a little trouble with SPI, but this could
> be my software.
>
> <https://github.com/derekmolloy/boneDeviceTree.git>
>
--
For more options, visit http://beagleboard.org/discuss
---
You received this message because you are subscribed to the Google Groups
"BeagleBoard" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/beagleboard/6e37f2a9-1cd3-4d55-ae5c-8033da4e69c8%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.