Tiny Core Linux

Tiny Core Base => TCB Q&A Forum => Topic started by: qg on February 08, 2017, 01:58:26 AM

Title: Error while trying to load edid firmware
Post 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
Title: Re: Error while trying to load edid firmware
Post by: Juanito on February 08, 2017, 02:21:57 AM
Ref the tinycore kernel config:
Code: [Select]
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:
Code: [Select]
# CONFIG_DRM_I915_PRELIMINARY_HW_SUPPORT is not set
Title: Re: Error while trying to load edid firmware
Post by: qg on February 08, 2017, 05:53:01 AM
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.
Title: Re: Error while trying to load edid firmware
Post by: Juanito on February 08, 2017, 06:00:33 AM
Where did you put the firmware?
Title: Re: Error while trying to load edid firmware
Post by: qg on February 08, 2017, 06:29:13 AM
The firmware is in the /boot folder (I am using Grub as bootloader).
I am calling it with the command:

Code: [Select]
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 ?
Title: Re: Error while trying to load edid firmware
Post by: qg on February 08, 2017, 07:12:34 AM
I got it working !

I had to put the file under the core.gz folder under /lib/firmware/edid and call the command
Code: [Select]
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.