目录
1.2NAND Flash/SPI-Nand Flash烧写方法
1.Flash的u-boot烧写方法
1.1SPI-Nor Flash烧写方法
uboot# mw.b 0x420000000 0xff 0x100000 /*对内存的初始化*/
uboot# tftp 0x42000000 img.bin /*img文件下载到内存*/
uboot# sf probe 0 /*探测big初始化SPI-Nor flash*/
uboot# sf erase 0x0 0x100000 /*擦除1M的大小*/
uboot# sf write 0x42000000 0x0 0x100000 /*从内存写入SPI-Nor flash*/
1.2NAND Flash/SPI-Nand Flash烧写方法
uboot# nand erase 0 0x100000 /*擦除1M的大小*/
uboot#