[嵌入式Linux][韌體燒錄]OTA燒寫
阿新 • • 發佈:2018-11-05
UBoot模式下輸入分割槽命令
開啟裝置,開啟串列埠,在u-boot下,建立eMMC分割槽並格式化
fdisk -c 0
fatformat mmc 0:1
ext3format mmc 0:2
ext3format mmc 0:3
ext3format mmc 0:4
注:以上僅第一次使用時需要
如果分割槽過,就只需要進行下面這一步就可以進入fastboot
fastboot
在 PC 機上執行“platform-tools”資料夾中的檔案“cmd.exe”
將對應的各個檔案放到platform-tools資料夾中;
以下以迅為4412開發板為例;根據需要燒寫你要燒寫的檔案。
輸入燒寫 uboot 命令(可以不用燒錄)
fastboot.exe flash bootloader u-boot-iTOP-4412.bin
輸入燒寫 zImage 核心命令
fastboot.exe flash kernel zImage
輸入燒寫 ramdisk 命令
fastboot.exe flash ramdisk ramdisk-uboot.img
輸入燒寫 system 檔案系統命令
fastboot.exe flash system system.img
輸入擦除命令
fastboot -w
輸入重啟開發板命令
fastboot reboot