Not able to perform OTA update

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

Not able to perform OTA update

247 Views
Shanga
Contributor II

Hi,

 - We have preformed all the steps required to perform a full package update for evk_imx8mp using the user guide(under 'Building a full update package') for version android-14.0.0_2.0.0.

 - After pushing the payload.bin as directed,While running the update_engine_client command(in root) we noticed that we aren't able to update the version.

 - OTA version -- android-14.0.0_2.0.0 ; On-board build version -- android-14.0.0_2.0.0

 - We have double checked the hash tag and other metadata thoroughly two to three times

 - I have attached the logcat value after giving update_engine_client command for your reference

IMX8MPLUS#ANDROID14

 

Labels (1)
0 Kudos
Reply
5 Replies

221 Views
Shanga
Contributor II

 - Error faced : hash not getting verified.

 - logcat of the error faced attached below.

0 Kudos
Reply

209 Views
Zhiming_Liu
NXP TechSupport
NXP TechSupport

Hi

Please share update_engine command you use.


Best Regards
Zhiming

0 Kudos
Reply

187 Views
Shanga
Contributor II
I have attached the command and the properties.txt content below,(android 14,2.0.0 build)

FILE_HASH=GuRveEGvGrlz7HEJhljsLiNMbTJ3h8Tv4bI4kqPltFI=
FILE_SIZE=720348229
METADATA_HASH=qAtYxW5CRxZYKBKD7MxwjusSs8JCOrxZt6SjkwBCxPM=
METADATA_SIZE=32709


update_engine_client --payload=http://<server-ip>/downloads/payload.bin --update --headers="FILE_HASH=GuRveEGvGrlz7HEJhljsLiNMbTJ3h8Tv4bI4kqPltFI= FILE_SIZE=720348229 METADATA_HASH=qAtYxW5CRxZYKBKD7MxwjusSs8JCOrxZt6SjkwBCxPM= METADATA_SIZE=32709"
0 Kudos
Reply

175 Views
Zhiming_Liu
NXP TechSupport
NXP TechSupport

Hi

Zhiming_Liu_0-1728607558010.png

 

You can try below commands, handle line breaks carefully until the update_engine can decode hash.

update_engine_client --payload=http://<server-ip>/downloads/payload.bin --update \
--headers="FILE_HASH=GuRveEGvGrlz7HEJhljsLiNMbTJ3h8Tv4bI4kqPltFI= FILE_SIZE=720348229 METADATA_HASH=qAtYxW5CRxZYKBKD7MxwjusSs8JCOrxZt6SjkwBCxPM= METADATA_SIZE=32709"

 

update_engine_client --payload=http://<server-ip>/downloads/payload.bin --update \
--headers="FILE_HASH=GuRveEGvGrlz7HEJhljsLiNMbTJ3h8Tv4bI4kqPltFI= \
FILE_SIZE=720348229 \
METADATA_HASH=qAtYxW5CRxZYKBKD7MxwjusSs8JCOrxZt6SjkwBCxPM= \
METADATA_SIZE=32709"




Best Regards
Zhiming

0 Kudos
Reply

108 Views
Shanga
Contributor II

I have pasted the command used and the properties.txt contents of our OTA update zip,

FILE_HASH=GuRveEGvGrlz7HEJhljsLiNMbTJ3h8Tv4bI4kqPltFI=
FILE_SIZE=720348229
METADATA_HASH=qAtYxW5CRxZYKBKD7MxwjusSs8JCOrxZt6SjkwBCxPM=
METADATA_SIZE=32709


update_engine_client --payload=http://ip/downloads/payload.bin --update --headers="FILE_HASH=GuRveEGvGrlz7HEJhljsLiNMbTJ3h8Tv4bI4kqPltFI= FILE_SIZE=720348229 METADATA_HASH=qAtYxW5CRxZYKBKD7MxwjusSs8JCOrxZt6SjkwBCxPM= METADATA_SIZE=32709"

Tags (1)
0 Kudos
Reply