在am335x_evm.h里面
“fatload mmc 0 80A00000 MLO;nand write.i 80A00000 0 ${filesize};"
我想通过条件语句来判断mmc里面是否有MLO文件,
如有,执行nand write.i 80A00000 0 ${filesize},
如没有则跳过nand write.i 80A00000 0 ${filesize}
请问怎么用语句实现?
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.
请问实在uboot中吗?如果是,这里是脚本,uboot本身有对mmc操作的指令,看能不能对这些指令进行编程,我没有做过,不过应该是这个思路