Difference between revisions of "IoTGateway/BSP/Android/BinaryImage"
From ESS-WIKI
Yuming.lin (talk | contribs) |
Yuming.lin (talk | contribs) |
||
Line 30: | Line 30: | ||
:Perform the following command in terminal console | :Perform the following command in terminal console | ||
− | ::<code>$ cd <span style="color: rgb(128, 0, 128);">'''${BSPHOME}'''</span>/scripts</code> | + | ::<code>$ cd <span style="color: rgb(128, 0, 128);">'''${BSPHOME}'''</span>/</code>download/<code>scripts</code> |
− | ::<code>$ ./mksd-android.sh <span style="color: rgb(128, 0, 128);">'''${SD_DEVICE}'''</span></code> | + | ::<code>$ ./</code>android_mk_sd_emmc_script/<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> === | === <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> === |
Latest revision as of 04:40, 7 March 2017
Contents
Android Image Downloads
Flashing
Conventions
${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}/
download/scripts
$ ./
android_mk_sd_emmc_script/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.
- The mksd-android.sh script reference: https://github.com/ADVANTECH-Corp/android_mk_sd_emmc_script
Release Note
This release includes all porting and enhancements based on the Android open source code.