另外从log上看
03-24 11:31:59.988 0 0 W rockchip-spi ff1d0000.spi: Failed to request TX DMA channel
03-24 11:31:59.988 0 0 W rockchip-spi ff1d0000.spi: Failed to request RX DMA channel
03-24 11:31:59.988 0 0 W rockchip-spi ff1d0000.spi: no high_speed pinctrl state
03-24 11:31:59.989 0 0 F : register firefly_spi_init spi return v = :0
03-24 11:31:59.989 0 0 W 11wk2xxx_probe: setup mode 0, 0 bits/w, 0 Hz max
03-24 11:31:59.989 0 0 W : wk2xxx_probe() Can not read property power-gpio
03-24 11:31:59.989 0 0 W wk2xxxspi: probe of spi0.0 failed with error -2
03-24 11:31:59.989 0 0 F : register spi return v = :0
是不是用WK2XXX 时,要把rockchip_spi 去掉啊?还是power gpio 脚被占用了? 单独烧录,开不了机问题已解决,并确定,您这边给的boot 开机后,是有ttysWK0ttysWK1ttysWK2ttysWK3 节点的, 帮忙看一下,我下载的代码却没有(完全按照wiki文档一步步操作,编译出来的软件) 帮忙看一下,是不是这个文件有问题? 代码里面对应得SPi_wk2xxx 文件,见附件 android 7.1的节点ttysWK1-4是ok的,但是android10.0无这些节点,经检查发现,android7.1用的spi-wk2xxx驱动被打成了包,将其替换掉android10.0中,编译报错,最终的解决办法找一份spi-wk2xxx.c和spi-wk2xxx.h移植到android10.0上,且删除原来spi-wk2xxx的引用
页:
1
[2]