This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

求助:关于dm8168的spi方式烧写u-boot镜像之sf probe命令



您好:

        我从nand启动了u-boot,现在需要烧写u-boot镜像到spi接口的nor中,烧写过程出现入下错误:

TI8168_EVM#sf probe 0:0
Failed to initialize SPI flash at 0:0
TI8168_EVM#sf erase 0x0 0x40000
No SPI flash selected. Please run `sf probe'
TI8168_EVM#sf probe 0:0
Failed to initialize SPI flash at 0:0
TI8168_EVM#
不能初始化spi flash,无法查看到debug的信息,所以无法确定是什么原因,请问:
1.这可能是什么原因?
2.如何查看u-boot源码中debug的命令
       比如源码中   debug(“SF : fail to setup slave!”)