I'm currently trying to optimize boottime of the IMX8MQ-EVK.
For this i wanted to use kmscube on a monitor connected with HDMI as an example application to replace init.
So far i have a bashscript which executes instead of init and launches kmscube (and after that init).
But when kmscube should execute it prints
could not open drm device
failed to initialize legacy DRM
I tried to give it other devices from /dev/dri but with the same outcome.
So i thought about "attaching" the monitor before executing the script.
Unfortunately i have no idea how to do that.