add experimental support for android platform images
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Linaro Image Tools |
Fix Released
|
High
|
Jeremy Chang |
Bug Description
partition layout would be
+ boot (vfat) - 128M - not mounted
+ rootfs (ext4) - 128M - mounted: /
+ system (ext4) - 256M - mounted /system
+ cache (ext4) - 256M - mounted /cache
+ userdata (ext4) - 512M - mounted /data
+ sdcard (ext4) - rest of size - mounted as /sdcard
artifacts for userspace from here https:/
+ after mounting the partitions like above, just unpack all tarballs (system, root, userdata) to /
also we said we will have an experimental hwpack tarball thing for now that would have two main directories:
+ boot/
+ overlay/
* with boot/ being what needs to go on the boot partition (e.g. u-boot.bin, uImage)
* and overlay/ being a tree structure that you have to copy to / after combining the other tarballs from above.
Related branches
- James Westby (community): Approve
- Guilherme Salgado: Pending requested
-
Diff: 483 lines (+362/-4)7 files modifiedlinaro-android-media-create (+158/-0)
linaro_image_tools/media_create/__init__.py (+45/-0)
linaro_image_tools/media_create/boards.py (+54/-0)
linaro_image_tools/media_create/partitions.py (+89/-3)
linaro_image_tools/media_create/rootfs.py (+7/-0)
linaro_image_tools/media_create/unpack_binary_tarball.py (+7/-0)
setup.py (+2/-1)
Changed in linaro-image-tools: | |
importance: | Undecided → High |
status: | New → Triaged |
Changed in linaro-image-tools: | |
assignee: | nobody → Jeremy Chang (jeremychang) |
Changed in linaro-image-tools: | |
status: | Fix Committed → Fix Released |
Hi,
salgado estimates that putting together a linaro- android- media-create prototype that
* Partitions the image in that layout
* Installs the artefacts
* Writes it to an SD card
will be about a days work.
It's not clear how you want to generate the hwpacks at this stage.
Installing them as you describe should be straightforward, but we can't estimate anything
about their creation without knowing more about your thoughts there.
Thanks,
James