Linaro Android Media Create hardware pack config support

Registered by Milo Casagrande

Add support for an Android hwpack configuration file, to be passed on the command line and to be used with linaro-android-media-create, that contains specific board parameters. An Android hwpack should contain parameters for just one board.

Blueprint information

Status:
Complete
Approver:
Данило Шеган
Priority:
Medium
Drafter:
Milo Casagrande
Direction:
Approved
Assignee:
Milo Casagrande
Definition:
Approved
Series goal:
None
Implementation:
Implemented
Milestone target:
milestone icon 2013.01
Started by
Milo Casagrande
Completed by
Milo Casagrande

Sprints

Whiteboard

[milo, 2012-11-07] Hwpack v3 format: https://wiki.linaro.org/HardwarePacksV3
[milo, 2012-11-07] First draft of Android Hwpack syntax and fields: https://wiki.linaro.org/AndroidHardwarePacksV3
[milo, 2012-11-08] Linked branch with ongoing code work.
[milo, 2012-11-09] Spoke with Vishal: Android hwpack definition is OK, will update next week where to store the extracted board configurations (maybe in the same way as done with normal hwpack: a project in Launchpad with each board its own branch, accessibile by the Infrastructure and Android teams).
[milo, 2012-11-12] Extracted config values and created temporary repository at lp:~milo/linaro-infrastructure-misc/android-hwpacks
[milo, 2012-11-16] Continue work and refactoring: some tests still failing. Wrote email to the team to pick up work from here.
[dzin, Nov 20, 2012] Probably will not make this cycle, pushed out by vacation. To be retargeted to 12.12.
[vishalbhoj, 2012-11-22] Can we get the hwpacks templates/configs in git repository android.git.linaro.org. This way it will be easy for the team to update them the usual way through gerrit.
[milo, 2012-12-04] Discussed with Vishal on IRC: configuration files will be hosted and android.git.linaro.org, as suggested the location could be " device/linaro/hwpack".
[milo, 2012-12-04] Instructions on Gerrit and how to set up a project: https://wiki.linaro.org/Platform/Android/Gerrit
[danilo, 2012-12-28] Move to 2013.01, mostly completed in the Christmas week of 2012. However, considering the validation and testing we'll want to do, leaving for next cycle completely.
[milo, 2013-01-04] All code has been merged into trunk, validation tests have been done with l-m-c and l-a-m-c starting from release 12.12 down to 12.09, still ongoing tests being done with older releases.
[milo, 2013-01-04] Pinged also Vishal about testing the new features on boards different than panda.
[milo, 2013-01-07] Since l-a-m-c is backward compatible, it is not necessary to change anything on LAVA, as long as new boards are introduced.
[milo, 2013-01-07] Create also github branch with the config files to easily clone it: https://github.com/MiloCasagrande/android-hwpacks (I cannot create repositories in the Linaro GitHub group).
[milo, 2013-01-29] Blog post published: http://www.milo.name/2013/01/29/linaro-image-tools-android-hwpack/

Meta:
Headline: Provide support for an Android hwpack configuration file that holds Android board parameters to be used with linaro-android-media-create.
Acceptance: A new Android hwpack configuration format is defined based on the existing hwpack format v3. Actual board configurations are extracted from the code, and Android hwpack config files are provided. linaro-android-media create has been updated to use the config file. Backward compatibility is guaranteed.
Roadmap id: CARD-242

(?)

Work Items

Work items:
[milo] Define a simple hwpack config for Android board (based on hwpack v3): DONE
[milo] Discuss with the Android team the hwpack format and the steps forward: DONE
[milo] Write wiki page for Android Hwpack config: DONE
[milo] Extract hardcoded board parameters and provide Android hwpack files: DONE
[milo] Add command line option to linaro-android-media-create: DONE
[milo] Assure backward compatibility with previous version of Linaro Image Tools and supported boards: DONE
[milo] Check with the Validation team LAVA usage of linaro-android-media-create, if jobs need to be updated: DONE
[milo] Announce the new Android hwpack format and how to use it: DONE

Dependency tree

* Blueprints in grey have been implemented.

This blueprint contains Public information 
Everyone can see this information.