commit | 9fb2b592e2dd8884cb5343cc0233ede3b7af8b29 | [log] [tgz] |
---|---|---|
author | Tao Bao <tbao@google.com> | Thu Jun 09 12:10:54 2016 -0700 |
committer | Tao Bao <tbao@google.com> | Thu Jun 09 21:46:13 2016 -0700 |
tree | 45d9edf203be11bcb92407ea170981fa1f3b36c2 | |
parent | 0ab866b3544ff999293b2c296908e969d72b5799 [diff] |
Add bootloader_message_ab struct. Move A/B-specific fields, effectively slot_suffix as in this CL, out of bootloader_message struct. Those A/B-specific fields are expected to be managed by the A/B-bootloader or boot control HAL, which shouldn't be cleared by recovery or uncrypt. Round up the bootloader_message struct to 2-KiB. Round up the bootloader_message_ab struct to 4-KiB. Bug: 29193360 Change-Id: I5740a612456da6d4d3b00e49a202d8f689d32690
mm -j && m ramdisk-nodeps && m recoveryimage-nodeps # To boot into the new recovery image # without flashing the recovery partition: adb reboot bootloader fastboot boot $ANDROID_PRODUCT_OUT/recovery.img
# After setting up environment and lunch. mmma -j bootable/recovery # Running the tests on device. adb root adb sync data # 32-bit device adb shell /data/nativetest/recovery_unit_test/recovery_unit_test adb shell /data/nativetest/recovery_component_test/recovery_component_test # Or 64-bit device adb shell /data/nativetest64/recovery_unit_test/recovery_unit_test adb shell /data/nativetest64/recovery_component_test/recovery_component_test