Other Parts Discussed in Thread: DA8XX, LM3630A, LM3639, OPA362, TFP410, TPD12S015, TLC59108
Tool/software: Linux
Hello,
I'm having an issue getting a yocto project (morty) based core-image-weston build to place anything on an LCD connected to an AM3352 on a custom board. I've built a linux-yocto-4.9.13 kernel with graphics options listed below:
- CONFIG_DRM=y
- CONFIG_DRM_I2C_NXP_TDA998X=y
- CONFIG_DRM_TILCDC=y
The board I'm working with does not have any I2C hardware that the NXP TDA998X driver can utilize, but it is a requirement for the tilcdc driver.
I've configured my panel, backlight, and lcdc nodes in my dts nearly identical to the am335x-evm.dts with the exception that I did not include the include the blue-and-red-wiring property in my lcdc node. I'm not sure whether it was worth stating that or not with what other info I have presented below.
My core-image-weston build is very basic, meaning that I made no changes to any recipes or configurations other than adding support for my board through my own layer in the form of a defconfig and patch (which only adds my boards dts) in meta-custom/recipes-kernel/linux/linux-yocto-custom. With that said, poky is the distro for this build (in case that wasn't implied by the previous sentence).
The build was successful and when I boot into my kernel, these are the DRM related messages that I see:
...
[ 0.907395] [drm] Initialized
[ 0.914081] tilcdc 4830e000.lcdc: no encoders/connectors found
...
INIT: version 2.88 booting
Error opening /dev/fb0: No such file or directory
Starting udev
...
The Weston log at /var/volatile/log/weston.log contains the lines below:
Date: 2017-03-01 UTC
[15:06:10.925] weston 1.11.1
http://wayland.freedesktop.org
Bug reports to: bugs.freedesktop.org/enter_bug.cgi
Build: 1.11.0-8-g79d1925 configure.ac: bump to version 1.11.1 for the point release (2016-09-20 17:39:57 -0700)
[15:06:10.925] OS: Linux, 4.9.13-yocto-standard, #3 Tue Feb 28 16:00:57 MST 2017, armv7l
[15:06:10.927] Starting with no config file.
[15:06:10.938] Output repaint window is 7 ms maximum.
[15:06:10.941] Loading module '/usr/lib/weston/drm-backend.so'
[15:06:10.993] initializing drm backend
[15:06:11.000] no drm device found
[15:06:11.000] fatal: failed to create compositor backend
This lead me to look for /dev/drm, which was not there.
I looked for any udev rules and only found /etc/udev/rules.d/60-drm.rules which contains the following lines:
# do not edit this file, it will be overwritten on update
ACTION!="remove", SUBSYSTEM=="drm", SUBSYSTEMS=="pci|usb|platform", IMPORT{builtin}="path_id"
So I'm not sure whether this is kernel/dts configuration related, udev related, or something else entirely. More than likely I need to do more configuration within the yocto project for my build, but I'm sure of what to do.
I'd appreciate any help that you all can offer me.
Thanks,
Jon