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.

sd卡自动烧写映像到nand flash问题



类似从sd启动后,进入了u-boot。然后就要将一系列指令进行烧写到nand flash。

怎么启动就将这些指令一一运行??

mmc rescan
fatload mmc 0 0x82000000 MLO
nand erase 0x0 0x80000
nand write 0x82000000 0x0 0x20000
nand write 0x82000000 0x20000 0x20000
nand write 0x82000000 0x40000 0x20000
nand write 0x82000000 0x60000 0x20000

mmc rescan
fatload mmc 0 0x82000000 u-boot.bin
nand erase 0x80000 0x80000
nand write 0x82000000 0x80000 0x80000

请问一下这是怎么弄的??