Hi experts,
I customized an imx8mq board using DDR4 not LPDDR4. And I am porting Android 11 on my board based on imx8mq_evk.
But I encounted a boot error, the error message is below:
U-Boot SPL 2020.04-dirty (Jul 16 2021 - 07:46:39 +0200)
DDRINFO: start DRAM init
DDRINFO: DRAM rate 2400MTS
DDRINFO:ddrphy calibration done
DDRINFO: ddrmix config done
Normal Boot
Trying to boot from MMC1
U-Boot 2020.04-dirty (Jul 16 2021 - 07:46:39 +0200)
CPU: i.MX8MQ rev2.1 1300 MHz (running at 800 MHz)
CPU: Industrial temperature grade (-40C to 105C) at 57C
Reset cause: POR
Model: NXP i.MX8MQ EVK
DRAM: 2 GiB
tcpc_init: Can't find device id=0x50
setup_typec: tcpc init failed, err=-19
MMC: FSL_SDHC: 0, FSL_SDHC: 1
Loading Environment from MMC... *** Warning - bad CRC, using default environment
[*]-Video Link 0imx8m_hdmi_probe
(1280 x 720)
[0] display-controller@32e00000, video
[1] hdmi@32c00000, display
In: serial
Out: serial
Err: serial
BuildInfo:
- ATF 4c0cbd2
- U-Boot 2020.04-dirty
flash target is MMC:0
Net:
Error: ethernet@30be0000 address not set.
Error: ethernet@30be0000 address not set.
No ethernet found.
Fastboot: Normal
Normal Boot
Hit any key to stop autoboot: 0
In boota get fastboot lock status error. Set lock status
Magic is incorrect.
Error validating A/B metadata from disk. Resetting and writing new A/B metadata to disk.
fsl_read_from_partition_multi: no vendor_boot_a partition
idx 0, ptn 0 name='gpt' start=0 len=2048
idx 1, ptn 0 name='' start=0 len=0
idx 2, ptn 0 name='mcu_os' start=10240 len=512
idx 3, ptn 0 name='all' start=0 len=14876672
idx 4, ptn 0 name='bootloader0' start=66 len=8192
idx 5, ptn 1 name='dtbo_a' start=16384 len=8192
idx 6, ptn 2 name='dtbo_b' start=24576 len=8192
idx 7, ptn 3 name='boot_a' start=32768 len=131072
idx 8, ptn 4 name='boot_b' start=163840 len=131072
idx 9, ptn 5 name='system_a' start=294912 len=3145728
idx 10, ptn 6 name='system_b' start=3440640 len=3145728
idx 11, ptn 7 name='system_ext_a' start=6586368 len=262144
idx 12, ptn 8 name='system_ext_b' start=6848512 len=262144
idx 13, ptn 9 name='misc' start=7110656 len=8192
idx 14, ptn 10 name='metadata' start=7118848 len=32768
idx 15, ptn 11 name='presistdata' start=7151616 len=2048
idx 16, ptn 12 name='vendor_a' start=7155712 len=1310720
idx 17, ptn 13 name='vendor_b' start=8466432 len=1310720
idx 18, ptn 14 name='product_a' start=9777152 len=524288
idx 19, ptn 15 name='product_b' start=10301440 len=524288
idx 20, ptn 16 name='userdata' start=10825728 len=3837952
idx 21, ptn 17 name='fbmisc' start=14663680 len=2048
idx 22, ptn 18 name='vbmeta_a' start=14667776 len=2048
idx 23, ptn 19 name='vbmeta_b' start=14671872 len=2048
avb_slot_verify.c:133: ERROR: vendor_boot_a: Error loading data from partition.
verify FAIL, state: LOCK
Actually in my GPT partition table there is no vendor_oot partition, why avb needs to validate vendor_boot partition.
How to fix it?
Thanks in advance.
Br,
Edward
Hi,
>> why avb needs to validate vendor_boot partition
This is determined by the android avb mechanism.
You can also disable avb feature in BoardConfig.mk, like below:
BOARD_AVB_ENABLE := false
BOARD_BUILD_DISABLED_VBMETAIMAGE := true
Try it, please!
Have a good day!
Regards,
weidong
Hi,
Actually I have tried before, but there is no function.
Now I know why this issue occurs. Because in Android 11 avb verify must have vendor_boot partion, it means must use xxab_super.bpt.
Br,
Edward
Has anbody encounted this issue?