# TSPI-STL6.0-1-2-A **Repository Path**: fengmoxi/tspi-stl6_0_1_2_a ## Basic Information - **Project Name**: TSPI-STL6.0-1-2-A - **Description**: TSPI-STL6.0-1-2-A - **Primary Language**: Unknown - **License**: GPL-3.0 - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 5 - **Forks**: 1 - **Created**: 2023-12-26 - **Last Updated**: 2025-10-17 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # TSPI-STL6.0-1-2-A #### 介绍 泰山派6寸屏幕扩展板资料 屏幕型号:STL6.0-1-2-A 触摸型号:GT970 硬件开源地址:https://oshwhub.com/fengmoxi/taishan-pie-6-inch-screen-adapter-board-moat-version GT970_Config_20240119_160927.cfg由汇顶量产工具(GuitarTestPlatform DBG-02V3.3.150324)配置 #### 提供用于编译SDK的虚拟机OVF模板一份 链接:https://pan.baidu.com/s/101PCDCm3T8gQF80RWW18jA?pwd=TSPI 提取码:TSPI #### Patch文件用法 ``` // 将补丁文件下载到SDK同级目录 wget https://gitee.com/fengmoxi/tspi-stl6_0_1_2_a/raw/master/linux-kernel-STL6_0_1_2_A.patch wget https://gitee.com/fengmoxi/tspi-stl6_0_1_2_a/raw/master/android-kernel-STL6_0_1_2_A.patch // Linux SDK patch -p1 -N -d tspi_linux_sdk < linux-kernel-STL6_0_1_2_A.patch // Android SDK patch -p1 -N -d tspi_android_sdk < android-kernel-STL6_0_1_2_A.patch ``` > 如遇到类似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/gt9xx/gt9xx_cfg.h中的gtp_dat_9_7数组内容设为 ``` #include "GT970_Config_20240119_160927.cfg" ``` 2. 将GT970_Config_20240119_160927.cfg复制到/kernel/drivers/input/touchscreen/gt9xx下