AnsweredAssumed Answered

how to config sja1105 to work

Question asked by zhao wei on Sep 9, 2019
Latest reply on Sep 22, 2019 by bpe

now i'm using sja1105 with linux4.14.0

i see the kernel v5.2 has sja1105 driver

but 4.14 Has not yet been

i serach the sja1105-tool from github

 

when i use

root@autobrain:~# sja1105-tool config save bug.xml
Staging area /lib/firmware/sja1105.bin does not exist!
root@autobrain:~# ls /dev/spidev1.0
/dev/spidev1.0
root@autobrain:~# ls /dev/spidev1.0 -l
crw------- 1 root root 153, 0 Jan 1 1970 /dev/spidev1.0
root@autobrain:~#
root@autobrain:~# sja1105-tool config default ls1021atsn
could not open /lib/firmware/sja1105.bin for write
root@autobrain:~# sja1105-tool status general
Unrecognized Device ID 0xffffffff
sja1105_spi_configure failed
root@autobrain:~#
root@autobrain:~# uname -a
Linux autobrain 4.14.0-xilinx #2 SMP PREEMPT Tue Sep 3 16:42:53 CST 2019 armv7l GNU/Linux
root@autobrain:~#

 

So

 

What can I do to drive sja1105 to work

thanks a lot

Outcomes