Firmware Update Log Deep Analisys

Joined
Mar 1, 2015
Messages
788
Reaction score
185
Location
Italy
Finished my update to latest 14.0.10 and i was looking in the log hidden in the folder "Misc" of the SD Card

Each of the below bold lines is a component that need or do not need to be updated, would be cool to know what correspond to each line

This is the first step (Check)

[00013227]Packet [C:\P3S_FW_V01.04.0010.bin] resumed, card sn [0xb0ce24da].
[00013277]Packet vlink 01.04.0010 <-> 01.03.0020.
[00013324]Record vlink 01.04.0005 <-> 01.03.0020 (flow = 0).
[00013366]Version checking[2]...
[00013451][03 05][00] v34.2.0.9 -> v34.2.0.9
[00013531][03 06][00] v2.2.6.19 -> v2.3.0.13 need upgrade.
[00013579][04 00][00] v1.40.0.0 -> v1.41.0.0 need upgrade.
[00013648][09 00][00] v1.7.0.3 -> v1.7.0.3
[00013770][11 00][00] v1.7.0.0 -> v1.7.0.0
[00013855][12 00][00] v1.8.0.0 -> v1.10.0.0 need upgrade.
[00013949][12 01][00] v1.8.0.0 -> v1.10.0.0 need upgrade.
[00014046][12 02][00] v1.8.0.0 -> v1.10.0.0 need upgrade.
[00014146][12 03][00] v1.8.0.0 -> v1.10.0.0 need upgrade.
[00014191][15 00][00] v1.1.2.0 -> v1.1.2.0
[00014276][17 00][00] v1.1.1.7 -> v1.1.1.7
[00014396][17 01][00] v1.0.2.7 -> v1.0.2.7
[00014466][19 00][00] v1.0.8.96 -> v1.0.8.96
[00014600][01 00][05] v1.21.3647 -> v1.21.3647
[00014644][01 01][00] v1.20.3419 -> v1.21.3647 need upgrade

[00014688]Done.

The 2nd step (write)

[00014735]Firmware upgrading[2]...
[00014898][01 01] Firmware upgrade start...
[00045186][01 01] Firmware upgrade finished successfully.
[00045248][12 00] Firmware upgrade start...
[00109551][12 00] Firmware upgrade finished successfully.
[00109614][12 01] Firmware upgrade start...
[00171014][12 01] Firmware upgrade finished successfully.
[00171075][12 02] Firmware upgrade start...
[00236098][12 02] Firmware upgrade finished successfully.
[00236161][12 03] Firmware upgrade start...
[00299202][12 03] Firmware upgrade finished successfully.
[00299451][03 06] Firmware upgrade start...
[00649220][03 06] Firmware upgrade finished successfully.
[00649296][04 00] Firmware upgrade start...
[00706988][04 00] Firmware upgrade finished successfully.

[00707034]Done.

And the 3rd (check after update)

[00707076]Version checking[3]...
[00707166][03 05][00] v34.2.0.9 -> v34.2.0.9
[00707245][03 06][05] v2.3.0.13 -> v2.3.0.13
[00707294][04 00][05] v1.41.0.0 -> v1.41.0.0
[00707364][09 00][00] v1.7.0.3 -> v1.7.0.3
[00707486][11 00][00] v1.7.0.0 -> v1.7.0.0
[00707594][12 00][05] v1.10.0.0 -> v1.10.0.0
[00707695][12 01][05] v1.10.0.0 -> v1.10.0.0
[00707794][12 02][05] v1.10.0.0 -> v1.10.0.0
[00707894][12 03][05] v1.10.0.0 -> v1.10.0.0
[00707942][15 00][00] v1.1.2.0 -> v1.1.2.0
[00708029][17 00][00] v1.1.1.7 -> v1.1.1.7
[00708164][17 01][00] v1.0.2.7 -> v1.0.2.7
[00708225][19 00][00] v1.0.8.96 -> v1.0.8.96
[00708270][01 00][05] v1.21.3647 -> v1.21.3647
[00708312][01 01][05] v1.21.3647 -> v1.21.3647

[00708359]Packet upgrade finish successfully.

If someone has info on what correspond to these lines\codes please share!
 
Years have passed, but now we know a lot more.

The firmware package from DJI consists of modules:
o-gs/dji-firmware-tools

The update process is controlled by Ambarella module m0100, and it's the one which writes that log:
o-gs/dji-firmware-tools

The code which does the update can be checked in Ida Pro, by extracting `sys` partition from module m0100, converting it to ELF, and then applying these symbols when opened:
o-gs/dji-firmware-tools

When Ambarella sees a correct FW update file on SD-card, it first queries all other modules for versions, and then writes the results in "Version checking" block. In second step, it sends update command to all modules which version is older than the one in FW update file. It sends each module via serial interface, which is slow - so it takes quite some time to update. After an update, each module restarts. Ambarella restarts as well, if it should be updated. It starts in bootloader mode, when it can update its own firmware, then restarts back to normal mode - but it remembers there is unpdate in progress. Then it does another "Version checking", and either finishes, or does the cycle once more if some modules still need update.
 

Recent Posts

Members online

No members online now.

Forum statistics

Threads
143,086
Messages
1,467,528
Members
104,965
Latest member
Fimaj