ALT Linux kernel packages development
 help / color / mirror / Atom feed
* [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.

Signed-off-by: Vitaly Chikunov <>
 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

^ 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 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/ \
	public-inbox-index devel-kernel

Example config snippet for mirrors.
Newsgroup available over NNTP:

AGPL code for this site: git clone