Building Android bootloader

From OMAPpedia

Revision as of 21:42, 18 July 2011 by Praveens (Talk | contribs)
Jump to: navigation, search
Android Logov2.jpg
How to get started building your own binaries for the Android OS on your OMAP Platform
Overview Step 1 Step 2 Step 3 Step 4 Step 5 Step 6 Step 7 Step 8 Step 9


Step 2



The first step would be to decide which release you would want to build. If you are not looking for a particular release, you can pick the latest release. Android releases have a detailed release notes that also provides instructions on which release tags to use and how to build. Releases can be referred from Android Releases. If you want to leverage the TI binary releases to enable OMAP specific features, you will have to take the community releases that have been validated with those packages.

The bootloader, kernel and file system have to be compatible and please refer to the release notes and use the appropriate release tags or commits referred.

Pull u-boot.bin and x-loader Source


cd ~/android_rls/bootloader
git clone git:// u-boot
cd u-boot
git checkout -b <name-of-new-branch> <based-on-some-commit-ID>

See Release_Notes for a commit ID


cd ~/android_rls/bootloader
git clone git:// x-loader
cd x-loader
git checkout -b <name-of-new-branch> <based-on-some-commit-ID>

See Release_Notes for a commit ID

Note: If you are new to the usage of bootloader and Git and need step by step instructions, please refer to Bootloader Project.

Building u-boot and x-loader


cd ~/android_rls/bootloader/u-boot
make ARCH=arm <board_name>_config
cd ~/android_rls/bootloader/u-boot/boards/


cd ~/android_rls/bootloader/x-loader
make ARCH=arm <board_name>_config
make ift
cd ~/android_rls/bootloader/x-loader/boards/

Left arrow1.png Android Logov2.jpg Right arrow1.png
Previous Home Next
Personal tools