I’m making a custom build of balenaOS because I need to use a screen with a 1280x800 resolution which needs a custom EDID file.
I tried this using Compulab’s Yocto image, and I successfully loaded the EDID file to get the 1280x800 resolution. To achieve this I had to change some boot parameters in GRUB, and I would like to do something similar using u-boot.
I created a recipe to add the EDID binary to /lib/firmware/edid, and also re-enabled the SAVEENV command on U-Boot to change the variables.
I’ve tried changing different variables (without saving) to load the edid file, but I get the following errors:
platform HDMI-A-1: Direct firmware load for edid/edid.bin failed with error -2
[drm:edid_load] *ERROR* Requesting EDID firmware "edid/edid.bin" failed (err=-2)
I believe this error indicates that the file could not be found.
I checked the HostOS and I can see the file in lib/firmware/edid
, but I think the boot process is trying to load the file before the rootfs has been loaded.
I also enabled the kernel configuration CONFIG_DRM_LOAD_EDID_FIRMWARE=y
.
Could you give me some advice on which boot variables I need to change to successfully load the EDID file?
Or maybe you could tell me where I need to add the file so it is available on boot?