Merge lp://staging/~mabac/linaro-image-tools/snowball-android-startfiles-hack into lp://staging/linaro-image-tools/11.11
Proposed by
Mattias Backman
Status: | Merged |
---|---|
Merged at revision: | 493 |
Proposed branch: | lp://staging/~mabac/linaro-image-tools/snowball-android-startfiles-hack |
Merge into: | lp://staging/linaro-image-tools/11.11 |
Prerequisite: | lp://staging/~mabac/linaro-image-tools/fix-raw-partition-arguments |
Diff against target: |
507 lines (+321/-22) 3 files modified
linaro_image_tools/media_create/android_boards.py (+22/-0) linaro_image_tools/media_create/boards.py (+27/-12) linaro_image_tools/media_create/tests/test_media_create.py (+272/-10) |
To merge this branch: | bzr merge lp://staging/~mabac/linaro-image-tools/snowball-android-startfiles-hack |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Guilherme Salgado (community) | Needs Fixing | ||
Mathieu Poirier | Pending | ||
Review via email:
|
Description of the change
Hi,
This branch adds Android support for the Snowball EMMC boot mode. We do this by assuming that the user has downloaded a special tarball with the startfiles and unpacked them to ./startupfiles. We could add this as a command line option but for now decided to not clutter the cli with an option that is specific to one board.
We also get the u-boot.bin from the boot partition, where it is unpacked from the boot tarball.
mpoirier: should I copy the u-boot-env file too? It's not in the overlay boot file I have now.
This change should not affect any other board than the Snowball and only when using l-a-m-c to create an image to flash to emmc.
Thanks,
Mattias
To post a comment you must log in.
I've also added a delete_startupfiles flag so we can set wether to delete the files after dd:ing them. We want to delete them when we use l-m-c since the files have been copied to /boot on the target by the deb package. We don't want to leave them there.
In the l-a-m-c case the user has unpacked the files locally and does not want to have them deleted every time he runs l-a-m-c.