From 8e4bd2fd4cbf1c75acd30adbd3aaa074c3175a3e Mon Sep 17 00:00:00 2001 From: Denis 'GNUtoo' Carikli Date: Sun, 20 Feb 2011 20:49:43 +0100 Subject: [PATCH] linux-2.6.34: add unwinding to om-gta01's defconfig * taken from om-gta02 change 1516588acd3c4b4dd4add71d06ab8ce0d1bafa02 Adding unwinding remove CONFIG_FRAME_POINTER while preserving its debug functionalities at the cost of a bigger image (that we mitigate by using LZMA compression instead of gzip) Pratically speaking that should result in speed improvements: Speed seem to be faster but was not tested scientifically. Here's the unwinding help: This option enables stack unwinding support in the kernel using the information automatically generated by the compiler. The resulting kernel image is slightly bigger but the performance is not affected. Currently, this feature only works with EABI compilers. If unsure say Y. And the frame pointer help: If you say N here, the resulting kernel will be slightly smaller and faster. However, if neither FRAME_POINTER nor ARM_UNWIND are enabled, when a problem occurs with the kernel, the information that is reported is severely limited. Signed-off-by: Denis 'GNUtoo' Carikli Acked-by: Klaus Kurzmann Signed-off-by: Martin Jansa --- recipes/linux/linux-2.6.34/om-gta01/defconfig | 12 +++++------- 1 file changed, 5 insertions(+), 7 deletions(-) diff --git a/recipes/linux/linux-2.6.34/om-gta01/defconfig b/recipes/linux/linux-2.6.34/om-gta01/defconfig index 4cc007ea24..a80d93a1ab 100644 --- a/recipes/linux/linux-2.6.34/om-gta01/defconfig +++ b/recipes/linux/linux-2.6.34/om-gta01/defconfig @@ -1,7 +1,7 @@ # # Automatically generated make config: don't edit -# Linux kernel version: 2.6.34.7 -# Thu Nov 18 10:53:21 2010 +# Linux kernel version: 2.6.34.8 +# Sun Feb 20 14:21:33 2011 # CONFIG_ARM=y CONFIG_HAVE_PWM=y @@ -37,9 +37,9 @@ CONFIG_LOCALVERSION="" CONFIG_HAVE_KERNEL_GZIP=y CONFIG_HAVE_KERNEL_LZMA=y CONFIG_HAVE_KERNEL_LZO=y -CONFIG_KERNEL_GZIP=y +# CONFIG_KERNEL_GZIP is not set # CONFIG_KERNEL_BZIP2 is not set -# CONFIG_KERNEL_LZMA is not set +CONFIG_KERNEL_LZMA=y # CONFIG_KERNEL_LZO is not set CONFIG_SWAP=y CONFIG_SYSVIPC=y @@ -1366,7 +1366,6 @@ CONFIG_REGULATOR_PCF50606=y # # Graphics support # -# CONFIG_DRM is not set # CONFIG_VGASTATE is not set CONFIG_VIDEO_OUTPUT_CONTROL=y CONFIG_FB=y @@ -2090,7 +2089,6 @@ CONFIG_STRIP_ASM_SYMS=y # CONFIG_DEBUG_KERNEL is not set CONFIG_DEBUG_BUGVERBOSE=y # CONFIG_DEBUG_MEMORY_INIT is not set -CONFIG_FRAME_POINTER=y # CONFIG_RCU_CPU_STALL_DETECTOR is not set # CONFIG_LATENCYTOP is not set # CONFIG_SYSCTL_SYSCALL_CHECK is not set @@ -2099,7 +2097,7 @@ CONFIG_TRACING_SUPPORT=y # CONFIG_FTRACE is not set # CONFIG_SAMPLES is not set CONFIG_HAVE_ARCH_KGDB=y -# CONFIG_ARM_UNWIND is not set +CONFIG_ARM_UNWIND=y # CONFIG_DEBUG_USER is not set # CONFIG_OC_ETM is not set CONFIG_DEBUG_S3C_UART=2 -- 2.39.5