This commit is contained in:
Joakim
2026-05-03 00:36:59 +02:00
parent 722b651b73
commit 7a1d9a9f0e
3 changed files with 247 additions and 18 deletions

View File

@@ -1,19 +1,3 @@
From: Vendored from gdyuldin/AetherX6200Buildroot (GPL-2.0)
Source: https://github.com/gdyuldin/AetherX6200Buildroot
Original authors: Rui Oliveira (2022), Oleg Belousov (2022)
Adds driver for the Jinglitai JLT4013A LCD panel used in the Xiegu X6200.
This patch was written against a ~6.1-era kernel. It may require minor
forward-porting for 6.6 (panel/Kconfig line offsets may have shifted as
new panel drivers were added upstream). The core driver file
(panel-jinglitai-jlt4013a.c) should apply cleanly.
NOTE: Milestone 1 (serial console boot) does not require this patch.
If the patch fails to apply, comment out BR2_LINUX_KERNEL_PATCH in the
defconfig and address the LCD driver in Milestone 2.
---
diff -Naur orig/drivers/gpu/drm/panel/Kconfig my/drivers/gpu/drm/panel/Kconfig
--- orig/drivers/gpu/drm/panel/Kconfig 2023-01-12 14:00:49.000000000 +0300
+++ my/drivers/gpu/drm/panel/Kconfig 2023-01-30 03:24:48.108365590 +0300

View File

@@ -56,8 +56,8 @@ BR2_ROOTFS_POST_SCRIPT_ARGS="-c $(BR2_EXTERNAL_MESTRE_PATH)/board/x6200/genimage
# for 6.6. Milestone 1 (serial console) does not require the LCD driver.
BR2_LINUX_KERNEL=y
BR2_LINUX_KERNEL_CUSTOM_VERSION=y
BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="6.6.66"
BR2_KERNEL_HEADERS_6_6=y
BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="6.1.82"
BR2_KERNEL_HEADERS_6_1=y
BR2_LINUX_KERNEL_USE_CUSTOM_CONFIG=y
BR2_LINUX_KERNEL_CUSTOM_CONFIG_FILE="$(BR2_EXTERNAL_MESTRE_PATH)/board/x6200/linux/linux.config"
BR2_LINUX_KERNEL_CONFIG_FRAGMENT_FILES="$(BR2_EXTERNAL_MESTRE_PATH)/board/x6200/linux/linux-midi.fragment"