Difference between revisions of "Template:BurnAndroidToEMMC-Allwinner"

From FriendlyELEC WiKi
Jump to: navigation, search
(updated by API)
(updated by API)
Line 2: Line 2:
 
* Extract an Android image and the USB flashing utility "LiveSuitV306_For_Linux64.zip" under Ubuntu and install LiveSuit by running the following command:
 
* Extract an Android image and the USB flashing utility "LiveSuitV306_For_Linux64.zip" under Ubuntu and install LiveSuit by running the following command:
 
<syntaxhighlight lang="bash">
 
<syntaxhighlight lang="bash">
 +
$ cd LiveSuit_For_Linux64
 +
$ chmod 755 LiveSuit.run
 
$ ./LiveSuit.run
 
$ ./LiveSuit.run
 +
...
 +
========***********LiveSuit installed completely***********===========
 +
LiveSuit has been installed in /root/Bin/LiveSuit
 +
========***********LiveSuit installed completely***********===========
 
</syntaxhighlight>
 
</syntaxhighlight>
 
Run LiveSuit:
 
Run LiveSuit:
Line 12: Line 18:
 
[[File:sunxi-livesuit-select.png|frameless|500px|]]
 
[[File:sunxi-livesuit-select.png|frameless|500px|]]
  
* Refer to [[NanoPi_M1_Plus#Compile_U-boot|Compile & Flash U-boot]] to make an installation TF card with U-boot;
+
* 烧写默认进入fex模式的Uboot到TF卡:<br>
* After a TF card is done, take it out and insert it to your board's BOOT card slot. Connect your board to a host PC with a MicroUSB cable and your board will be automatically powered on. Press any key to enter the U-boot commandline mode and run the following command to enter USB download mode:
+
fex模式是全志定制过的一种USB下载模式。可以直接下载使用默认进入fex模式的U-boot [http://wiki.friendlyarm.com/wiki/index.php/File:U-boot-efex.zip 点击下载U-boot-efex], 也可以自行在U-boot的命令行终端中执行efex命令可以进入fex模式, 烧写U-boot到TF的命令如下:
 
<syntaxhighlight lang="bash">
 
<syntaxhighlight lang="bash">
$ efex
+
$ cd U-boot-fex
 +
$ dd if=boot0_sdcard.fex of=/dev/sdX bs=1k seek=8
 +
$ dd if=u-boot.fex of=/dev/sdX bs=1k seek=16400
 
</syntaxhighlight>
 
</syntaxhighlight>
A LiveSuit popup window will show up on your host PC asking whether or not to start installation:<br>
+
/dev/sdX请替换为实际的TF卡设备文件名。
 +
 
 +
* 制作完成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>
 
Note: you must run LiveSuit on your host PC before you command "efex".<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.
 
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.

Revision as of 07:07, 13 April 2018

Boot from eMMC
  • Extract an Android image and the USB flashing utility "LiveSuitV306_For_Linux64.zip" under 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的命令行终端中执行efex命令可以进入fex模式, 烧写U-boot到TF的命令如下:

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

/dev/sdX请替换为实际的TF卡设备文件名。

  • 制作完成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
Note: you must run LiveSuit on your host PC before you command "efex".
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.