diff options
| author | Kyle Nieman <kyle.nieman@fii-na.com> | 2022-11-23 20:11:01 +0300 |
|---|---|---|
| committer | Vivekanand Veeracholan <vveerach@google.com> | 2023-06-30 20:02:00 +0300 |
| commit | 18c33091e4ca2cf39daa58d3f488b25516c5feeb (patch) | |
| tree | 2b2d14d89c2f8bb760f542c97493f9c8730cc857 /meta-openembedded/meta-python/recipes-devtools/python/python3-ipy | |
| parent | f2d1881811d307a6097ee5314d136c40f254c14b (diff) | |
| download | openbmc-18c33091e4ca2cf39daa58d3f488b25516c5feeb.tar.xz | |
meta-fii: meta-mori: Fix error checking for fw flash
The return values for flashing cplds were incorrect when failure
occurred as it was expecting a integer value, but instead received text
output. To check for error, output is now searched for error messages.
Tested: I flashed an incorrect version of CPLD verify and saw that flash
message correctly stated failed.
For bios flash, the output would hang for an excessive amount of time
the flashing status. This is due to the output being stored to the
variable prior to being output.
Tested: I flashed the bios, and instantly saw a counter for the erase
progress. Upon failing flash verification, the script output a failure
message.
Signed-off-by: Kyle Nieman <kyle.nieman@fii-na.com>
Change-Id: Ie84418117ab4e712b4f5b5c15190044e2118a808
Diffstat (limited to 'meta-openembedded/meta-python/recipes-devtools/python/python3-ipy')
0 files changed, 0 insertions, 0 deletions
