diff options
author | fang hui <hui.fang@nxp.com> | 2016-12-19 14:02:02 +0800 |
---|---|---|
committer | fang hui <hui.fang@nxp.com> | 2016-12-19 14:02:02 +0800 |
commit | 442f6237f6d0ca9c45a18d9a2e2cf88a362d619d (patch) | |
tree | 358368e55211e75fe7dfee5a1a3fc2b19493818b /test | |
parent | 9d285f932afa427e057dd073a7b81cace734e503 (diff) | |
download | u-boot-imx-442f6237f6d0ca9c45a18d9a2e2cf88a362d619d.zip u-boot-imx-442f6237f6d0ca9c45a18d9a2e2cf88a362d619d.tar.gz u-boot-imx-442f6237f6d0ca9c45a18d9a2e2cf88a362d619d.tar.bz2 |
MA-9119 - [IOT] iot-flashall-imx6ul.sh some times exit as
"ERROR: device is LOCKed!"
The issue occurs when the "fbmisc" partition is empty.
So the decode data is not same as plain text, then goto lock status.
When "gpt" change from invalid to valid, set unlock status can fix it.
When set unlock status, will fist check current status, if unlock, do nothing.
In the previous code, when check lock status, since not re-load partition table
to memory, fail to find "fbmisc" partition, So just return unlock status.
To fix it, when "gpt" change from invalid to valid, fisrt re-load partition
table, then set unlock status.
Change-Id: Iec6cfe6bf1030b986d2b839f9c81a3e048d91dcd
Signed-off-by: fang hui <hui.fang@nxp.com>
Diffstat (limited to 'test')
0 files changed, 0 insertions, 0 deletions