Android – Froyo port for OMAP-3530 BeagleBoard

Posted: August 10, 2011 in Android, Embedded System

Download Android source

1. Make sure you have a ~/bin directory in your home directory, and check to be sure that this bin directory is in your path:

     $ cd ~

     $ mkdir bin

     $ echo $PATH

2. Download the repo script and make sure it is executable:

     $ curl >~/bin/repo

     $ chmod a+x ~/bin/repo

3. Download from CoreDruids Android repository –

    $ repo init -u git://

    $ repo sync

    $ make TARGET_PRODUCT=beagleboard

Prepare Root file system

     $ cd out/target/product/beagleboard

     $ mkdir android_rfs

     $ cp -r root/* android_rfs

     $ cp -r system android_rfs

     $ cd android_rfs

     $ chmod -R 777 *

     $ chown root.root *

prepare tar file for android_rfs directory

Prepare uImage

     $ cd <android_root_dir>/kernel

     $ make ARCH=arm omap3_beagle_android_defconfig

     $ export toolchain path

     $ make ARCH=arm CROSS_COMPILE=arm-eabi- uImage

For enabling USB EHCI port

1. Follow the steps in the following link to compile u-boot –
2. copy u-boot.bin in FAT partition of SD card

Prepare SD Card

To boot Android from SD card you need to create a dual partition card.

1. Follow the link for creating SD card partitions

2. Untar root file system in ext3 partition of SD card.

3. Copy the uImage to SD card’s FAT partition.

On Beagleboard

Execute the following commands in bootloader console to boot android on BeagleBoard

     $ setenv bootargs console=ttyS2,115200n8 noinitrd root=/dev/mmcblk0p2

 video=omapfb.mode=dvi:1280x720MR-24@50 init=/init rootfstype=ext3 rw rootdelay=1 nohz=off androidboot.console=ttyS2

     $ mmc init

     $ fatload mmc 0 80300000 uImage

     $ bootm 80300000

Known Issues

The kernel gives panic after couple of reboots (We observed that after re-flashing problem gets resolved)


Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )


Connecting to %s