diff options
| author | Andrew Jeffery <andrew@codeconstruct.com.au> | 2025-08-28 09:49:12 +0300 |
|---|---|---|
| committer | Andrew Jeffery <andrew@codeconstruct.com.au> | 2025-09-01 08:23:17 +0300 |
| commit | 118c99036fb73f9dcb605532e7d6a38ddd4a8e49 (patch) | |
| tree | 1e6a96445bc84bb1e03c4f6caef0828d38d5a7f8 /meta-openembedded/meta-python/recipes-devtools/python/python3-cmake | |
| parent | 85a35e38b049d96a962ad5be3421f177a4e2d980 (diff) | |
| download | openbmc-118c99036fb73f9dcb605532e7d6a38ddd4a8e49.tar.xz | |
meta-asrock: e3c246d4i: Disable DRM to reduce v6.12 binary size
Shrinking vmlinux by disabling CONFIG_DRM allows the resulting FIT image
to meet the size constraint imposed by its flash partition.
CONFIG_DRM and CONFIG_DRM_ASPEED_GFX tend to be used for fbterm and
rendering the host console managed by uart-render-controller. From
inspection it's only IBM systems doing this, so assuming DRM is unused
here, drop it from the kernel config.
For comparision, size(1) reports:
dev-6.6:
text data bss dec hex filename
7102072 2406882 144352 9653306 934c3a vmlinux
dev-6.12, CONFIG_DRM=y:
text data bss dec hex filename
7472824 2541570 161216 10175610 9b447a vmlinux
dev-6.12, CONFIG_DRM=n:
text data bss dec hex filename
7085476 2380654 159008 9625138 92de32 vmlinux
Suggested-by: Joel Stanley <joel@jms.id.au>
Change-Id: Iea294faa302b75b3d8fa55cb68646a9cc2d55a6b
Signed-off-by: Andrew Jeffery <andrew@codeconstruct.com.au>
Diffstat (limited to 'meta-openembedded/meta-python/recipes-devtools/python/python3-cmake')
0 files changed, 0 insertions, 0 deletions
