Difference between revisions of "IoTGateway/BSP/Android/BinaryImage"

From ESS-WIKI
Jump to: navigation, search
Line 1: Line 1:
<span style="font-size:medium;"><span style="color:#00AFF0;">Android Image Downloads</span></span>
+
<span style="font-size: medium;"><span style="color: rgb(0, 175, 240);">Android Image Downloads</span></span>
  
  
Line 7: Line 7:
  
  
<br/><span style="font-size:medium;"><span style="color:#00AFF0;">Flashing</span></span><span style="font-size:medium;"><span style="color:#00AFF0;"></span></span><span style="font-size:medium;"><span style="color:#00AFF0;"></span></span>
+
<br/><span style="font-size: medium;"><span style="color: rgb(0, 175, 240);">Flashing</span></span>
 +
<span style="font-size: medium;"><span style="color: rgb(0, 175, 240);"></span></span>
 +
<span style="color: rgb(128, 0, 128);">'''${BOARD}'''</span>&nbsp;: target board name (list below)
  
<span style="font-size:medium;"><span style="color:#00AFF0;"></span></span>
+
:rsb_4410 / rom_3420 / rom_5420 / rom_7420 / ubc_ds31 / ubc_200 / rsb_6410
  
 +
<span style="color: rgb(128, 0, 128);">'''${BSPHOME}'''</span>&nbsp;: the directory that BSP tarball extacted to
  
 +
<span style="color: rgb(128, 0, 128);">'''${SD_DEVICE}'''</span>&nbsp;: device name of SD card in Ubuntu (e.g. /dev/sdf)
  
<font color="#00aff0" size="3">Release Note</font>
+
<span style="color: rgb(128, 0, 128);">'''${MMC_DEVICE}'''</span>&nbsp;: device name of on-board eMMC in Android (e.g. /dev/block/mmcblk0)
 +
 
 +
debug console / serial console
 +
 
 +
:serial terminal program (e.g. minicom, putty, teraterm ...) that serial port is configured to 115200 8N1
 +
 
 +
terminal console
 +
 
 +
:terminal program (e.g. gnome-terminal, xfce4-terminal ...)
 +
<span style="font-size: medium;"><span style="color: rgb(0, 175, 240);"></span></span><span style="font-size: medium;"><span style="color: rgb(0, 175, 240);"></span></span>
 +
=== <span id="to_create_a_bootable_sd_card" class="mw-headline"><span style="color: rgb(0, 102, 204);">To create a bootable SD card</span></span> ===
 +
 
 +
:Perform the following command in terminal console
 +
::<code>$ cd <span style="color: rgb(128, 0, 128);">'''${BSPHOME}'''</span>/scripts</code>
 +
::<code>$ ./mksd-android.sh <span style="color: rgb(128, 0, 128);">'''${SD_DEVICE}'''</span></code>
 +
 
 +
=== <span id="to_transfer_whole_system_to_onboard_emmc" class="mw-headline"><span style="color: rgb(0, 102, 204);">To transfer whole system to onboard eMMC</span></span> ===
 +
 
 +
:Boot up from SD card
 +
:Perform the following commands in debug console
 +
::<code># cd /data/mkimage/scripts</code>
 +
::<code># sh ./mksd-android.sh <span style="color: rgb(128, 0, 128);">'''${MMC_DEVICE}'''</span></code>
 +
:Remove SD card, then target board can boot up from onboard eMMC.
 +
<span style="font-size: medium;"><span style="color: rgb(0, 175, 240);"></span></span>
 +
 
 +
 
 +
 
 +
 
 +
<font size="3" color="#00aff0">Release Note</font>

Revision as of 03:54, 3 February 2017

Android Image Downloads





Flashing ${BOARD} : target board name (list below)

rsb_4410 / rom_3420 / rom_5420 / rom_7420 / ubc_ds31 / ubc_200 / rsb_6410

${BSPHOME} : the directory that BSP tarball extacted to

${SD_DEVICE} : device name of SD card in Ubuntu (e.g. /dev/sdf)

${MMC_DEVICE} : device name of on-board eMMC in Android (e.g. /dev/block/mmcblk0)

debug console / serial console

serial terminal program (e.g. minicom, putty, teraterm ...) that serial port is configured to 115200 8N1

terminal console

terminal program (e.g. gnome-terminal, xfce4-terminal ...)

To create a bootable SD card

Perform the following command in terminal console
$ cd ${BSPHOME}/scripts
$ ./mksd-android.sh ${SD_DEVICE}

To transfer whole system to onboard eMMC

Boot up from SD card
Perform the following commands in debug console
# cd /data/mkimage/scripts
# sh ./mksd-android.sh ${MMC_DEVICE}
Remove SD card, then target board can boot up from onboard eMMC.



Release Note