Android Panda Pre Built

From OMAPpedia

Revision as of 09:24, 10 February 2012 by Vjoshi (Talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Contents

[edit] Android on PandaBoard Pre-Built Binaries

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

[edit] Where to get Pre-Built binaries for PandaBoard?

You can get Android binaries from Linaro http://linaro.org. 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:

[edit] Using pre-built image

 # PLEASE NOTE: THE BELOW INSTRUCTIONS NEED A BUILD NUMBER TO WORK.
 # Please refer to latest build number by going to Linaro and navigate to Android -> PandaBoard
 # Insert SD card and note the assigned '/dev/sdX' or '/dev/mmcblk0'
 $ dmesg
 $ SDCARD=/dev/<sdcard found from dmesg above>
 $ URL=http://releases.linaro.org/<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

[edit] Building a Custom Image

 # Get artifacts
 $ wget http://releases.linaro.org/<refer-to-Linaro-for-latest-build-number>/android/images/landing-panda/boot.tar.bz2 http://releases.linaro.org/<refer-to-Linaro-for-latest-build-number>/android/images/landing-panda/system.tar.bz2 http://releases.linaro.org/<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 http://releases.linaro.org/<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 http://releases.linaro.org/<refer-to-Linaro-for-latest-build-number>/android/images/landing-panda/install-binaries.sh
 $ chmod a+x install-binaries.sh
 $ ./install-binaries.sh /dev/<device node of system partition>
Personal tools
Namespaces
Variants
Actions
Navigation
Toolbox