Closed demonlj closed 10 months ago
origin firmware 4.0.4_0012.0650 update to 4.0.8_0006.0650_mi_4.0.4_0006
cd /tmp && wget -O /tmp/curl "http://master.dl.sourceforge.net/project/mgl03/bin/curl?viasf=1" && chmod a+x /tmp/curl /tmp/curl -s -k -L -o /tmp/m1s_update.sh https://raw.githubusercontent.com/niceboygithub/AqaraM1SM2fw/main/modified/M1S/m1s_update.sh chmod a+x /tmp/m1s_update.sh && /tmp/m1s_update.sh
# /tmp/m1s_update.sh m1s_update.sh revision: 2 type: lumi.gateway.acn01, model: AH_M1S platform: aiot, path: /tmp/fw.tar.gz, sign: 0 Unpack path : /tmp/ota_dir Firmware path : /data/ota_dir Available ROM size(b): 24838144 Available RAM size(b): 20758528 Update to 4.0.8_0006.0650_mi_4.0.4_0006 Get packages, please wait... Got packages done sh: bad number [INFO]: zigbee_msnger(ver: v1.0.1) firing up, built at Jul 19 2023 16:06:22; Author: liang.wang@aqara.com (main.c:297) connect localhost:1883 on_connect result=0 [INFO]: ota progress=5 (main.c:63) [INFO]: ota progress=10 (main.c:63) [INFO]: ota progress=15 (main.c:63) [INFO]: ota progress=20 (main.c:63) [INFO]: ota progress=25 (main.c:63) [INFO]: ota progress=30 (main.c:63) [INFO]: ota progress=35 (main.c:63) [INFO]: ota progress=40 (main.c:63) [INFO]: ota progress=45 (main.c:63) [INFO]: ota progress=50 (main.c:63) [INFO]: ota progress=55 (main.c:63) [INFO]: ota progress=60 (main.c:63) [INFO]: ota progress=65 (main.c:63) [INFO]: ota progress=70 (main.c:63) [INFO]: ota progress=75 (main.c:63) [INFO]: ota progress=80 (main.c:63) [INFO]: ota progress=85 (main.c:63) [INFO]: ota progress=90 (main.c:63) [INFO]: ota progress=95 (main.c:63) [INFO]: ota zigbee coordinator successful (main.c:115) [INFO]: zigbee_msnger(ver: v1.0.1) firing up, built at Jul 19 2023 16:06:22; Author: liang.wang@aqara.com (main.c:297) connect localhost:1883 on_connect result=0 [INFO]: coor ver =0650 (main.c:73) [INFO]: coor ver =0650 (main.c:73) => revision: [36] <= Send >> {"_to":1, "method":"basis.system", "id":981874644, "params":{"name":"system_dfu","value":"0"}} >>> {"_from":1,"id":981874644,"result":["ok"]} => revision: [36] <= Send >> {"_to":1, "method":"basis.system", "id":1069412604, "params":{"name":"system_dfu","value":"1"}} >>> {"_from":1,"id":1069412604,"result":["ok"]} fw_update /tmp/ota_dir/linux.bin suceess fw_update /tmp/ota_dir/root.bin suceess Update Done, Please manually reboot!
after reboot, the firmware does not update
solved, thank you
如何解决的?
origin firmware 4.0.4_0012.0650 update to 4.0.8_0006.0650_mi_4.0.4_0006
after reboot, the firmware does not update