From c8cae80e8c8186f50936632c332f87f8966d35a1 Mon Sep 17 00:00:00 2001 From: Austin Lane Date: Fri, 13 Feb 2026 22:01:40 -0500 Subject: [PATCH] RV1106: Reduce kernel memory footprint RV1103 (64MB RAM) does not boot after kconfig changes in January. Remove extra debugging (tracing, BTF) to reduce boot-time memory. --- config/kernel/linux-rockchip-rv1106-vendor.config | 6 ------ config/sources/families/rockchip-rv1106.conf | 1 + 2 files changed, 1 insertion(+), 6 deletions(-) diff --git a/config/kernel/linux-rockchip-rv1106-vendor.config b/config/kernel/linux-rockchip-rv1106-vendor.config index 52b0559e94..dd2e25ee85 100644 --- a/config/kernel/linux-rockchip-rv1106-vendor.config +++ b/config/kernel/linux-rockchip-rv1106-vendor.config @@ -274,7 +274,6 @@ CONFIG_MTD_UBI_BLOCK=y CONFIG_OF_OVERLAY=y CONFIG_ZRAM=m CONFIG_ZRAM_WRITEBACK=y -CONFIG_ZRAM_MEMORY_TRACKING=y CONFIG_BLK_DEV_LOOP=y CONFIG_BLK_DEV_RAM=y CONFIG_SCSI=y @@ -539,11 +538,6 @@ CONFIG_KEY_DH_OPERATIONS=y # CONFIG_XZ_DEC_SPARC is not set CONFIG_PRINTK_TIME=y # CONFIG_DEBUG_MISC is not set -CONFIG_DEBUG_INFO_DWARF5=y -CONFIG_DEBUG_INFO_BTF=y -CONFIG_DEBUG_FS=y # CONFIG_SLUB_DEBUG is not set # CONFIG_SCHED_DEBUG is not set -CONFIG_FUNCTION_TRACER=y -CONFIG_FTRACE_SYSCALLS=y # CONFIG_RUNTIME_TESTING_MENU is not set diff --git a/config/sources/families/rockchip-rv1106.conf b/config/sources/families/rockchip-rv1106.conf index e5541ad4b7..645fe253d0 100644 --- a/config/sources/families/rockchip-rv1106.conf +++ b/config/sources/families/rockchip-rv1106.conf @@ -60,6 +60,7 @@ case $BRANCH in KERNELSOURCE='https://github.com/armbian/linux-rockchip.git' KERNELBRANCH='branch:rk-6.1-rkr5.1' KERNELPATCHDIR='rv1106-vendor-6.1' + KERNEL_BTF="no" ;; esac