avb verified failed when booting

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

avb verified failed when booting

1,646 Views
edward_fu
Contributor III

Hi experts,

Recently I am porting imx8mq Android 9 to 11 using a development board by Zhuhai MYZR Technology Co., Ltd

Fisrstly, I built nxp official Android 11 images.
Then I replaced the u-boot-imx8mq.img with MYZR Android 9, because MYZR board used DDR4 not LPDDR.
Then program all images to the board.
Thes errors occured:
 

 

U-Boot SPL 2018.03 (Jun 19 2021 - 11:12:58 +0200)
check ddr_imem code
check ddr_imem code pass
check ddr_dmem code
check ddr_dmem code pass
Training PASS
check ddr_imem code
check ddr_imem code pass
check ddr_dmem code
check ddr_dmem code pass
Training PASS
check ddr_imem code
check ddr_imem code pass
check ddr_dmem code
check ddr_dmem code pass
Training PASS
check ddr_imem code
check ddr_imem code pass
check ddr_dmem code
check ddr_dmem code pass
Training PASS
Normal Boot
Trying to boot from MMC1


U-Boot 2018.03 (Jun 19 2021 - 11:12:58 +0200)

CPU:   Freescale i.MX8MQ rev2.1 1300 MHz (running at 800 MHz)
CPU:   Industrial temperature grade (-40C to 105C) at 73C
Reset cause: POR
Model: MYZR i.MX8M Evaluation Kit (8MQ)
DRAM:  2 GiB
MMC:   FSL_SDHC: 0, FSL_SDHC: 1
Loading Environment from MMC... *** Warning - bad CRC, using default environment

No panel detected: default to HDMI
Display: HDMI (1280x720)
In:    serial
Out:   serial
Err:   serial

 BuildInfo:
  - ATF
  - U-Boot 2018.03

flash target is MMC:0
Net:
Error: ethernet@30be0000 address not set.
No ethernet found.
Fastboot: Normal
Normal Boot
Hit any key to stop autoboot:  0
avb_slot_verify.c:603: ERROR: boot_a: Error loading footer.
 verify FAIL, state: LOCK

 

 

I am sure it's avb verified error. But I donot why?

Br,

Edward

 

0 Kudos
2 Replies

1,635 Views
jimmychan
NXP TechSupport
NXP TechSupport

Our BSP boot image and the device tree configuration are based on our EVK boards. Because the board is different (e.g. DDR, IOMUX, etc.), our EVK image to boot up the other board that will have problem. So, please contact the Zhuhai MYZR Technology to provide you their official Android 11 Board Support Package. Or they may have porting guide document to show the different between their board and our EVK board. So, you can rebuild the image after modified the source code accordingly.

0 Kudos

1,630 Views
edward_fu
Contributor III

Thanks for your reply.

Actually I have consulted with them, but they are not willing to port to Android 11 and no practical advice for me.

Now I have ported new u-boot image to my board to solve the DDR4 problem.

But now still can not boot kernel. You can see imx8mq boot error 

One thing I want to confirm with you: as long as a little diffrence in device tree will lead to avb verifying errer? Because emmc is the same with NXP evk board, only some gpio is different.

And in my mind, only all images is built successfully, avb will verify OK. Is it right? Because avb program only verifies image integrity and authenticity.

Thanks again.

0 Kudos