shigeki

Members
  • Content Count

    3
  • Joined

  • Last visited

About shigeki

  • Rank
    Newbie

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

  1. So, i finally manege this to work. Tested on newest kernel : Linux bananapi 5.4.26-sunxi #20.02.5 SMP Thu Mar 19 22:23:40 CET 2020 armv7l GNU/Linux First, you need to patch dtb : # cd /boot/dtb-5.4.26-sunxi # diff sun7i-a20-bananapi.dts sun7i-a20-bananapi.dts.bak 710c710,716 < can0_pins_a: can0@0 { --- > can-pa-pins { > pins = "PA16\0PA17"; > function = "can"; > phandle = < 0x63 >; > }; > > can-ph-pins { 713d718 < linux,phandle = < 0x64 >; 1446,1447c1451 < status = "okay"; < linux,phandle =
  2. Hi again. After 2 years i want to try configure CanBus on BananaPi and still nothing. I'm continuing my previous post What i do: 1) Paths dtb with this instruction : 2) Load kernel modules: # lsmod | grep can can_raw 20480 1 can_bcm 24576 0 can 20480 2 can_raw,can_bcm sun4i_can 16384 0 can_dev 20480 1 sun4i_can 3) Spawn can0 interface # ip link set can0 type can bitrate 500000 restart-ms 100 triple-sampling on loopback on # ip link set up can0 4) Play with candu
  3. Hi all, I'm interested in running canbus on Banana Pi (A20). I have problem with setup canbus. Some info about system: ARMBIAN 5.38 stable Debian GNU/Linux 9 (stretch) 4.14.18-sunxi in armbian-config -> System -> Hardware only "can" is enable and MCP2551 transreciver is connected to can rx/tx banana pinout. lsmod | grep can: root@bananapi:~# lsmod | grep can can_bcm 24576 0 can_raw 20480 1 can 20480 2 can_raw,can_bcm sun4i_can 16384 0 can_dev 20480 1 sun4i_can N