* [d-kernel] [PATCH] config: Disable DEBUG_INFO_BTF on aarch64
@ 2022-10-28 21:35 Vitaly Chikunov
0 siblings, 0 replies; only message in thread
From: Vitaly Chikunov @ 2022-10-28 21:35 UTC (permalink / raw)
To: devel-kernel
We have the same kernel for enterprise systems (like TaiShan) and toy
computers (like Raspberry Pi). Raspberry Pi cannot boot newer kernels
with U-Boot anymore[1] due to vmlinuz (that is uncompressed Image[2])
size approaching 40MB, (which is limited by fdt_addr_r=0x02600000
parameter specified in our U-Boot package).
Obvious target to reduce size is removing .BTF section. As a downside
this will reduce eBPF & tracing abilities on these platforms.
Link: https://bugzilla.altlinux.org/41479
Link: https://www.kernel.org/doc/Documentation/arm64/booting.txt
Signed-off-by: Vitaly Chikunov <vt@altlinux.org>
---
config-aarch64 | 1 +
1 file changed, 1 insertion(+)
diff --git a/config-aarch64 b/config-aarch64
index a23500fdf356..7d70fcff9fa6 100644
--- a/config-aarch64
+++ b/config-aarch64
@@ -1597,3 +1597,4 @@ CONFIG_USB_SERIAL_CP210X=y
CONFIG_USB_SERIAL_PL2303=y
CONFIG_USB_SERIAL_FTDI_SIO=y
CONFIG_USB_SISUSBVGA=y
+# CONFIG_DEBUG_INFO_BTF is not set
--
2.33.4
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2022-10-28 21:35 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-10-28 21:35 [d-kernel] [PATCH] config: Disable DEBUG_INFO_BTF on aarch64 Vitaly Chikunov
ALT Linux kernel packages development
This inbox may be cloned and mirrored by anyone:
git clone --mirror http://lore.altlinux.org/devel-kernel/0 devel-kernel/git/0.git
# If you have public-inbox 1.1+ installed, you may
# initialize and index your mirror using the following commands:
public-inbox-init -V2 devel-kernel devel-kernel/ http://lore.altlinux.org/devel-kernel \
devel-kernel@altlinux.org devel-kernel@altlinux.ru devel-kernel@altlinux.com
public-inbox-index devel-kernel
Example config snippet for mirrors.
Newsgroup available over NNTP:
nntp://lore.altlinux.org/org.altlinux.lists.devel-kernel
AGPL code for this site: git clone https://public-inbox.org/public-inbox.git