Instructions to Build Android Jelly Bean on Pandaboard and Origen Boards

About 2 weeks ago, Linaro showed Android Jelly Bean running on Origen board with hardware accelerated, and last week they provided instruction to build Jelly Bean for the Pandaboard (OMAP4430) and the Origen board (Exynos 4212).

Android Jelly Bean for Pandaboard: Pre-build Image and Build Instructions

The fastest way to try Android Jelly Bean on the Pandaboard is to download the latest binaries available at https://android-build.linaro.org/builds/~linaro-android/panda-jb-gcc47-tilt-stable-blob in a PC running Ubuntu. For example (12/08/2012):

wget http://snapshots.linaro.org/android/~linaro-android/panda-jb-gcc47-tilt-stable-blob/24/target/product/pandaboard/system.tar.bz2
wget http://snapshots.linaro.org/android/~linaro-android/panda-jb-gcc47-tilt-stable-blob/24/target/product/pandaboard/boot.tar.bz2
wget http://snapshots.linaro.org/android/~linaro-android/panda-jb-gcc47-tilt-stable-blob/24/target/product/pandaboard/userdata.tar.bz2

Install linaro-image tools:

sudo add-apt-repository ppa:linaro-maintainers/tools
sudo apt-get update
sudo apt-get install linaro-image-tools

Insert an SD card, make sure it is not mounted and flash it with the firmware (Replace /dev/sdc by the corresponding drive in your system):

./linaro-image-tools/linaro-android-media-create --mmc /dev/sdc --dev panda --system system.tar.bz2 --userdata userdata.tar.bz2 --boot boot.tar.bz2

Finally install the graphics libraries:

wget http://people.linaro.org/~vishalbhoj/install-binaries-4.0.4.sh
chmod a+x install-binaries-4.0.4.sh
./install-binaries-4.0.4.sh

Remove the SD card from your PC, and insert it in the Pandaboard to start Android 4.1.

If you want to modify the source, you can also build the bin files:

wget http://snapshots.linaro.org/android/~linaro-android/panda-jb-gcc47-tilt-stable-blob/20/linaro_android_build_cmds.sh
chmod +x linaro_android_build_cmds.sh
wget http://snapshots.linaro.org/android/~linaro-android/panda-jb-gcc47-tilt-stable-blob/20/pinned-manifest.xml
./linaro_android_build_cmds.sh -m /path/to/pinned-manifest.xml

system.tar.bz2, boot.tar.bz2 and userdata.tar.bz2 will be located in out/target/product/pandaboard.

Source: http://www.linaro.org/linaro-blog/2012/08/11/trying-linaro-jellybean-android-on-tis-panda-board/

Android Jelly Bean for Pandaboard: Pre-build Image and Build Instructions

The instructions to try Android Jelly Bean on the Orgien board are basically the same, but you have download the latest binaries from https://android-build.linaro.org/builds/~linaro-android/panda-jb-gcc47-tilt-stable-blob in a PC running Ubuntu. As you may know Samsung has a lot of lawyer, and when they don’t have to handle Apple lawsuit, they spend there time writing license agreement for all downloads, so that you can’t download them the easy way (with wget). Here are the link for 13/08/2012 build:

  • system.tar.bz2 – Contains Android “system” directory
  • userdata.tar.bz2 – Contains the “data” directory with some benchmark and test apps
  • boot.tar.bz2 – Contains uImage, uInitrd, U-boot, U-boot spl and cmdline file

Install linaro-image-tools (as explained in Pandabord section), and flash the image to an SD card:

./linaro-image-tools/linaro-android-media-create --mmc /dev/sdc --dev origen --system system.tar.bz2 --userdata userdata.tar.bz2 --boot boot.tar.bz2

That’s it, you can now insert the SD card in the origen to try Android 4.1 out.

Build instructions for the Origen board is slightly more complicated than for the Pandaboard. First download the build script and the manifest files (This is for build 22):

wget http://snapshots.linaro.org/android/~linaro-android/origen-jb-gcc47-samsunglt-stable-blob/22/linaro_android_build_cmds.sh
chmod +x linaro_android_build_cmds.sh
wget http://snapshots.linaro.org/android/~linaro-android/origen-jb-gcc47-samsunglt-stable-blob/22/pinned-manifest.xml

Download the vendor tarball (via a License agreement), and build Android Jelly Bean as follows:

./linaro_android_build_cmds.sh -m /full/path/to/pinned-manifest.xml -o /full/path/to/vendor.tar.bz2

system.tar.bz2, boot.tar.bz2 and userdata.tar.bz2 will be located in android/out/target/product/origen/.

By the way, in the instructions above, when they write “/full/path/to/” they mean it, and if you have downloaded the vendor file in the current directory, simply using -o vendor.tar.bz2 will fail.

Building in Debian Wheezy also appear to work,  just install Linaro binary toolchain, and possibly some extra packages.

If you’ve changed the source and want to rebuilt, do the following in a terminal:

export TARGET_PRODUCT=origen
export TARGET_SIMULATOR=false
export CPUS=grep -c processor /proc/cpuinfo
export TARGET_TOOLS_PREFIX=android-toolchain-eabi/bin/arm-linux-androideabi-
. build/envsetup.sh
make -j${CPUS} boottarball systemtarball userdatatarball

Source: http://www.linaro.org/linaro-blog/2012/08/10/trying-the-jellybean-on-samsungs-origen-board/

Share this:

Support CNX Software! Donate via cryptocurrencies, become a Patron on Patreon, or purchase goods on Amazon or Aliexpress

ROCK Pi 4C Plus
Subscribe
Notify of
guest
The comment form collects your name, email and content to allow us keep track of the comments placed on the website. Please read and accept our website Terms and Privacy Policy to post a comment.
0 Comments
Khadas VIM4 SBC