Android Panda Pre Built

From OMAPpedia

Revision as of 09:12, 10 February 2012 by Vjoshi (Talk | contribs)
Jump to: navigation, search


Android on PandaBoard Pre-Built Binaries

Here we will take a look at Android Pre-Built binaries for PandaBoard.

Where to get Pre-Built binaries for PandaBoard?

You can get Android binaries from Linaro Linaro gives binaries at regular interval and the binaries are available by navigating to downloads and search for PandaBoard.

Typical steps involved in getting the binaries and flashing them to SD card are involved below. Please refer to latest instructions by going to Linaro and navigate to Android -> PandaBoard.

There are two methods to install linaro builds:

Using pre-built image

 # Insert SD card and note the assigned '/dev/sdX' or '/dev/mmcblk0'
 $ dmesg
 $ SDCARD=/dev/<sdcard found from dmesg above>
 $ URL=<refer-to-Linaro-for-latest-build-number>/android/images/landing-panda/landing-panda.img.gz
 $ curl $URL | gunzip -c | sudo dd bs=64k of=$SDCARD

Microsoft Windows users may use the Image Writer for Windows

Building a Custom Image

 # Get artifacts
 $ wget<refer-to-Linaro-for-latest-build-number>/android/images/landing-panda/boot.tar.bz2<refer-to-Linaro-for-latest-build-number>/android/images/landing-panda/system.tar.bz2<refer-to-Linaro-for-latest-build-number>/android/images/landing-panda/userdata.tar.bz2
 # Get linaro image tools
 # method 1: using binary package for Ubuntu (PPA)
 $ sudo add-apt-repository ppa:linaro-maintainers/tools
 $ sudo apt-get update
 $ sudo apt-get install linaro-image-tools
 # method 2: using source code
 $ wget<refer-to-Linaro-for-latest-build-number>/components/platform/linaro-image-tools/linaro-image-tools-<refer-to-Linaro-for-latest-build-number>.tar.gz
 # Insert SD card and note the assigned '/dev/sdX' or '/dev/mmcblk0'
 $ dmesg
 # Create media
 $ sudo linaro-android-media-create --mmc /dev/<sdcard found from dmesg above> --dev panda --system system.tar.bz2 --boot boot.tar.bz2 --userdata userdata.tar.bz2
 # Get binaries
 $ wget<refer-to-Linaro-for-latest-build-number>/android/images/landing-panda/
 $ chmod a+x
 $ ./ /dev/<device node of system partition>
Personal tools