WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: Error while trying to load edid firmware  (Read 4111 times)

Offline qg

  • Newbie
  • *
  • Posts: 6
Error while trying to load edid firmware
« on: February 08, 2017, 04: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

Online Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 14817
Re: Error while trying to load edid firmware
« Reply #1 on: February 08, 2017, 05: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
« Last Edit: February 08, 2017, 05:24:27 AM by Juanito »

Offline qg

  • Newbie
  • *
  • Posts: 6
Re: Error while trying to load edid firmware
« Reply #2 on: February 08, 2017, 08: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.

Online Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 14817
Re: Error while trying to load edid firmware
« Reply #3 on: February 08, 2017, 09:00:33 AM »
Where did you put the firmware?

Offline qg

  • Newbie
  • *
  • Posts: 6
Re: Error while trying to load edid firmware
« Reply #4 on: February 08, 2017, 09: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 ?
« Last Edit: February 08, 2017, 09:49:12 AM by qg »

Offline qg

  • Newbie
  • *
  • Posts: 6
Re: Error while trying to load edid firmware
« Reply #5 on: February 08, 2017, 10: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.