I am trying to get both LVDS and HDMI output in both U-boot and Linux mainline 4.14.x Kernel. I am not using X11 in Linux, just framebuffer with QT as per tezi, as I don’t need accelerated graphics.
From this, I have:
vidargs=video=tegrafb0:1024x600-16@60 video=tegrafb1:1024x768-16@60
That works to turn on the HDMI after the kernel boots, but doesn’t turn on LVDS. So I tried exporting the GPIO as noted here, and setting the pins:
https://www.toradex.com/community/questions/3829/linux-kernel-262-lvds-display.html
That didn’t turn on the LVDS display.
At this point, I’ll guess I need to edit a custom U-boot and kernel device tree to support my display. Which approach should I take for this LCD, provided I want HDMI and LVDS both to come on right away in U-boot and with mainline kernel? Ive attached the equivalent WEC7 LVDS settings and display manual below.
Also, I noted that in my WEC7 build, I had to turn off audio over HDMI. Is there a setting for that on Linux as well, or is that WEC7 specific? If I didn’t do that on WEC, I couldn’t get the speaker/sound to work.
And lastly, my backlight is sort of custom control. I have to send a string of hex bytes out a serial port to set the brightness. I should probably do this for the LVDS display in the bootloader, as we don’t typically have HDMI or console access in the field. Not sure the best place to put this?
I’ve attached my equivalent T30-WEC7 registry settings that work, and user manual for the LCD.
link text