Do you need graphics-KERNEL loaded and the following in config.txt:
[PI02]
dtoverlay=vc4-kms-v3d
..maybe also rpi-vc?
I tried adding:
graphics-5.10.77-piCore-v7.tcz
rpi-vc.tcz
at the top of my onboot.lst file, and:
dtoverlay=vc4-kms-v3d
gpu_mem=256
at the bottom of my config.txt.
The "ioctl_set_msg failed: -1" error message and memory allocation problems seem to have disappeared, but the tests are still failing:
ERROR: test case THREW exception: FATAL: Unable to enable QPUs. Check your firmware is latest.