使用fastboot向存储器烧录系统,在uboot启动之后,在控制台输入fastboot,进入fastboot模式。
在windows命令行打开fastboot命令
烧uboot: fastboot flash bootloader 文件名
烧linux kernel: fastboot flash kernel 文件名
烧rootfs: fastboot flash system 文件名
烧录linux+qt时的输出信息
Starting download of 3616768 bytes
...
downloading of 3616768 bytes finished
Received 12 bytes: flash:kernel
flashing 'kernel'
writing kernel.. 1073, 8192
MMC write: dev # 0, block # 1073, count 8192 ... 8192 blocks written: OK
completed
partition 'kernel' flashed
Received 17 bytes: download:07800000
Starting download of 125829120 bytes
................................................................................
.......................................
downloading of 125829120 bytes finished
Received 12 bytes: flash:system
flashing 'system'
MMC write: dev # 0, block # 547560, count 524745 ... 524745 blocks written: OK
partition 'system' flashed
烧录android4.0.4
fastboot flash bootloader android4.0/uboot.bin 烧uboot
fastboot flash kernel android4.0/zImage-android 烧linux kernel
fastboot flash system android4.0/x210.img 烧android rom
备注:
内核启动完成,根文件系统没启动成功,原因是uboot环境变量bootargs的值没有设置或者错误。