在调试LS1023a spi控制器的时候,无法输出是时钟,片选,数据等,管脚均无信号输出,连接串口查看内核打印,[ 3.442029] ata1: SATA max UDMA/133 mmio [mem 0x03200000-0x0320ffff] port 0x100 irq 52
[ 3.452075] fsl-dspi 2100000.spi: can't get bus-num
[ 3.456962] fsl-dspi: probe of 2100000.spi failed with error -22
[ 3.463515] spi-nor spi0.0: found n25q00a, expected m25p80
[ 3.469092] spi-nor spi0.0: n25q00a (131072 Kbytes)
[ 3.473997] 3 fixed-partitions partitions found on MTD device 1550000.spi
[ 3.480780] Creating 3 MTD partitions on "1550000.spi":
[ 3.486004] 0x000000000000-0x000001000000 : "firmware"
[ 3.494261] 0x000001000000-0x000003800000 : "kernel"
[ 3.502224] 0x000003800000-0x000008000000 : "linuxfs"
[ 3.512838] libphy: Fixed MDIO Bus: probed
找不到SPI控制器的总线,求解决
Check RCW for your board. Perhaps SPI pins are assigned to SDHC. See the Section 3.4.6 in the LSDK 1043a Reference Manual: