kolsi Posted October 16, 2023 Posted October 16, 2023 Hi, working on Rock Pi 4B++ and trying to make our displays work. Armbian Bookworm 23.8 Raspberry Pi 7" official touchscreen Officialy supported by Radxa (https://wiki.radxa.com/Rockpi4/Raspberry_Pi_official_LCD) but it does not work on Armbian at all. Works on official Radxa Debian image. No display on Armbian. Using device tree overlay from Radxa image - does not work, of course. Waveshare 4.3" touchscreen HDMI (https://www.waveshare.com/wiki/4.3inch_HDMI_LCD_(B)) It works. Image is visible, touchscreen works but the resolution seems to be scrambled. It is 800x480 and it is correctly reported, but the image is somehow distorted. I guess the problem is the aspect ratio which is 15:9. On Raspberry Pi, it works correctly but the following settings is required: Quote hdmi_force_hotplug=1 hdmi_group=2 hdmi_mode=87 hdmi_cvt 800 480 60 6 0 0 0 How to correct this on Armbian? Waveshare 4.3" touchscreen DSI We also have DSI version of the above display. We have not tried yet but I guess what the result will be, right? So my question is How to make these displays work correctly on Armbian? Thank you. 0 Quote
kolsi Posted October 17, 2023 Author Posted October 17, 2023 I noticed that new kernels' DTB don't contain dsi/dsi1 nodes and they are currently named mipi_dsi/mipi_dsi1 but their content is same. So I renamed the nodes in Rpi LCD overlay. Now the overlay loads correctly but the display still does not work. The following errors are logged: Quote pi@rockpi-4b:~$ dmesg | grep "mipi" [ 0.116272] platform ff960000.mipi: Fixing up cyclic dependency with ff8f0000.vop [ 0.116362] platform ff960000.mipi: Fixing up cyclic dependency with ff900000.vop [ 0.117307] platform ff968000.mipi: Fixing up cyclic dependency with ff8f0000.vop [ 0.117383] platform ff968000.mipi: Fixing up cyclic dependency with ff900000.vop [ 2.264436] i2c 1-0045: Fixing up cyclic dependency with ff968000.mipi [ 2.284369] vcc_mipi: supplied by vcc3v3_sys [ 7.095899] rpi-ts-dsi ff968000.mipi.0: failed to attach dsi to host: -517 Overlay: /dts-v1/; /plugin/; / { metadata { title ="Enable Raspberry Pi 7-inch Touchscreen on ROCK 4 A/B/SE"; compatible = "rockchip,rk3399"; category = "display"; description = "Enable Raspberry Pi 7-inch Touchscreen on ROCK 4 A/B/SE"; }; fragment@0 { target = <&mipi_dsi>; __overlay__ { dsi1-only; status = "okay"; }; }; fragment@1 { target = <&mipi_dsi1>; __overlay__ { rockchip,dsi-dsi0 = <&mipi_dsi>; status = "okay"; #address-cells = <1>; #size-cells = <0>; rockchip,lane-rate = <696>; ports { #address-cells = <1>; #size-cells = <0>; port@1 { reg = <1>; dsi_out_panel: endpoint { remote-endpoint = <&panel_in_dsi>; }; }; }; }; }; fragment@2 { target = <&i2c1>; __overlay__ { status = "okay"; #address-cells = <1>; #size-cells = <0>; raspits_panel: raspits-panel@45 { compatible = "raspberrypi,7inch-touchscreen-panel"; reg = <0x45>; port { panel_in_dsi: endpoint { remote-endpoint = <&dsi_out_panel>; }; }; }; raspits_touch_ft5426: raspits-touch-ft5426@38 { compatible = "raspits_ft5426"; reg = <0x38>; }; }; }; }; 0 Quote
Igor Posted October 19, 2023 Posted October 19, 2023 On 10/16/2023 at 12:44 PM, kolsi said: but it does not work on Armbian at all We provide you: - build-able sources, - build engine, - ready to run images, - we try to help as much as possible, - we provide you meeting point, this community. It is unfair to pin this problem to Armbian. What you are asking doesn't work on any mainline (or Armbian) based Linux kernel and if something stop working is due lack of maintenance. We do that up to our limits, slightly over. If you want to use those displays and enjoy best hardware support, you will most likely need to use private Rockchip kernel. Where this comes by default. Please make no anger on Armbian maintainers as we are not responsible for your frustration. We are equally frustrated as there is nothing we can do to take your pain away. 0 Quote
Recommended Posts
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.