20181025_jeffrey - silenceuncrio/diary GitHub Wiki
0840
review
0910
commit 6f31ee95080d42e8d877531c3be44d645881452e
Refs: [release/v1.74], {origin/release/v1.74}
Author: jeffrey <[email protected]>
Date: Thu Oct 25 09:06:45 2018 +0800
add 'active-image' field at cli path 'mgmt info list'
.../prosrc/icos/clishell/cli_mgmt_identification.c | 28 ++++++++++++++--------
1 file changed, 18 insertions(+), 10 deletions(-)
1640
剛剛 john 反映一個 M360 firmware upgrade 不完的新現象
看 /tmp/FirmwareUpgrade.log
是停在 Write the firmware image to MTD device ...
相對應的 shell script 如下
function write_to_mtd {
log "\nWrite the firmware image to MTD device ..."
progress_status "Write the firmware image to MTD device ..."
mtd write "$UPGRADE_BIN" "$UPGRADE_DEV"
log "Write the firmware image to MTD device succeeded"
progress_status "Write the firmware image to MTD device succeeded"
}
想說 mtd 這道 command 難道是做不完嗎?
不過 ps aux | grep mtd
也沒任何發現
rm /tmp/FirmwareUpgrade.progress.json
讓網頁能夠重新再 upgrade 一次
然後就正常了
john 是建議我可以檢查一下 mtd 這道 command 的 return 值