Template:Box 2

From OMAPpedia

(Difference between revisions)
Jump to: navigation, search
m
m
 
Line 1: Line 1:
-
{| align="top" width="100%"
+
This section helps with flashing the software and instructions to boot the Android operating system.
-
|style="background:#B7CEEC" align="left" colspan="3" valign="top"|[[File:announce.png|30px ]]   '''Announcements'''
+
 
-
|-
+
You will need atleast a bootloader (u-boot.bin and MLO), kernel (uImage) and an Android file system to flash Android.
-
|
+
* For details on how to build your own binaries, check the "Getting Started" page in the [[OMAP_Android_Main|main page]].
-
* OMAP tutorial hour slides have been updated at:
+
* Alternatively, you can use pre-built binaries from "Using Prebuilt Binaries" at the [[OMAP_Android_Main|main page]] to continue.
-
* Latest Android Release can be found at:
+
 
-
* Checkout the new Videos for blaze at:
+
==Flashing Android==
-
|}
+
There are several flashing methods such as to SD, NAND and NFS
 +
 
 +
===Flashing to SD===
 +
Prior to proceeding with these steps, review how to setup and format a SD card under [[Zoom_Flashing|Omap Platform Support Tools]]. This will provide instructions on creating the two paritions needed to copy the files.
 +
 
 +
If you are using prebuilt binaries, copy the binaries (u-boot.bin, MLO and uImage) directly to the boot partition.
 +
* Copying Bootloader (uboot.bin, MLO) and kernel to SD Card into boot partition
 +
<pre>
 +
$ 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
 +
</pre>
 +
 
 +
If you are using prebuilt binaries, extract the filesystem archive directly to the boot partition and set permissions.
 +
* Copying Android Filesystem to the SD card into the secondary partition
 +
<pre>
 +
$ sudo cp –Rfp ~/myfs/* /tmp/mmc2
 +
$ sudo chmod –R 777 /tmp/mmc2/*
 +
</pre>
 +
 
 +
* Once the Android Filesystem and the Bootloader are copied, remove and replace the card back into card reader and you should see two new media devices,
 +
/media/boot and
 +
/media/disk
 +
 
 +
* Now remove the card from the card reader
 +
<pre>
 +
$ sudo umount /media/boot
 +
$ sudo umount /media/disk
 +
</pre>
 +
 
 +
===Flashing to NAND using Fastboot===
 +
For a quick and fast way to flash Android into NAND refer to [[Android_Fastboot| Android Fastboot]]
 +
 
 +
===Other ways to flash Android===
 +
Refer to [[Zoom_Flashing|Omap Platform Support Tools]] for more ways to flash a zoom2.
 +
 
 +
 
 +
[[Category:Android]]

Latest revision as of 16:15, 11 August 2010

This section helps with flashing the software and instructions to boot the Android operating system.

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

Contents

[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 paritions needed to copy the files.

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 boot 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 NAND using Fastboot

For a quick and fast way to flash Android into NAND refer to Android Fastboot

[edit] Other ways to flash Android

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

Personal tools
Namespaces
Variants
Actions
Navigation
Toolbox