commit | 99229a1f152493924cb04d949952cc909a7f4378 | [log] [tgz] |
---|---|---|
author | Sen Jiang <senj@google.com> | Mon Sep 24 15:13:29 2018 -0700 |
committer | Sen Jiang <senj@google.com> | Mon Sep 24 15:23:07 2018 -0700 |
tree | a5986186fb80208eec329485870b264f7807129b | |
parent | 0bee58501fed842c2435b09e466211d5936d9e93 [diff] |
Add emmc_image.py Test: None Change-Id: I361d160017efef6bc8e3a8c2f2405bdf844c1177
emmc_image.py is a tool to generate an eMMC USER image.
Requirement:
PATH
or set SIMG2IMG_BIN
to the path of the simg2img
binaryFactory image downloaded from console in both slots:
./emmc_image.py --out emmc.zip --factory_files console_build.zip --all-slots
Custom images in slot A, factory image downloaded from console in slot B:
./emmc_image.py --out emmc.zip --factory_files console_build.zip \ --all-slots \ --partition boot_a custom_boot.img \ --partition system_a custom_system.img \ --partition vbmeta_a custom_vbmeta.img