1. 程式人生 > >imx平臺,通過fastboot燒寫boot.img system.img recovery.img映象

imx平臺,通過fastboot燒寫boot.img system.img recovery.img映象

1.在串列埠上,進入u-boot模式,輸入fastboot

MX6Q SABRESD U-Boot > fastboot
fastboot is in init......flash target is MMC:2
USB Mini b cable Connected!
fastboot initialized
USB_SUSPEND
USB_RESET

2.連線USB線,在Windows上開啟cmd視窗,輸入fastboot devices,檢視裝置是否連線成功

下面是連線成功的資訊:

C:\Users\BHJ>fastboot devices
12345   fastboot

3.如果成功連線,輸入fastboot flash boot boot映象路徑/boot.img

下面是燒寫過程:

sending 'boot' (5216 KB)...
OKAY [  4.870s]
writing 'boot'...
OKAY [  0.681s]
finished. total time: 5.555s

system.img和recovery.img分別用下列命令:

fastboot flash system system映象路徑/system.img

fastboot flash recovery recovery映象路徑/recovery.img