commit | c6b15413b5c61c77e919464c323a0967e99a6da4 | [log] [tgz] |
---|---|---|
author | Sen Jiang <[email protected]> | Mon Sep 24 15:52:10 2018 -0700 |
committer | Sen Jiang <[email protected]> | Mon Sep 24 15:52:41 2018 -0700 |
tree | 11fdf02a3974ad8b5f00d452e346dbeb0a8bad75 | |
parent | 99229a1f152493924cb04d949952cc909a7f4378 [diff] |
Update README.md Test: None Change-Id: Ifb8b975701302bb6432a3d0f226b8467958c26ba
emmc_image.py is a tool to generate an eMMC USER image.
Requirement:
simg2img
binary should either be available in PATH
or SIMG2IMG_BIN
should be set to its path.Factory 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
Dump partition table:
parted emmc.img