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.

怎样判断fatload mmc 0 80A00000 MLO假如SD卡没有MLO文件不执行后面语句?



在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}

请问怎么用语句实现?