04-05-2017, 07:46 PM
I download Nightly 4.10.0. After boot (w/o any overlays=) i see next messages
# lsmod|grep spi
spidev 20480 0
# dmesg | grep spi
[ 1.561446] sun6i-spi 1c68000.spi: could not find pctldev for node /soc/pinctrl@1c20800/spi0@0, deferring probe
[ 1.615170] m25p80 spi0.0: unrecognized JEDEC id bytes: 00, 00, 00
[ 1.615183] m25p80: probe of spi0.0 failed with error -2
#ls /sys/bus/spi/drivers/spidev -la
drwxr-xr-x 2 root root 0 Apr 5 10:19 .
drwxr-xr-x 6 root root 0 Apr 5 10:19 ..
--w------- 1 root root 4096 Apr 5 10:34 bind
lrwxrwxrwx 1 root root 0 Apr 5 10:19 module -> ../../../../module/spidev
--w------- 1 root root 4096 Apr 5 10:19 uevent
--w------- 1 root root 4096 Apr 5 10:19 unbind
but
# ls /dev/spi*
ls: cannot access '/dev/spi*': No such file or directory
also i try
# echo -n spi0.0 >/sys/bus/spi/drivers/spidev/bind
-bash: echo: write error: No such device
also i try add overlays= to uEnv.txt but nothing change for ls /dev/spi*
# lsmod|grep spi
spidev 20480 0
# dmesg | grep spi
[ 1.561446] sun6i-spi 1c68000.spi: could not find pctldev for node /soc/pinctrl@1c20800/spi0@0, deferring probe
[ 1.615170] m25p80 spi0.0: unrecognized JEDEC id bytes: 00, 00, 00
[ 1.615183] m25p80: probe of spi0.0 failed with error -2
#ls /sys/bus/spi/drivers/spidev -la
drwxr-xr-x 2 root root 0 Apr 5 10:19 .
drwxr-xr-x 6 root root 0 Apr 5 10:19 ..
--w------- 1 root root 4096 Apr 5 10:34 bind
lrwxrwxrwx 1 root root 0 Apr 5 10:19 module -> ../../../../module/spidev
--w------- 1 root root 4096 Apr 5 10:19 uevent
--w------- 1 root root 4096 Apr 5 10:19 unbind
but
# ls /dev/spi*
ls: cannot access '/dev/spi*': No such file or directory
also i try
# echo -n spi0.0 >/sys/bus/spi/drivers/spidev/bind
-bash: echo: write error: No such device
also i try add overlays= to uEnv.txt but nothing change for ls /dev/spi*