Tiny Core Linux
Tiny Core Base => TCB Q&A Forum => Topic started by: qg on February 08, 2017, 01:58:26 AM
-
Hi,
I am using the distro Tinycore 7.2 and I am trying to load a specific edid firmware. I added the options "drm_kms_helper.edid_firmware=edid.bin" to the kernel line in Grub. I am using the i915 driver (with extension graphics-4.2.9-tinycore.tcz) and I have in my kernel configuration file:
CONFIG_DRM_KMS_HELPER=m
CONFIG_DRM_KMS_FB_HELPER=y
CONFIG_DRM_I915_KMS=y
Unfortunately, I get the following error:
Direct firmware load for edid.bin failed with error -2
*ERROR* Requesting EDID firmware "edid.bin" failed (err=-11)
I looked for information on the Internet but I couldn't find anything about the error -11. Anyone had the same issue and found a solution to it ?
Thanks
-
Ref the tinycore kernel config:
CONFIG_DRM_KMS_HELPER=m
CONFIG_DRM_KMS_FB_HELPER=y
# CONFIG_DRM_LOAD_EDID_FIRMWARE is not set
..you would need to recompile the kernel if you changed to "CONFIG_DRM_LOAD_EDID_FIRMWARE=y"
This also might be relevant: # CONFIG_DRM_I915_PRELIMINARY_HW_SUPPORT is not set
-
I changed the config to have:
CONFIG_DRM_KMS_HELPER=m
CONFIG_DRM_KMS_FB_HELPER=y
CONFIG_DRM_LOAD_EDID_FIRMWARE=y
CONFIG_DRM_I915_PRELIMINARY_HW_SUPPORT=y
and recompiled the kernel but I still have the same error.
-
Where did you put the firmware?
-
The firmware is in the /boot folder (I am using Grub as bootloader).
I am calling it with the command:
kernel /boot/vmlinuz quiet drm_kms_helper.edid_firmware=/boot/edid.bin
It looks like the file cannot be found. Where should I put it ?
-
I got it working !
I had to put the file under the core.gz folder under /lib/firmware/edid and call the command
kernel /boot/vmlinuz quiet drm_kms_helper.edid_firmware=edid/edid.bin
What I was doing wrong was putting the file under /lib/firmware after the startup of the OS. So the file was under mydata.tgz and so wasn't found when booting.