Ubuntu下镜像的烧入
1.首先安装超级终端软件例如minicom,cutecom
这里以cutecom为例介绍:(注意在笔记本上要有usb转串口器,否则无法打开cutecom)
安装: $sudo apt-get install cutecom
运行: $sudo cutecom
插入usb转串口后,使用dmesg | grep usb,可以查看相应设备信息
我用的是pl2303转串口器,可以在输出中找到pl2303 converter now attached to ttyUSB0
之后,设备Device下拉菜单是没有ttyUSB0的,需要我们手动修改
2.在第一上的基础上,连接开发板,在超级终端输入任意健进入uboot模式,之后输入fastboot进入fastboot模式
首先在shell中输入sudo apt-get install android-tools-adb android-tools-fastboot安装fastboot工具,
然后就可以烧入相关文件
fastboot flash bootloader uboot.bin
fastboot flash kernel image
fastboot flash ramdisk ramdisk-uboot.img
fastboot flash system system.img