Support using Android img

Registered by Zach Pfeffer

Android builds *.img files (boot.img, userdata.img system.img). We should be able to use these directly in linaro-android-media-create and use fastboot to program them directly in the targets we use.

Blueprint information

Status:
Not started
Approver:
None
Priority:
Undefined
Drafter:
None
Direction:
Needs approval
Assignee:
None
Definition:
New
Series goal:
Accepted for 2011q2
Implementation:
Unknown
Milestone target:
None

Related branches

Sprints

Whiteboard

Something for the backlog - maybe for 11.07.

Topics:
linaro-android-media-create extensions to support *.img
LAVA extended to support *.img
Fastbooting *.img on all targets

.img
If you do an AOSP build you will see a few .imgs:

repo init -u git://android.git.kernel.org/platform/manifest.git -m 3.1-base.xml
repo forall -c git checkout android-3.1_r1 # bunch of errors: error: pathspec 'android-3.1_r1' did not match
. build/envsetup.sh
lunch full_crespo4g-userdebug
make -j8

out/target/product/crespo4g/system.img
out/target/product/crespo4g/recovery.img
out/target/product/crespo4g/ramdisk.img
out/target/product/crespo4g/userdata.img
out/target/product/crespo4g/ramdisk-recovery.img
out/target/product/crespo4g/boot.img

These are used via fastboot to reprogram an Android unit.

A probably way out of date write up is here:

http://android-dls.com/wiki/index.php?title=HOWTO:_Unpack%2C_Edit%2C_and_Re-Pack_Boot_Images

(?)

Work Items

This blueprint contains Public information 
Everyone can see this information.