niceboygithub / AqaraCameraHubfw

Aqara Camera Hub G2/G2H and Aqara Hub E1 firmwares
87 stars 24 forks source link

M2PoE upgrade to 4.1.6 modified firmware failed #41

Open eggleader-zhang opened 1 month ago

eggleader-zhang commented 1 month ago

I hava 3 M2PoE devices. But 2 of them can not upgrade to 4.1.6 the logs show:


platform: aiot, path: /tmp/fw.tar.gz, sign: 0

Original OTA package : 
Unpack path : /data/ota_unpack
Firmware path : /data/ota_dir
OTA packages size(kb) : 16384
Available ROM size(kb): 50932
Available RAM size(kb): 17616
Update to 4.1.6_0018.0012
Get packages, please wait...

Got package done

env right
===Update IR-Controller===
===Update zigbee-coordinator===
zb_coordinator: 0021, coor_bin_name:Network-Co-Processor.ota
Network-Co-Processor_115200_MG21_0012_20240523_9E975B.ota

rm: can't remove '/data/ota-files/*': No such file or directory
==2==zb_platform: 0021, MG21

[INFO]: exec zgb_ota success  (command.c:374)
zigbee_msnger zgb_ota /data/ota-files/Network-Co-Processor.ota

[INFO]: exec get_zgb_ver failed  (command.c:374)

[INFO]: exec get_zgb_ver failed  (command.c:374)

[INFO]: exec get_zgb_ver failed  (command.c:374)

[INFO]: exec get_zgb_ver failed  (command.c:374)

[INFO]: exec get_zgb_ver failed  (command.c:374)

[INFO]: exec get_zgb_ver failed  (command.c:374)
eggleader-zhang commented 1 month ago

finally it shows ota failed


[INFO]: exec get_zgb_ver failed  (command.c:374)

[INFO]: exec get_zgb_ver failed  (command.c:374)

[INFO]: exec get_zgb_ver failed  (command.c:374)

[INFO]: exec get_zgb_ver failed  (command.c:374)

[INFO]: exec get_zgb_ver failed  (command.c:374)

[INFO]: exec get_zgb_ver failed  (command.c:374)

[INFO]: exec get_zgb_ver failed  (command.c:374)

[INFO]: exec get_zgb_ver failed  (command.c:374)

[INFO]: exec get_zgb_ver failed  (command.c:374)

[INFO]: exec get_zgb_ver failed  (command.c:374)
coordinator ota fail
Update failed, reason: OTA failed!