OTA on imx8qm

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

OTA on imx8qm

Jump to solution
2,045 Views
krushnali
Contributor II

I have been trying local ota package update on imx8qm but failing. The package does not verifies on update_engine_client

[INFO:update_engine_client_android.cc(261)] Payload is not applicable. [ERROR: update_engine_client_android.cc(316)] Status(-8, EX_SERVICE_SPECIFIC): '21: Failed to parse payload header: Error

 

Code::kDownload InvalidMetadataMagicString'

 

[INFO: update_engine_client_android.cc(354)] Command took 15 ms

Please tell me what i am doing wrong. The same happens for both imcremental and full ota.

Tags (4)
0 Kudos
Reply
1 Solution
1,826 Views
Zhiming_Liu
NXP TechSupport
NXP TechSupport

Hi,

Can you wait for more time and then check the logcat output?

Best Regards,
Zhiming

View solution in original post

0 Kudos
Reply
3 Replies
1,899 Views
Zhiming_Liu
NXP TechSupport
NXP TechSupport

Hi,

Please use below command to perform OTA.

update_engine_client --payload=file:///data/ota_package/payload.bin --update --headers="$(cat /data/ota_package/payload_properties.txt)"



Best Regards,
Zhiming

1,877 Views
krushnali
Contributor II

Full ota is working fine. Incremental is accepted but does not start.

Update_engine_client --payload=file:///data/ota_package/payload.bin --update--headers="$(cat/data/ota_package/payload_properties.txt)"

[INFO: update_engine_client_android.cc(354)] Command took 323 ms

mek_8q:/ # update_engine_client -follow

[INFO: update_engine_client_android.cc(96)] onStatusUpdate (UPDATE_STATUS_IDLE (8), 0)

^C[INFO: update_engine_client_android.cc(354)] Command took 32027 ms

mek_8q:/#

0 Kudos
Reply
1,827 Views
Zhiming_Liu
NXP TechSupport
NXP TechSupport

Hi,

Can you wait for more time and then check the logcat output?

Best Regards,
Zhiming

0 Kudos
Reply