Hi,
thanks, I booted the kernel you build but no change.
However, using your advice with the video kernel param, i got the following results:
1) First, without any intervention here's what Xorg says about the screen:
[ 16.605] (II) modeset(0): Printing probed modes for output HDMI-1
[ 16.605] (II) modeset(0): Modeline "800x480"x65.7 32.00 800 840 888 928 480 493 496 525 -hsync -vsync (34.5 kHz eP)
[ 16.605] (II) modeset(0): Output HDMI-1 connected
[ 16.605] (II) modeset(0): Using exact sizes for initial modes
[ 16.605] (II) modeset(0): Output HDMI-1 using initial mode 800x480 +0+0
The EDID looks OK, the Modeline is read and applied (according to Xorg), but screen is black.
xrandr --verbose shows the following:
800x480 (0x42) 32.000MHz -HSync -VSync *current +preferred
h: width 800 start 840 end 888 total 928 skew 0 clock 34.48KHz
v: height 480 start 493 end 496 total 525 clock 65.68Hz
2) Using video=HDMI-A-1:800x480@65D as kernel param, I indeed get a framebuffer, I see the kernel + systemd booting, all good. However, when Xorg starts, screen goes black. Note that I used 65 for refresh rate instead of 60 just to use what the EDID is delivering.
xrandr --verbose now shows:
800x480 (0x42) 32.000MHz -HSync -VSync *current +preferred
h: width 800 start 840 end 888 total 928 skew 0 clock 34.48KHz
v: height 480 start 493 end 496 total 525 clock 65.68Hz
800x480 (0x43) 32.691MHz -HSync +VSync
h: width 800 start 824 end 904 total 1008 skew 0 clock 32.43KHz
v: height 480 start 481 end 484 total 499 clock 64.99Hz
There is a second mode shown now.
3) If I force this new mode now, using the following xorg.conf
Section "Monitor"
Identifier "HDMI-1"
Modeline "800x480_65.0" 32.69 800 824 904 1008 480 481 484 499 -hsync +vsync
Option "PreferredMode" "800x480_65.0"
EndSection
then Xorg is also working.
Now I see the following dmesg errors:
[ 17.456578] rockchip_rk3066_pll_set_rate: Invalid rate : 32690000 for pll clk pll_npll
Waiting on your thoughts on this.
Thanks