|
fail打印如下,
[root@localhost /]# echo read 0 10 255 > /dev/cspi_misc_test
[ 2232.193462] g_spi.0 is NULL
[ 2232.193742] g_spi.0 is NULL
[ 2232.194010] g_spi.0 is NULL
[ 2232.194276] g_spi.0 is NULL
[ 2232.194627] g_spi.0 is NULL
[ 2232.194893] g_spi.0 is NULL
[ 2232.195157] g_spi.0 is NULL
[ 2232.195443] g_spi.0 is NULL
[ 2232.195698] g_spi.0 is NULL
[ 2232.195962] g_spi.0 is NULL
[ 2232.196232] spi read 255*10 cost 2774us speed:919KB/S
使用的是toybrick rk3399prod,kernel version:
ubuntu@jifu-ubuntu:~/resource/kernel$ uname -a
Linux jifu-ubuntu 5.4.0-37-generic #41-Ubuntu SMP Wed Jun 3 18:57:02 UTC 2020 x86_64 x86_64 x86_64 GNU/Linux
|
|