Hello,
I'm currently working on running the Android VTS test suite against a custom board using the following items:
1. i.MX8M+
2. Android 11-2.6.0 BSP
The issue that I'm having is the following VTS test fails:
vts_security_avb_test
With the following failures:
AvbTest#Boot
AvbTest#SystemHashtree
AvbTest#SystemDescriptor
These tests must pass for us as we are a GMS certified product, all compatibility tests must pass for certification to succeed.
From my understanding, I have to flash the Google-signed GKI (Generic Kernel Image) and vbmeta.img images to get these tests to pass. However, when I do so, the board doesn't boot and instead gets stuck at 'Starting kernel ...'.
The procedure I'm using to flash the device is:
1. Flash normal image compiled from Android 11 2.6.0 BSP
2. adb reboot bootloader
3. fastboot -w
4. fastboot flash boot <GKI image>
5. fastboot flash --disable-verification vbmeta <GKI/GSI vbmeta>
After performing the above steps, I would expect the device to boot using GKI, however it just hangs with 'Starting kernel ...'.
I have look ahead at the Android 12 BSP, which supports shipping a generic kernel image from Google, however upgrading to the Android 12 BSP at this point is impossible due to project timelines so I must use the Android 11 2.6.0 BSP.
Attached are UBOOT logs from both successful boot (using compiled image from BSP) and unsuccessful boot after flashing GKI.