Difference between revisions of "Template:BurnAndroidToEMMC-Allwinner"

From FriendlyELEC WiKi
Jump to: navigation, search
(updated by API)
(updated by API)
Line 29: Line 29:
 
* 制作完成TF卡后,拔出TF卡插入板子的BOOT卡槽,使用MicroUSB线连接板子和PC机,此时板子会上电启动并运行U-boot, A LiveSuit popup window will show up on your host PC asking whether or not to start installation:<br>
 
* 制作完成TF卡后,拔出TF卡插入板子的BOOT卡槽,使用MicroUSB线连接板子和PC机,此时板子会上电启动并运行U-boot, A LiveSuit popup window will show up on your host PC asking whether or not to start installation:<br>
 
[[File:sunxi-livesuit-detect.png|frameless|500px|]]<br>
 
[[File:sunxi-livesuit-detect.png|frameless|500px|]]<br>
Note: you must run LiveSuit on your host PC before you command "efex".<br>
+
注意:必须先在PC机上运行LiveSuit,再运行U-boot进入fex模式,否则将检测失败。<br>
 
Click on "Yes" to start flashing an Android image to eMMC. After this is done power off the board and take out the TF card. If you boot your board again it will boot from eMMC.<br>
 
Click on "Yes" to start flashing an Android image to eMMC. After this is done power off the board and take out the TF card. If you boot your board again it will boot from eMMC.<br>
 
如果你使用的是默认会进行fex模式的U-boot, 那么烧写完成后会进入fex模式并再次弹出烧写提示, 此时你只要忽略它的提示并断电选择eMMC启动即可。
 
如果你使用的是默认会进行fex模式的U-boot, 那么烧写完成后会进入fex模式并再次弹出烧写提示, 此时你只要忽略它的提示并断电选择eMMC启动即可。

Revision as of 02:11, 16 April 2018

Boot from eMMC
  • Extract an Android image and the USB flashing utility "LiveSuitV306_For_Linux64.zip" under 64bit Ubuntu(必须是硬件安装, 不能使用虚拟机安装的Ubuntu系统) and install LiveSuit by running the following command:
$ cd LiveSuit_For_Linux64
$ chmod 755 LiveSuit.run 
$ ./LiveSuit.run
...
========***********LiveSuit installed completely***********===========
LiveSuit has been installed in /root/Bin/LiveSuit
========***********LiveSuit installed completely***********===========

Run LiveSuit:

$ cd /root/Bin/LiveSuit
$ ./LiveSuit.sh

Click on the "Image" button to select an Android image:
Sunxi-livesuit-select.png

  • 烧写默认进入fex模式的Uboot到TF卡:

fex模式是全志定制过的一种USB下载模式。可以直接下载使用默认进入fex模式的U-boot 点击下载U-boot-efex, 下载后解压, 执行下列命令烧写U-boot到TF卡:

$ cd U-boot-efex
$ dd if=boot0_sdcard.fex of=/dev/sdX bs=1k seek=8
$ dd if=u-boot.fex of=/dev/sdX bs=1k seek=16400
$ sync

/dev/sdX请替换为实际的TF卡设备文件名。另外, 你也可以在自己编译出来的U-boot的命令行终端中手动执行efex命令可以进入fex模式。

  • 制作完成TF卡后,拔出TF卡插入板子的BOOT卡槽,使用MicroUSB线连接板子和PC机,此时板子会上电启动并运行U-boot, A LiveSuit popup window will show up on your host PC asking whether or not to start installation:

Sunxi-livesuit-detect.png
注意:必须先在PC机上运行LiveSuit,再运行U-boot进入fex模式,否则将检测失败。
Click on "Yes" to start flashing an Android image to eMMC. After this is done power off the board and take out the TF card. If you boot your board again it will boot from eMMC.
如果你使用的是默认会进行fex模式的U-boot, 那么烧写完成后会进入fex模式并再次弹出烧写提示, 此时你只要忽略它的提示并断电选择eMMC启动即可。