I’m helping with a custom carrier board, and so far have managed to get most of the devices working. The one big problem I’m having is with DisplayPort output, we’re using a Toshiba TC358860 chip to convert from DisplayPort (or embedded, I’ve tried both) to DSI. Currently I have to configure the 358860 after boot using i2c, and that appears to work since I can get the chip to generate and display color bars correctly.
However, I can’t get any graphics out from the Nano, either framebuffer or X. Sometimes it seems like I get close to getting video working in X (fixed most obvious errors) but I get a bunch of GPU exceptions and X fails to start. Currently, I can initialize the 358860 and attempt to start X but it fails for reasons that are not obvious to me, and I still don’t get any video output from the framebuffer. I’m using
DISPLAY=:0.0 startx
to start X windows from ssh, since I’m on a custom file system. I’m happy to add packages (display manager or whatever) that might help.
I have a bunch of questions, but the main ones are:
- Does the Nano support portrait video modes? The display is 1200x1920.
- I don’t know what to do with this error:
[ 180.414386] tegradc tegradc.1: tegra_dp_get_bpp: vmode=0x10200000 did not specify bpp
[ 180.414848] tegradc tegradc.1: tegra_dp_get_bpp: vmode=0x10400000 did not specify bpp
[ 180.415322] tegradc tegradc.1: tegra_dp_get_bpp: vmode=0x10420000 did not specify bpp
This is what I have in my device tree for vmode, second one added by me:
//vmode = <0x400000>; /* FB_VMODE_NONINTERLACED | FB_VMODE_IS_CEA /
vmode = <0x000140>; / FB_VMODE_Y444 | FB_VMODE_Y24*/
- I don’t know what to put into prod-settings. This is what I have currently, but I haven’t been able to confirm what they should be.
prod-settings { prod_c_hbr { prod = < 0x00000590 0x00f00000 0x00400000 //SOR_NV_PDISP_SOR_PLL1_0 23:20=LOADADJ 0x04 >; }; prod_c_hbr2 { prod = < 0x00000590 0x00f00000 0x00600000 //SOR_NV_PDISP_SOR_PLL1_0 23:20=LOADADJ 0x06 >; }; prod_c_rbr { prod = < 0x00000590 0x00f00000 0x00300000 //SOR_NV_PDISP_SOR_PLL1_0 23:20=LOADADJ 0x03 >; };
Here’s my current dmesg output from booting normally, initializing the 358860 starting at around 75 seconds, and starting X at around 180 seconds.
dmesg.txt (66.4 KB)
Here’s the X.org log, same run:
Xorg.0.log (395.1 KB)
My tegra210-dp.dsti:
tegra210-dp.dtsi (4.0 KB)