diff options
| author | Jayanth Othayoth <ojayanth@gmail.com> | 2025-06-15 17:38:30 +0300 |
|---|---|---|
| committer | Zev Weiss <zev@bewilderbeest.net> | 2025-07-23 22:02:25 +0300 |
| commit | 95d2ff29cf01cfc4b06bb16fae02626d8b142ee8 (patch) | |
| tree | 6ba899d35a780cf4e692d5be31a117ae0c7cd23b /meta-openembedded/meta-python/recipes-devtools/python/python3-elementpath_5.0.1.bb | |
| parent | f09ed2028b54caf56186480dad22f97a89dc8542 (diff) | |
| download | openbmc-95d2ff29cf01cfc4b06bb16fae02626d8b142ee8.tar.xz | |
meta-asrock:e3c246d4i:kernel: shrink image size
During the migration to Linux kernel 6.12, the e3c246d4i platform
began encountering flash image size overflows due to increased
kernel size.
'''
ERROR: obmc-phosphor-image-1.0-r0 do_generate_static:
Image '/target/e3c246d4i/build/deploy/images/e3c246d4i/fitImage-obmc-phosphor-initramfs-e3c246d4i-e3c246d4i' is 52292 bytes too large!
'''
To address this, the following debug options have been disabled:
- CONFIG_FUNCTION_TRACER:
Enables function-level instrumentation for tracing via ftrace.
Disabling it significantly reduces kernel image size.
Side effect: Removes support for function call tracing and
performance profiling using ftrace.
- CONFIG_DEBUG_LIST:
Adds runtime checks for kernel linked list misuse.
Disabling it reduces code size and runtime overhead.
Side effect: Disables automatic detection of list corruption
(e.g., double insertions or invalid deletions), which may make
certain memory bugs harder to detect.
These changes help reduce the kernel image size while retaining
essential debugging capabilities like dynamic debug and symbol-based
crash analysis.
Change-Id: I26580a8a0cebe2076877090204b13275f9c0540e
Signed-off-by: Jayanth Othayoth <ojayanth@gmail.com>
Diffstat (limited to 'meta-openembedded/meta-python/recipes-devtools/python/python3-elementpath_5.0.1.bb')
0 files changed, 0 insertions, 0 deletions
