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阶段判断系统从SD卡启动?



使用am335x,应用的uboot是官方提供2013.01.01版,硬件拨码开关选择SD卡启动,SD卡里面存放MLO、u-boot.img、uImage、文件系统,

我想做一个功能就是通过SD卡烧写整个系统,当拨码开关选择SD卡启动,就将SD卡上的MLO、u-boot.img、uImage、文件系统烧写到nand flash里面,当拨码开关选择nand flash启动时,就不更新系统,现在的问题就是,在uboot里面怎样判断是否需要更新系统(即怎样判断当前是否是SD卡启动)?