Make Android SD Card to Startup System
Update time:2018-04-02 Views:6899
Foreword
This article describes how to make an Android SD card to boot system.
Prepare
ROC-RK3328-CC Development board
Firmware
Windows Host Computer
SD_Firmware_Tool
Please refer to 《Build Kernel》 and 《Build Ubuntu Rfs》 instructions to compile partition images, or you can download here to obtain a unified firmware.
Process of Making Android Boot Card
using SDCard Installer tools for windows
For windows users, you can select SDCard Installer tool Download link of tool:SDCard Installer链接
The SDCard Installer tool will be able to download ,burn and write the fireware in place,and the operation is simple and straightforward.
1、After inserting the SD card into the computer, open SDCard Installer.
2、Click the "Choose an OS"button, After selecting ROC-RK3328-CC,display the figure.
3、As shown in the figure, there are five choices:
1)
if there is no demand operating system in the local area, you need to
download and select the operating system you need. Click OK.
2) if there is a local operating system with requirements, after clicking Browse image, select the system and click OK.
4、After completing the above steps, the computer also recognizes the SD card, clicks FLASH, and waits for completion.
Note:
when the burn is completed to 99% or 100%, the following picture is
presented, which can be ignored, and does not affect the firmware
burning on the SD card.
5、After finishing the burn, the SD card will be removed from the computer and inserted into the TF card slot of rk3328,restart rk3328 is OK.
Linux
1)if you want to compile the Android unified firmware:
see :《Compile Android 7.1 fireware》
2)If you want to update the partition image into the SD card separately under Linux, you can refer to the following commands:
sudo dd if=uboot.img of=/dev/sdb seek=$(((0x00002000 + 0x00002000))) ibs=1M conv=sync,fsync sudo dd if=trust.img of=/dev/sdb seek=$(((0x00004000 + 0x00004000))) ibs=1M conv=sync,fsync sudo dd if=misc.img of=/dev/sdb seek=$(((0x00002000 + 0x00008000))) ibs=1M conv=sync,fsync sudo dd if=resource.img of=/dev/sdb seek=$(((0x00007800 + 0x0000A800))) ibs=1M conv=sync,fsync sudo dd if=kernel.img of=/dev/sdb seek=$(((0x00010000 + 0x00012000))) ibs=1M conv=sync,fsync sudo dd if=boot.img of=/dev/sdb seek=$(((0x00010000 + 0x00022000))) ibs=1M conv=sync,fsync sudo dd if=recovery.img of=/dev/sdb seek=$(((0x00010000 + 0x00032000))) ibs=1M conv=sync,fsync sudo dd if=system.img of=/dev/sdb seek=$(((0x00300000 + 0x000AC000))) ibs=1M conv=sync,fsync