First, I want to thank for the detailed instruction on building the kernel and installing ubuntu on TWR-VF65GS10. Following the instructions, I was able to successfully build u-boot, kernel and install the rfs on a uSD card. The system boots fine and I have network and console support. Unfortunately, I was unable to get the LCD working as /dev/fd0 is not available. Hardware seems to be fine as the original image (kernel 3.x) allows a QT app to be loaded and dispalyed on the LCD.
Throughout my experiments, I enabled fsl_dcu_drm (was able to load as a module), still /dev/fbo unavailable.
Any guidance would be really appreciated, as I tried 4.19 and 4.20 with same results.
Wait, this hardware has a video out? Which adapter are you using to get that display out?
First start, with enable this config:
CONFIG_DRM_FSL_DCU=y
You’ll probably need more, but start with that option…
Regards,
Thank you for the quick reply. I am using the TWR-LCD-RGB (480x272 + touch display), connects to the TWR-VF65GS610 as a replacement to one of the elevators.
I enabled CONFIG_DRM_FSL_DCU=m and loaded via /etc/modules
A lsmod shows
Module Size Used by
fsl_dcu_drm 16384 0
drm_kms_helper 147456 1 fsl_dcu_drm
syscopyarea 16384 1 drm_kms_helper
sysfillrect 16384 1 drm_kms_helper
sysimgblt 16384 1 drm_kms_helper
fb_sys_fops 16384 1 drm_kms_helper
drm 352256 2 fsl_dcu_drm,drm_kms_helper
drm_panel_orientation_quirks 16384 1 drm
but no /dev/fb0 yet. I will post an update once I find a solution
Regards
CONFIG_DRM_FBDEV_EMULATION enabled?
Edit:
Ah, the dcu node isn’t enabled the twr dts board… Look at this node for reference, you’ll also need a matching panel driver…
Regards,
Apologize for my late reply, a busy week.
Some progress , I was able to update the dts file and now dcu is enabled. when looking at dmesg output, I have a line that reads:
fsl-dcu 40058000.dcu: ignoring dependency for device, assuming no driver
not working yet, but closer