cr50: prepare to release rw 0.0.18

Erase the first location in the manifest info map to ensure that the
flash info state is updates and then the RO prevents booting earlier
images (where the map is unaltered).

BRANCH=cr50
BUG=none
TEST=verified that once both RW_A and RW_B are programmed with the new
     image and the H1 is restarted, the first info map location is erased.

Change-Id: Id48d8a2009f7cf9842b7a33f036dc98457dbeafc
Signed-off-by: Vadim Bendebury <vbendeb@chromium.org>
Reviewed-on: https://chromium-review.googlesource.com/455580
Reviewed-by: Mary Ruthven <mruthven@chromium.org>
Reviewed-by: Marius Schilder <mschilder@chromium.org>
This commit is contained in:
Vadim Bendebury
2017-03-15 10:37:34 -07:00
parent df1f500864
commit 597a3bc943
2 changed files with 4 additions and 4 deletions

View File

@@ -7,7 +7,7 @@
},
// Rollback state.
"info": {
"0": -1, "1": -1, "2": -1, "3": -1, "4": -1, "5": -1, "6": -1,
"1": -1, "2": -1, "3": -1, "4": -1, "5": -1, "6": -1,
"7": -1, "8": -1, "9": -1, "10": -1, "11": -1, "12": -1 , "13": -1,
"14": -1, "15": -1, "16": -1, "17": -1, "18": -1, "19": -1, "20": -1,
"21": -1, "22": -1, "23": -1, "24": -1, "25": -1, "26": -1, "27": -1,
@@ -40,7 +40,7 @@
"timestamp": 0,
"epoch": 0, // FWR diversification contributor, 32 bits.
"major": 0, // FW2_HIK_CHAIN counter.
"minor": 17, // Mostly harmless version field.
"minor": 18, // Mostly harmless version field.
"applysec": -1, // Mask to and with fuse BROM_APPLYSEC.
"config1": 13, // Which BROM_CONFIG1 actions to take before launching.
"err_response": 0, // Mask to or with fuse BROM_ERR_RESPONSE.

View File

@@ -7,7 +7,7 @@
},
// Rollback state.
"info": {
"0": -1, "1": -1, "2": -1, "3": -1, "4": -1, "5": -1, "6": -1,
"1": -1, "2": -1, "3": -1, "4": -1, "5": -1, "6": -1,
"7": -1, "8": -1, "9": -1, "10": -1, "11": -1, "12": -1 , "13": -1,
"14": -1, "15": -1, "16": -1, "17": -1, "18": -1, "19": -1, "20": -1,
"21": -1, "22": -1, "23": -1, "24": -1, "25": -1, "26": -1, "27": -1,
@@ -44,7 +44,7 @@
"timestamp": 1,
"epoch": 0, // FWR diversification contributor, 32 bits.
"major": 0, // FW2_HIK_CHAIN counter.
"minor": 17, // Mostly harmless version field.
"minor": 18, // Mostly harmless version field.
"applysec": -1, // Mask to and with fuse BROM_APPLYSEC.
"config1": 13, // Which BROM_CONFIG1 actions to take before launching.
"err_response": 0, // Mask to or with fuse BROM_ERR_RESPONSE.