adding a 'randomly chosen' LVDS panel is not as easy as plugging in a monitor to a Windows PC.
Yes, you need to tell the kernel where you want your display output(s), and what kind of display you have - the default is likely HDMI.
Generally you can do that in u-boot by somehow passing suitable video arguments to the kernel (video=mxcfb0 .. ).
Which these are depends on your panel and the setup you want (single channel, dual channel, multiple displays).
If your panel supports CVT timings it becomes easier, since you only need to specify one resolution -- otherwise we have to pass all the display timings
(which might not even be fully documented!).
To change u-boot settings you need a debug console.
Also, LVDS has no one standard on which order the different RGB bits are sent over the LVDS (diff pair) pins.
(There PSWG, VESA and JEIDA for instance)
If you are unlucky you need to change the driver to force your bit order. (This is the last of your problems,
if your output picture appears as "colouful noise" but with shapes vaguely recognisable - then this might be needed).
LVDS panels cannot be probed usually. Some do have an I2C EDID which you might be able to see with an
- Code: Select all
i2cdetect -y 0
(replace 0 with the I2C channel you wired up to your panel, 0=I2C1, 1=I2C2, 2=I2C3)
Note that the touchscreen and display are two completely separate devices. There is no connection in software,
they need to be enabled spearately. I have assumed you are starting with the LVDS display.
For touchscreen - you can try probing it by 'lsusb' or 'i2cdetect' depending on how you connect the TS to
the board. After that you probably need to add your TS to the device tree and
Sorry for this not being easier for you.