Flashing Android

From OMAPpedia

Revision as of 19:55, 30 July 2010 by Hari s (Talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search
Android Logov2.jpg
How to get started with Android OS using pre-built binaries on your OMAP Platform
Overview Step 1 Step 2 Step 3 Step 4 Step 5 Step 6


Step 3

This section provides instructions with flashing Android OS to eMMC/SD card, and booting the system.

You will need at least a bootloader (u-boot.bin and MLO), kernel (uImage) and an Android file system to flash Android.


[edit] Flashing Android

There are several flashing methods such as to SD, NAND and NFS

[edit] Flashing to SD

Prior to proceeding with these steps, review how to setup and format a SD card under Omap Platform Support Tools. This will provide instructions on creating the two (or three) partitions needed to copy the files (At least two partitions are needed. One, 'boot' which holds the MLO, u-boot.bin and uImage, and the other 'rootfs' which holds the file system.)

If you are using prebuilt binaries, copy the binaries (u-boot.bin, MLO and uImage) directly to the boot partition.

$ sudo cp -rf <location_of_uboot.bin_file> /tmp/mmc1
$ sudo cp -rf <location_of_MLO_file> /tmp/mmc1
$ sudo cp -rf <location_of_uImage_file> /tmp/mmc1

If you are using prebuilt binaries, extract the filesystem archive directly to the secondary partition and set permissions.

$ sudo cp –Rfp ~/myfs/* /tmp/mmc2
$ sudo chmod –R 777 /tmp/mmc2/*

/media/boot and /media/disk

$ sudo umount /media/boot
$ sudo umount /media/disk

[edit] Flashing to eMMC/SD Card using Fastboot

For a quick and fast way to flash Android into NAND for OMAP3 refer to Android Fastboot for OMAP3 or to flash Android to eMMC on OMAP4 Android Fastboot for OMAP4

[edit] Other ways to flash Android

Refer to Omap Platform Support Tools for more ways to flash a zoom2.

Left arrow1.png Android Logov2.jpg Right arrow1.png
Previous Home Next
Personal tools