From 6b2b32b4120ebc03b43cdd07df875b1dcd9c3725 Mon Sep 17 00:00:00 2001 From: Waldemar Brodkorb Date: Thu, 22 Feb 2024 04:46:30 +0100 Subject: kernel 6.6.x need FB_DEVICE for legacy /dev/fbx handling --- target/linux/config/Config.in.graphics | 4 +++ .../defconfig.patch | 36 ++++++++++++++++++++++ 2 files changed, 40 insertions(+) create mode 100644 target/linux/patches/eb06d31da3e2025a2e578d8de9843e24b68137a6/defconfig.patch (limited to 'target') diff --git a/target/linux/config/Config.in.graphics b/target/linux/config/Config.in.graphics index 3a002332f..11e94db68 100644 --- a/target/linux/config/Config.in.graphics +++ b/target/linux/config/Config.in.graphics @@ -39,6 +39,9 @@ config ADK_LINUX_KERNEL_FB select ADK_LINUX_KERNEL_VT select ADK_LINUX_KERNEL_VT_CONSOLE +config ADK_LINUX_KERNEL_FB_DEVICE + bool + config ADK_LINUX_KERNEL_FB_SBUS bool @@ -311,6 +314,7 @@ config ADK_LINUX_KERNEL_FB_SM712 config ADK_LINUX_KERNEL_FB_BCM2708 bool "Framebuffer support for BCM28XX boards (Raspberry PI)" select ADK_LINUX_KERNEL_FB + select ADK_LINUX_KERNEL_FB_DEVICE select ADK_LINUX_KERNEL_FRAMEBUFFER_CONSOLE select ADK_LINUX_KERNEL_FONT_8x16 default y if ADK_TARGET_BOARD_BCM28XX diff --git a/target/linux/patches/eb06d31da3e2025a2e578d8de9843e24b68137a6/defconfig.patch b/target/linux/patches/eb06d31da3e2025a2e578d8de9843e24b68137a6/defconfig.patch new file mode 100644 index 000000000..17e1d1811 --- /dev/null +++ b/target/linux/patches/eb06d31da3e2025a2e578d8de9843e24b68137a6/defconfig.patch @@ -0,0 +1,36 @@ +diff -Nur linux-d5066442e39dd9bf4ba6431ffb3f99e3d5085d3f.orig/arch/arm64/configs/bcm2711_defconfig linux-d5066442e39dd9bf4ba6431ffb3f99e3d5085d3f/arch/arm64/configs/bcm2711_defconfig +--- linux-d5066442e39dd9bf4ba6431ffb3f99e3d5085d3f.orig/arch/arm64/configs/bcm2711_defconfig 2024-01-04 18:44:09.000000000 +0100 ++++ linux-d5066442e39dd9bf4ba6431ffb3f99e3d5085d3f/arch/arm64/configs/bcm2711_defconfig 2024-01-06 09:20:53.075282937 +0100 +@@ -1,4 +1,4 @@ +-CONFIG_LOCALVERSION="-v8" ++CONFIG_LOCALVERSION="" + # CONFIG_LOCALVERSION_AUTO is not set + CONFIG_SYSVIPC=y + CONFIG_POSIX_MQUEUE=y +@@ -69,7 +69,7 @@ + CONFIG_MODULE_UNLOAD=y + CONFIG_MODVERSIONS=y + CONFIG_MODULE_SRCVERSION_ALL=y +-CONFIG_MODULE_COMPRESS_XZ=y ++CONFIG_MODULE_COMPRESS_NONE=y + CONFIG_BLK_DEV_THROTTLING=y + CONFIG_PARTITION_ADVANCED=y + CONFIG_MAC_PARTITION=y +diff -Nur linux-d5066442e39dd9bf4ba6431ffb3f99e3d5085d3f.orig/arch/arm64/configs/bcm2712_defconfig linux-d5066442e39dd9bf4ba6431ffb3f99e3d5085d3f/arch/arm64/configs/bcm2712_defconfig +--- linux-d5066442e39dd9bf4ba6431ffb3f99e3d5085d3f.orig/arch/arm64/configs/bcm2712_defconfig 2024-01-04 18:44:09.000000000 +0100 ++++ linux-d5066442e39dd9bf4ba6431ffb3f99e3d5085d3f/arch/arm64/configs/bcm2712_defconfig 2024-01-06 09:20:34.328388717 +0100 +@@ -1,4 +1,4 @@ +-CONFIG_LOCALVERSION="-v8-16k" ++CONFIG_LOCALVERSION="" + # CONFIG_LOCALVERSION_AUTO is not set + CONFIG_SYSVIPC=y + CONFIG_POSIX_MQUEUE=y +@@ -72,7 +72,7 @@ + CONFIG_MODULE_UNLOAD=y + CONFIG_MODVERSIONS=y + CONFIG_MODULE_SRCVERSION_ALL=y +-CONFIG_MODULE_COMPRESS_XZ=y ++CONFIG_MODULE_COMPRESS_NONE=y + CONFIG_BLK_DEV_THROTTLING=y + CONFIG_PARTITION_ADVANCED=y + CONFIG_MAC_PARTITION=y -- cgit v1.2.3