Dear TI
我將uboot 燒在spi nor flash內,dtb+kernel+rootfs放在eMMC內,有變更uboot的bootfile=uImage (原本是zImage)
請問當清空環境變數時,為何系統重啟後,會自動載入zImage? 這是系統預設的?
謝謝~再麻煩您解惑
Edwin Huang
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.
Dear TI
我將uboot 燒在spi nor flash內,dtb+kernel+rootfs放在eMMC內,有變更uboot的bootfile=uImage (原本是zImage)
請問當清空環境變數時,為何系統重啟後,會自動載入zImage? 這是系統預設的?
謝謝~再麻煩您解惑
Edwin Huang
抱歉现在给您回复。
你可以试一下以下指令吗?
=> setenv bootfile
=> saveenv
=> reset
=> printenv bootfile
If an uEnv.txt file gets loaded and the bootfile is defined as zImage there, but when you type saveenv the environment is saved as uboot.env, in this case you can observe this kind of behavior, or if you have if setenv bootfile zImage condition defined somewhere within your U-Boot environments can also lead to this kind of result.
抱歉现在给您回复。
==> 沒關係,我也是剛好遇到這問題,跟你們討論和學習一下
你可以试一下以下指令吗?
=> setenv bootfile
=> saveenv
=> reset
=> printenv bootfile
=> 後來我們在重新開機時,在uboot讀取usb會載入舊的image前,先做saveenv,就可避免載入的狀況
由於時間緊迫,故暫時先用此法解zImage的問題。