niceboygithub / AqaraM1SM2fw

Aqara Gateway M1S (ZHWG15LM) , P3(KTBL12LM), H1(QBCZWG11LM), M2 (ZHWG12LM) Firmwares
160 stars 26 forks source link

New firmware of Aqara P3 gateway is out #69

Closed hawkefly closed 1 year ago

hawkefly commented 1 year ago

Aqara P3 gateway firmware: 3.5.2_0012, Could you make the modified firmware.

https://cdn.aqara.com/cdn/opencloud-product/mainland/product-firmware/prd/lumi.aircondition.acn05/20230302105345_lumi.aircondition.acn05_AIOT_V3.5.2_0012.0636_20230301_7fb494.bin

hawkefly commented 1 year ago

Upgrade Failed...

/# chmod a+x /tmp/p3_update.sh && /tmp/p3_update.sh p3_update.sh revision: 2 type: lumi.aircondition.acn05, model: AC_P3 platform: aiot, path: /tmp/fw.tar.gz, sign: 0 Unpack path : /tmp/ota_dir Firmware path : /data/ota_dir Available ROM size(b): 20262912 Available RAM size(b): 27983872 Update to 3.5.2_0012.0636 Get packages, please wait... Got packages done AalUart_Open /dev/ttyS2 recv STA! recv STA! recv close ACK! recv CRC check! ir_loacl_crc = 962b, ir_msg_crc=72da,retry... recv STA! Error:Unkonw flag:00000043! ir_loacl_crc = 0, ir_msg_crc=72da,retry... recv STA! Error:Unkonw flag:00000043! ir_loacl_crc = 0, ir_msg_crc=72da,retry... recv STA! Error:Unkonw flag:00000043! ir_loacl_crc = 0, ir_msg_crc=72da,retry... recv STA! Error:Unkonw flag:00000043! ir_loacl_crc = 0, ir_msg_crc=72da,retry... Update failed, reason: OTA failed!

hawkefly commented 1 year ago

I retried many many times . Finally success.

/tmp/p3_update.sh

p3_update.sh revision: 2 type: lumi.aircondition.acn05, model: AC_P3 platform: aiot, path: /tmp/fw.tar.gz, sign: 0 Unpack path : /tmp/ota_dir Firmware path : /data/ota_dir Available ROM size(b): 20385792 Available RAM size(b): 27820032 Update to 3.5.2_0012.0636 Get packages, please wait... Got packages done AalUart_Open /dev/ttyS2 recv STA! recv close ACK! recv CRC check! ir ota successful ir_loacl_crc = 962b, ir_msg_crc=962b Update failed, reason: OTA failed!

reboot

Connection closed by foreign host.

chmod a+x /tmp/p3_update.sh && /tmp/p3_update.sh

p3_update.sh revision: 2 type: lumi.aircondition.acn05, model: AC_P3 platform: aiot, path: /tmp/fw.tar.gz, sign: 0 Unpack path : /tmp/ota_dir Firmware path : /data/ota_dir Available ROM size(b): 20250624 Available RAM size(b): 13926400 Update to 3.5.2_0012.0636 Get packages, please wait... Got packages done AalUart_Open /dev/ttyS2 recv STA! recv close ACK! recv CRC check! ir ota successful ir_loacl_crc = 962b, ir_msg_crc=962b sh: bad number [INFO]: zigbee_msnger(ver: v1.0.1) firing up, built at Dec 27 2022 11:19:02; 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 Dec 27 2022 11:19:02; Author: liang.wang@aqara.com (main.c:297) connect localhost:1883 on_connect result=0 [INFO]: coor ver =0636 (main.c:73) fw_update /tmp/ota_dir/linux.bin suceess fw_update /tmp/ota_dir/root.bin suceess

Update Done, Please manually reboot!

hawkefly commented 1 year ago

I got this output on another P3.

chmod a+x /tmp/p3_update.sh && /tmp/p3_update.sh

p3_update.sh revision: 2 type: lumi.aircondition.acn05, model: AC_P3 platform: aiot, path: /tmp/fw.tar.gz, sign: 0 Unpack path : /tmp/ota_dir Firmware path : /data/ota_dir Available ROM size(b): 20422656 Available RAM size(b): 27852800 Update to 3.5.2_0012.0636 Get packages, please wait... Got packages done AalUart_Open /dev/ttyS2 recv STA! recv close ACK! recv CRC check! ir ota successful ir_loacl_crc = 962b, ir_msg_crc=962b fw_update /tmp/ota_dir/linux.bin suceess fw_update /tmp/ota_dir/root.bin suceess

Update Done, Please manually reboot!

Compare to the output above ,there is no zigbee_msnger progress. These two P3 were bought together