No MBR错误
如果提示如下错误:
Error: No MBR is found at SD/MMC.
Hint: use fdisk command to make partitions.
则先执行指令"fdisk -c 0",执行过程如下:
SMDKV210 # fdisk -c 0
fdisk is completed
×××××××××××××××××××××××××××××××××××××××××××××××××××××××××××××××××××××××××××××××××××××××××××××××××××××××××××××
将Kernel, Android images 烧入samsung4412_TC4 board步骤:
1.
确保windows里有fastboot.exe。可能由于我之前装过android模拟器,所以windows命令里已经配置有了fastboot.exe。可以这样查看 运行——cmd——fastboot,如果有fastboot,则会有各种选项提示,如果没有,可以上网下载一个fastboot.exe,下载后随便放在你能找到的地方.
在windows下运行CMD这句应该能看懂吧?
用cd命令打开fastboot所在的文件夹。如下图3
只要不提示错误就证明你已经成功了.
2.
板子启动到uboot,通过串口终端一次输入以下命令:
#fdisk -c 0
#fatformat mmc 0:1
#ext3format mmc 0:2
#ext3format mmc 0:3
#ext3format mmc 0:4
上面几个命令是用来格式化EMMC card
#fastboot
出现提示Insert a OTG cable into the connector!后,usb线连接电脑和板子
3.
启动windows命令窗口:运行——cmd,环境变量如果没有关联到fastboot.exe(输入fastboot提示错误),则要通过cd命令进入到fastboot.exe所在目录,例如:
这就表示fastboot可以起作用了。
然后依次输入以下命令:
>fastboot flash kernel E:\samsung\lizmcompile\zImage
>fastboot flash ramdisk E:\samsung\lizmcompile\ramdisk-uboot.img
>fastboot flash Recovery E:\samsung\lizmcompile\ramdisk-recovery-uboot.img
>fastboot flash system E:\samsung\lizmcompile\system.img
>fastboot -w
4.
以上都完成以后,输入重启命令。
>fastboot reboot
烧录完成
×××××××××××××××××××××××××××××××××××××××××××××××××××××××××××××××××××××××××××××××××××××××××××××××××××××××××××××××××
原厂的烧录包里u4101-v0.8_9508.rar有四个文件:ramdisk-U4101ICS-V0.8.img system-U4101ICS-V0.8.img zImage-U4101-V0.8-rev94
和一个批处理文件update-U4101ICS-V0.8.bat,内容可以参考一下:
fastboot oem mkptable
fastboot erase system
fastboot flash ramdisk ramdisk-U4101ICS-V0.8
fastboot flash system system-U4101ICS-V0.8.img
fastboot flash kernel zImage-U4101-V0.8-rev94
fastboot erase userdata
fastboot erase cache
fastboot erase fat
fastboot reboot