BeagleBone Black - linux-ti-staging and kernel modesetting
Jonathan,
Here's the reply from our DRM guy:
Quoted 54 lines
It should work, it looks to me like it is failing to probe for the tda998x which is why the DRM driver is reporting no connectors/encoders. They will also need to make some changes to the DTS to get the thing to probe. This document has the necessary DT entries - refer to the DRM section - (it wasn't there for the last 3.12 release so not an RTFM message).
http://processors.wiki.ti.com/index.php/Linux_Core_LCD_Controller_User_Guide#AM335x_LCDC_Display_Driver_.28fbdev.29Darren
Quoted 45 lines
Date: Thu, 30 Jan 2014 00:08:56 +1100
From: Jonathan Liu <[email protected]>
To: [email protected]
Subject: [meta-ti] BeagleBone Black - linux-ti-staging and kernel modesettingHi,
I am using Yocto dora release with latest meta-ti git compiling for BeagleBone Black using systemd.
For systemd to boot I had created linux-ti-staging_3.12.bbappend withdo_configure_append()that
appends the following options to kernel config:CONFIG_CGROUPS=yCONFIG_FHANDLE=yMore kernel options to enable additional support for systemd can be found at: http://cgit.freedesktop.org/systemd/systemd/tree/README
I have also added the following for graphics support:
CONFIG_DRM=yCONFIG_DRM_KMS_HELPER=yCONFIG_DRM_GEM_CMA_HELPER=yCONFIG_DRM_KMS_CMA_HELPER=yCONFIG_DRM_I2C_NXP_TDA998X=yCONFIG_DRM_TILCDC=yThe kernel mode switching (using xf86-video-modesetting) with HDMI output however is not working.
The kernel log shows:
tilcdc 4830e000.lcdc: no encoders/connectors found tilcdc 4830e000.lcdc: failed to initialize mode settingThe expected result (from Arch Linux ARM) is:
tilcdc 4830e000.fb: found TDA19988
tilcdc 4830e000.fb: fb0: frame buffer device tilcdc 4830e000.fb: registered panic notifier [drm] Initialized tilcdc 1.0.0 20121205 on minor 0
/sys/class/drm/card0/card0-HDMI-A-1doesn't exist also. What am I missing to get KMS working with meta-ti linux-ti-staging for the BeagleBone Black?Regards,
Jonathan
Hi Denys,
Quoted 12 lines · Denys Dmytriyenko
Jonathan,
Here's the reply from our DRM guy:
Quoted 8 lines
It should work, it looks to me like it is failing to probe for the tda998x which is why the DRM driver is reporting no connectors/encoders. They will also need to make some changes to the DTS to get the thing to probe. This document has the necessary DT entries - refer to the DRM section - (it wasn't there for the last 3.12 release so not an RTFM message).
http://processors.wiki.ti.com/index.php/Linux_Core_LCD_Controller_User_Guide#AM335x_LCDC_Display_Driver_.28fbdev.29Darren
On the wiki page, should "pinctrl-0 = <&nxp_hdmi_pin_mux>;" be "pinctrl-0 = <&nxp_hdmi_bonelt_pins>;" as indicated by
https://git.kernel.org/cgit/linux/kernel/git/stable/linux-stable.git/tree/Documentation/devicetree/bindings/drm/tilcdc/slave.txt?id=refs/tags/v3.12.8
?
Regards,
Jonathan
Quoted 50 lines
Quoted 40 lines
Quoted 40 lines
Date: Thu, 30 Jan 2014 00:08:56 +1100
From: Jonathan Liu <[email protected]>
To: [email protected]
Subject: [meta-ti] BeagleBone Black - linux-ti-staging and kernel modesettingHi,
I am using Yocto dora release with latest meta-ti git compiling for BeagleBone Black using systemd.
For systemd to boot I had created linux-ti-staging_3.12.bbappend withdo_configure_append()that
appends the following options to kernel config:CONFIG_CGROUPS=yCONFIG_FHANDLE=yMore kernel options to enable additional support for systemd can be found at: http://cgit.freedesktop.org/systemd/systemd/tree/README
I have also added the following for graphics support:
CONFIG_DRM=yCONFIG_DRM_KMS_HELPER=yCONFIG_DRM_GEM_CMA_HELPER=yCONFIG_DRM_KMS_CMA_HELPER=yCONFIG_DRM_I2C_NXP_TDA998X=yCONFIG_DRM_TILCDC=yThe kernel mode switching (using xf86-video-modesetting) with HDMI output however is not working.
The kernel log shows:
tilcdc 4830e000.lcdc: no encoders/connectors found tilcdc 4830e000.lcdc: failed to initialize mode settingThe expected result (from Arch Linux ARM) is:
tilcdc 4830e000.fb: found TDA19988
tilcdc 4830e000.fb: fb0: frame buffer device tilcdc 4830e000.fb: registered panic notifier [drm] Initialized tilcdc 1.0.0 20121205 on minor 0Quoted 6 lines
Quoted 6 lines
/sys/class/drm/card0/card0-HDMI-A-1doesn't exist also. What am I missing to get KMS working with meta-ti linux-ti-staging for the BeagleBone Black?Regards,
Jonathan_______________________________________________
meta-ti mailing list
[email protected]
https://lists.yoctoproject.org/listinfo/meta-ti