# TSPI-D395C930UV0 **Repository Path**: git897/tspi-d395c930uv0 ## Basic Information - **Project Name**: TSPI-D395C930UV0 - **Description**: 泰山派×86屏转接板资料 - **Primary Language**: Unknown - **License**: GPL-3.0 - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 1 - **Created**: 2025-03-30 - **Last Updated**: 2025-03-30 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # TSPI-D395C930UV0 #### 介绍 泰山派4寸86屏幕扩展板资料 屏幕型号:D395C930UV0 触摸型号:CST128-A 桥接芯片:ICN6211 硬件开源地址:https://oshwhub.com/fengmoxi/taishan-pie-4-inch-86-screen-adapter-plate 不会改设备树(或懒得改)的可以在[发行版](https://gitee.com/fengmoxi/tspi-d395c930uv0/releases/)里找编译好的kernel和固件 #### 硬件简介 泰山派4寸86屏转接板,屏幕为大显D395C930UV0,该屏为RGB屏,通过ICN6211桥接。 mipi与触摸均已驱动。 建议购买屏幕时,可以和卖家沟通运费事宜,另提醒发0x38触摸固件。 #### 提供用于编译SDK的虚拟机OVF模板一份 链接:https://pan.baidu.com/s/101PCDCm3T8gQF80RWW18jA?pwd=TSPI 提取码:TSPI #### Patch文件用法 ``` // 将补丁文件下载到SDK同级目录 wget https://gitee.com/fengmoxi/tspi-d395c930uv0/raw/master/android-kernel-D395C930UV0-ICN6211.patch wget https://gitee.com/fengmoxi/tspi-d395c930uv0/raw/master/linux-kernel-D395C930UV0-ICN6211.patch // Linux SDK patch -p1 -N -d tspi_linux_sdk < linux-kernel-D395C930UV0-ICN6211.patch // Android SDK patch -p1 -N -d tspi_android_sdk < android-kernel-D395C930UV0-ICN6211 ``` > 如遇到类似Hunk #1 FAILED at xxx(different line endings).的问题,请通过dos2unix对相应文件进行格式转码 ``` sudo apt install dos2unix dos2unix tspi_android_sdk/kernel/arch/arm64/boot/dts/rockchip/tspi-rk3566-dsi-v10.dtsi dos2unix tspi_linux_sdk/kernel/arch/arm64/boot/dts/rockchip/tspi-rk3566-dsi-v10.dtsi ``` #### 触摸驱动简要说明 1. /kernel/drivers/input/touchscreen下添加cst128a_cust 2. 在/kernel/drivers/input/touchscreen/Makefile文件最后增加 `obj-$(CONFIG_TOUCHSCREEN_CST128A_CUST)    += cst128a_cust/` 3. 在/kernel/drivers/input/touchscreen/Kconfig文件最后endif上一行增加 `source "drivers/input/touchscreen/cst128a_cust/Kconfig"` 4. 在/kernel/arch/arm64/configs/rockchip_linux_defconfig文件中增加`CONFIG_TOUCHSCREEN_CST128A_CUST=y`