commit | 66f1fa65658d33f9bdc42691738a5fb6559560cb | [log] [tgz] |
---|---|---|
author | Tao Bao <tbao@google.com> | Tue May 03 10:02:01 2016 -0700 |
committer | Tao Bao <tbao@google.com> | Wed May 04 12:21:42 2016 -0700 |
tree | f0481e6741fc81ea1800017dc5ecb5775501eca3 | |
parent | 878775fd750d7164bd0920b4b94b59e0edab8ed3 [diff] |
releasetools: Perform erase commands first. We used to erase all the unused blocks at the end of an update. In order to work around the eMMC issue in b/28347095, we move part of the erase commands, which won't be used during the update, to the beginning. The reset would be erased at the end. This is in hopes of avoiding eMMC getting starved for clean blocks which would otherwise fail an OTA. Bug: 28347095 Change-Id: Ia96b06216b35d6700858687a66734af36d0ec213