大家好:
我最近看到《AM335x 的网口启动及 Flash 烧写用户指南》中提到怎样通过网口下载到nandlfash,其中通过debrick-nand.txt生成debrick.scr脚本,但是目前我是用norflash作为Fast External Booting(采用non-muxed模式),如果采用网口下载到这样的NORFLASH这个脚本怎么写呢?谢谢!
debrick-nand.txt的脚本内容如下:
# erase NAND
nand erase.chip
# get MLO
tftp 0x81000000 MLO
# make 4 copies in the RAM
cp.b 0x81000000 0x81020000 20000
cp.b 0x81000000 0x81040000 20000
cp.b 0x81000000 0x81060000 20000
# get u-boot.img
tftp 0x81080000 u-boot.img
# write the whole block (4*MLO + u-boot.img) to NAND
nand write 0x81000000 0x0 0x260000