[PATCH 0/7] filetype: Some size reduction patches
Sascha Hauer
s.hauer at pengutronix.de
Wed Mar 19 01:41:50 PDT 2025
Hi Alexander,
On Tue, Mar 18, 2025 at 06:01:19PM +0300, Alexander Shiyan wrote:
> Hello Sascha!
>
> I've been using a separate config for this board for a long time :)
> Maybe you can take something from my working configuration that
> has been working for several years:
> https://github.com/shcgit/barebox/blob/milas/arch/arm/configs/mm_am335x_mlo_defconfig
Thanks, I extracted some more unneeded options from that. You disabled
the board support which we want to keep. Also you disabled SPI boot
which I think we'll need for some boards. However, these are indeed
not needed:
- CONFIG_BOARD_GENERIC_DT
- CONFIG_MTD_NAND_ECC_SW_HAMMING.
- CONFIG_BANNER
With my series and these options disabled the beaglebone MLO is now down
to 108836 bytes from originally 111956 bytes. The maximim size is 111616
bytes so we now have another 2780 bytes for future bloat before we are
in the same situation again ;)
Sascha
--
Pengutronix e.K. | |
Steuerwalder Str. 21 | http://www.pengutronix.de/ |
31137 Hildesheim, Germany | Phone: +49-5121-206917-0 |
Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-5555 |
More information about the barebox
mailing list