avb_ab_flow.c:30: ERROR: Magic is incorrect.

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

avb_ab_flow.c:30: ERROR: Magic is incorrect.

3,082 Views
wanpengfu
Contributor II

I use the command "sudo ./uuu_imx_android_flash.sh -f imx8mm -a -e" to update my imx8m mini EVK with the image "android_p9.0.0_2.0.0-ga_image_8mmevk".

The debug UART print the error messge

"avb_ab_flow.c:30: ERROR: Magic is incorrect.
avb_ab_flow.c:112: ERROR: Error validating A/B metadata from disk. Resetting and writing new A/B metadata to disk. "

Untitled picture.png

Can anyone give me an answer? 

Thanks.

Labels (1)
Tags (2)
0 Kudos
Reply
2 Replies

2,677 Views
hongxingyu1982
Contributor III

你好,

请问你这个问题最后解决了吗?我现在也遇到了同样的问题,求解决方法。

BR

2,677 Views
AldoG
NXP TechSupport
NXP TechSupport

Hello,

 

This error seems to be related that you are flashing only one of the slots (-a), so when it expects to find the other slot metadata the error pops.

Having both slots are used for OTA updates for android, you can check more of this here

https://source.android.com/devices/tech/ota/ab

 

If you need to have both slots flashed you can use the following command

sudo ./uuu_imx_android_flash.sh -f imx8mm -e

 

Hope this helps,

Best regards,
Aldo.

-------------------------------------------------------------------------------
Note:
- If this post answers your question, please click the "Mark Correct" button. Thank you!

- We are following threads for 7 weeks after the last post, later replies are ignored
Please open a new thread and refer to the closed one, if you have a related question at a later point in time.
-------------------------------------------------------------------------------

0 Kudos
Reply