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 | 9fe971dac7d288c28d37a759977aa976b7dc6296 (patch) | |
tree | 42b6b2fcdac765ece89251f199d52a31e684c422 /poky/scripts/lib/wic/help.py | |
parent | 118c99036fb73f9dcb605532e7d6a38ddd4a8e49 (diff) | |
download | openbmc-master.tar.xz |
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. For some
IBM platforms this is necessary, but not so much for Romulus. Disable it
to reduce the FIT image size so that it is not too large for its flash
partition.
For comparision, size(1) reports:
dev-6.6:
text data bss dec hex filename
7134648 2425590 144288 9704526 94144e vmlinux
dev-6.12, CONFIG_DRM=y:
text data bss dec hex filename
7504840 2533774 160576 10199190 9ba096 vmlinux
dev-6.12, CONFIG_DRM=n:
text data bss dec hex filename
7117484 2399170 158304 9674958 93a0ce vmlinux
Suggested-by: Joel Stanley <joel@jms.id.au>
Change-Id: I87b10a538c841a2a74861ff49cd497c8be173ccf
Signed-off-by: Andrew Jeffery <andrew@codeconstruct.com.au>
Diffstat (limited to 'poky/scripts/lib/wic/help.py')
0 files changed, 0 insertions, 0 deletions