大家好,我们使用S25FL256S的spi flash。我通过串口启动后把u-boot的第一阶段和第二阶段下载到spi flash中,数据读写正常。可以手动把spi falsh中的数据读到ddr3中运行。但是设置spi boot模式后,复位后不能启动。
我的spi flash分区为:
+-------------+->0x00000000-> U-Boot 1st stage start
| |
| |-->0x0001FFFF-> U-Boot 1st stage end
| |-->0x00020000-> U-Boot 2nd stage Start
| |
| |-->0x0005FFFF-> U-Boot 2nd stage end
| |-->0x00060000-> ENV start
| |
| |
| |-->0x00061FFF-> ENV end
| |-->0x00062000-> Linux Kernel start
| |
| |
| |
| |
| |-->0x002E1FFF-> Linux Kernel end
| |-->0x002E2000-> Filesystem start
| |
| |
| |
+--------------+-->0x2000000-> Filesystem end
我的设置为:bootcmd=ipnc_ff_init 1;sf probe 0;sf read 0x81000000 0x20000 0x40000; bootm 0x81000000;
这可能是什么原因导致?我的bootcmd设置有问题吗?