Jump to content

Recommended Posts

Posted

I installed latest vendor image and because of the wifi issues I switched to the edge kernel. I messed up my fstab, couldn't connect with ssh, so I plugged it to my monitor and a keyboard, but there was no video. Eventually, I fixed it by booting vendor image from my sd card, but I got curious.

I know, that vendor image just works, so I flashed edge image to my sd card to see what's wrong. The monitor recognizes the presence of the board, but it's just a black screen. I can ssh to the board, so the image definitely booted, but there's just no video.

Here's the log from my original installation. I kept 6.8 kernel because the video is not important to me.

 

Posted (edited)
51 minutes ago, VaRusLAN said:

but there's just no video.


I think you need to check VOP config over DTS
 

 

[ 7.670534] rockchip-drm display-subsystem: [drm] Cannot find any crtc or sizes
[ 7.670617] rockchip-drm display-subsystem: [drm] Cannot find any crtc or sizes
[ 7.670647] rockchip-drm display-subsystem: [drm] Cannot find any crtc or sizes

[ 8.064408] rockchip-dmc dmc: failed to get vop bandwidth to dmc rate
[ 8.064415] rockchip-dmc dmc: failed to get vop pn to msch rl

 

Edited by Hqnicolas
Posted
On 5/30/2024 at 10:19 AM, VaRusLAN said:

there was no video

Which HDMI port did you connect? I was testing it today and it only showed some video in the midle HDMI port. 

 

One thing I noticed is that it's still not working with Ultra Wide monitors. I was able to work with it in 1080p, but not in 2k@21x9. 

Posted
7 hours ago, ricardo_brz said:

I was testing it today and it only showed some video in the midle HDMI port.


I dont have this board, but i think you can check your vp routing and vop
 

&vp0 {
	rockchip,plane-mask = <(1 << ROCKCHIP_VOP2_CLUSTER0 | 1 << ROCKCHIP_VOP2_ESMART0 | 1 <<
	ROCKCHIP_VOP2_SMART0 | 1 << ROCKCHIP_VOP2_CLUSTER1 | 1 << ROCKCHIP_VOP2_ESMART1 | 1 <<
	ROCKCHIP_VOP2_SMART1)>;
	rockchip,primary-plane = <ROCKCHIP_VOP2_SMART0>;
};

 

&hdmi_in_vp0 {
	status = "okay";
};

&hdmi_in_vp1 {
	status = "okay";
};


 

Posted
8 часов назад, ricardo_brz сказал:

I was able to work with it in 1080p, but not in 2k@21x9.

Huh, I actually tested it with 2k@21x9 monitor. Never thought that would be a problem. And I tried both HDMI 1 and 2.

I think I'm going to stay with 6.1 kernel for a while 

Posted
1 час назад, Hqnicolas сказал:
&hdmi_in_vp0 {
	status = "okay";
};

&hdmi_in_vp1 {
	status = "okay";
};

Interesting. I wanted to decompile dtb's for 6.1 and 6.8, but then I found an overlay called orangepi-5-plus-hdmi2-8k.dtbo (2k!) for the 6.1 kernel, but not for the 6.8 kernel. And this overlay in linux-orangepi vendor repo indeed just enables hdmi nodes. I guess I just need to add this overlay to 6.8 and see if it works.

 

rk3588-orangepi-5-plus 6.1.dts rk3588-orangepi-5-plus 6.8.dts orangepi-5-plus-hdmi2-8k.dtso

Posted
15 часов назад, ricardo_brz сказал:

Did you get any luck with this? I tried adding the files to /boot/overlay-user/ and set the user_overlays in armbianEnv.txt but I didn't succeeded.

Sorry, I haven't got time to tinker with it. I'm staying with vendor kernel and trying to get nextcloud running, so 6.8 is not a priority for me now.

I don't think it's possible to just add this overlay at boot time. I wanted to recompile the kernel with modified dts and then include this overlay. Why I think it's necessery is because of the __symbols__ node in decompiled versions of dtb's.

 

6.1

		dp0_in_vp1 = "/dp@fde50000/ports/port@0/endpoint@1";
		dp0_in_vp2 = "/dp@fde50000/ports/port@0/endpoint@2";
		dp0_out = "/dp@fde50000/ports/port@1/endpoint";
		hdcp1 = "/hdcp@fde70000";
		hdmi0 = "/hdmi@fde80000";
		hdmi0_in = "/hdmi@fde80000/ports/port@0";
		hdmi0_in_vp0 = "/hdmi@fde80000/ports/port@0/endpoint@0";
		hdmi0_in_vp1 = "/hdmi@fde80000/ports/port@0/endpoint@1";
		hdmi0_in_vp2 = "/hdmi@fde80000/ports/port@0/endpoint@2";
		edp0 = "/edp@fdec0000";
		edp0_in_vp0 = "/edp@fdec0000/ports/port@0/endpoint@0";
		edp0_in_vp1 = "/edp@fdec0000/ports/port@0/endpoint@1";
		edp0_in_vp2 = "/edp@fdec0000/ports/port@0/endpoint@2";

 

		dp1 = "/dp@fde60000";
		dp1_in_vp0 = "/dp@fde60000/ports/port@0/endpoint@0";
		dp1_in_vp1 = "/dp@fde60000/ports/port@0/endpoint@1";
		dp1_in_vp2 = "/dp@fde60000/ports/port@0/endpoint@2";
		dp1_out = "/dp@fde60000/ports/port@1/endpoint";
		hdmi1 = "/hdmi@fdea0000";
		hdmi1_in = "/hdmi@fdea0000/ports/port@0";
		hdmi1_in_vp0 = "/hdmi@fdea0000/ports/port@0/endpoint@0";
		hdmi1_in_vp1 = "/hdmi@fdea0000/ports/port@0/endpoint@1";
		hdmi1_in_vp2 = "/hdmi@fdea0000/ports/port@0/endpoint@2";
		edp1 = "/edp@fded0000";
		edp1_in_vp0 = "/edp@fded0000/ports/port@0/endpoint@0";
		edp1_in_vp1 = "/edp@fded0000/ports/port@0/endpoint@1";
		edp1_in_vp2 = "/edp@fded0000/ports/port@0/endpoint@2";

6.8

		sys_grf = "/syscon@fd58c000";
		hdptxphy0_grf = "/syscon@fd5e0000";
		hdmi0 = "/hdmi@fde80000";
		hdmi0_in = "/hdmi@fde80000/ports/port@0";
		hdmi0_in_vp0 = "/hdmi@fde80000/ports/port@0/endpoint";
		hdmi0_out = "/hdmi@fde80000/ports/port@1";
		hdmi0_out_con = "/hdmi@fde80000/ports/port@1/endpoint";
		vop_grf = "/syscon@fd5a4000";
		vo0_grf = "/syscon@fd5a6000";
		vo1_grf = "/syscon@fd5a8000";
		usb_grf = "/syscon@fd5ac000";

And overlay patches

	__fixups__ {
		hdmi0_in_vp0 = "/fragment@0:target:0";
		hdmi0_in_vp1 = "/fragment@1:target:0";
		hdmi1_in_vp0 = "/fragment@2:target:0";
		hdmi1_in_vp1 = "/fragment@3:target:0";
	};

 

6.8 does not even have hdm1* nodes, so we either need to somehow change the overlay or modify dts and rebuild kernel

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...

Important Information

Terms of Use - Privacy Policy - Guidelines