Connecting 4.3" DSI Capacitive Touch Display to the Luckox Aura

  • The wiki and SDK updates for Luckfox Aura to be compatible with DSI screens are still in preparation. For the time being, you can refer to the device tree adjustments of the Luckfox Lyra series and the Omni 3576 series. The corresponding device tree configurations are as follows:

    Code: Select all

    		/* 800x480
    		 * https://www.waveshare.com/4.3inch-dsi-lcd.htm
    		 * https://www.waveshare.com/5inch-dsi-lcd-b.htm
    		 * https://www.waveshare.com/7inch-dsi-lcd-with-cam.htm
    		 * https://www.waveshare.com/8inch-dsi-lcd.htm
    		 */
    		dsi,lanes = <1>;
    		panel-init-sequence = [
    			29 00 06 10 02 03 00 00 00
    			29 00 06 64 01 0c 00 00 00
    			29 00 06 68 01 0c 00 00 00
    			29 00 06 44 01 00 00 00 49
    			29 00 06 48 01 00 00 00 00
    			29 00 06 14 01 15 00 00 00
    			29 00 06 50 04 60 00 00 00
    			29 00 06 20 04 52 01 10 00
    			29 00 06 24 04 14 00 1a 00
    			29 00 06 28 04 20 03 69 00
    			29 00 06 2c 04 02 00 15 00
    			29 00 06 30 04 e0 01 07 00
    			29 00 06 34 04 01 00 00 00
    			29 00 06 64 04 0f 04 00 00
    			29 00 06 01 01 01 00 00 00
    			29 00 06 02 02 01 00 00 00
    		];
    		
    		disp_timings0: display-timings {
    			native-mode = <&dsi_timing0>;	
    			dsi_timing0: timing0 {
    				clock-frequency = <30000000>;
    				hactive = <800>;
    				vactive = <480>;
    				vsync-len = <22>;
    				vback-porch = <2>;
    				vfront-porch = <7>;
    				hsync-len = <45>;
    				hback-porch = <2>;
    				hfront-porch = <131>;
    				vsync-active = <0>;
    				hsync-active = <0>;
    				de-active = <0>;
    				pixelclk-active =<0>;
    			};
    		};
    
    
  • Hi,
    Thank you for your reply.
    I have tried the configurations that were commented out in the `rv1126b-luckfox-aura-dsi.dtsi` file which is also the same as what you have listed in your reply, however the result seems to be the same. The screen flashes white occasionally for a split second and returns to black.
    I also seem to get this message when trying to debug the issue.

    Code: Select all

    [    1.112498] dw-mipi-dsi-rockchip 22120000.dsi: failed to find panel or bridge: -517
    [    1.113338] panel-simple-dsi 22120000.dsi.0: Expected bpc in {6,8} but got: 0
    [    1.616691] ili210x_i2c 3-0041: Unable to cache firmware information, err: -6
    
    Is there something I am doing incorrectly?

    Thank you
  • Please find attached the configured device tree and kernel image.

    Touch functionality is not enabled in the default kernel. To enable touchscreen support, follow these steps:

    1. Copy the driver source file:

    Code: Select all

    sudo cp edt-ft5x06.c sysdrv/source/kernel/drivers/input/touchscreen
    2. Run the kernel configuration tool and enable the touchscreen driver:

    Code: Select all

    sudo ./build.sh kernelconfig
    ft5x06.png
    3. Rebuild the kernel:

    Code: Select all

    sudo ./build.sh kernel
    4.3dis.png
    800480.zip (6.54 MiB)
    Downloaded 247 times
  • This issue with the LuckFox Aura and DSI display happens because full support is not yet officially ready.

    Your screen showing white flashes and errors means the panel is not properly detected or configured. You need to use the provided custom device tree and kernel image from support, then rebuild the kernel and manually enable the touchscreen driver.

    In short, it’s not your mistake, the feature is still incomplete, so using their patched files and rebuilding is currently the only working solution.