Build MLO from Source in Android Builds

Registered by Zach Pfeffer on 2011-07-04

We are currently using binary MLO's in Panda and Beagle. We need to switch to building these from the source at:

<remote name="linaro-other" fetch="git://"/>
<project path="u-boot" name="boot/u-boot-linaro-stable" revision="master" remote="linaro-other"/>

u-image.img is also built

Blueprint information

Zach Pfeffer
Zach Pfeffer
Tony Mansson
Series goal:
Accepted for 2011q2
Milestone target:
milestone icon 11.09
Started by
Zach Pfeffer on 2011-07-11
Completed by
Zach Pfeffer on 2011-09-12

Related branches



[pfefferz, 2011/9/12] Fixed on Panda builds:

[pfefferz, 2011/9/6]: Fixed on

[asac, Jul 11, 2011]: even though I take the blame of being lax by myself on blueprint summaries, I think we should try to keep in mind that they are potentially only two/three clicks from a release announcement away and we want to show a high quality everywhere. Please phrase the summary with a bit more love; make clear what the problem addressed is, what component is being worked on; what deliverable comes out of this blueprint and what is the acceptance criteria to understand the planned scope.
[mansson, Aug 16, 2011]: The background is that the TI x-loader binary (renamed "MLO") is GPLv2 but only supplied as a binary. MLO needs to be configured and built using its own Makefile and then installed in the vfat (boot) partition. Including the case when the build is done with -jN. The BP explains how this will happen.

MLO is now built from source code in Android builds

The MLO that Panda and Panda-LEB uses for Android uses gets built from source from the upstream git (git://

Notes: Need to be reviewed again by Patrik

I guess we need Andys MLO also in the build if I understood him correctly.

Well, a "modern" x-loader is needed, the

 git:// master

will be fine.

git clone git://

use master branch

CROSS_COMPILE=/workspace/x-loader/android-toolchain-eabi/bin/arm-eabi- make omap4430panda_config
CROSS_COMPILE=/workspace/x-loader/android-toolchain-eabi/bin/arm-eabi-- make


Work Items

Work items:
Clone x-loader and build with the Linaro toolchain: DONE
Update the manifests to include the new x-loader: DONE
Integrate new x-loader in Android builds: DONE
Install the built MLO and remove the binary: DONE
Test all builds: DONE
Submit to Gerrit: DONE
[pfefferz] Change Id69e982f: pandaboard: use MLO and u-boot.img from built from u-boot: DONE
[pfefferz] Fixed on Panda build: DONE
[pfefferz] Fix on Panda-LEB: DONE

This blueprint contains Public information 
Everyone can see this information.