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.
This commit is contained in:
Austin Lane 2026-02-13 22:01:40 -05:00 committed by Igor
parent f1f9918752
commit c8cae80e8c
2 changed files with 1 additions and 6 deletions

View File

@ -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

View File

@ -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