Skip to content

Commit 70d7a6d

Browse files
committed
mpool erase - should be first
1 parent 5388581 commit 70d7a6d

File tree

2 files changed

+6
-4
lines changed

2 files changed

+6
-4
lines changed

configs/letv-x355pro-full.ini

+5-3
Original file line numberDiff line numberDiff line change
@@ -84,6 +84,11 @@ Suffix:
8484
# lzo - pack partition/chunk to lzo. Uses "mmc unlzo" directive
8585
# chunkSize - chunk size to split partition. A single chunk uses, if chunkSize is not set. Units: B, KB, MB, GB
8686

87+
[part/MPOOL]
88+
# Signatures (secureInfo) stored in that partition, so it should be erased before writing secure info.
89+
# We erase it very first
90+
erase=True
91+
8792
[part/ipanic]
8893
create=True
8994
size=0x00200000
@@ -203,6 +208,3 @@ type=sboot
203208
imageFile=${Main:ProjectFolder}/MBOOT.img
204209
type=partitionImage
205210

206-
[part/MPOOL]
207-
erase=True
208-

extract_keys.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -137,7 +137,7 @@ class CUSTOMER_KEY_BANK(Structure):
137137

138138
# Get the key bank section and store it
139139
outEncKeyBankFile = os.path.join(outFolder, 'key_bank.bin')
140-
print ("[i] Store encrypted mstar key bank to {}".format(outEncKeyBankFile))
140+
print ("[i] Save mstar key bank to {}".format(outEncKeyBankFile))
141141
utils.copyPart(mboot, outEncKeyBankFile, offset, size)
142142

143143
# Unpack the key bank to key bank structure

0 commit comments

Comments
 (0)