On Fri, Jul 04, 2025 at 02:15:20PM -0500, David Lechner wrote:

> Adjust legoev3_defconfig to reduce the binary output size.
> 
> As u-boot has bloated a bit over the years, the legoev3_defconfig can no
> longer build something that fits in the 256kB size limit of the EV3.
> This drops a few unused features, but the real difference-makers are
> enabling thumb instructions and using link time optimization to reduce
> the size.
> 
> This reduced u-boot.bin from 279,920 to 198,416 bytes on my local
> machine with arm-none-eabi-gcc (15:13.2.rel1-2) 13.2.1 20231009.
> 
> Signed-off-by: David Lechner <[email protected]>
> ---
>  configs/legoev3_defconfig | 4 ++--
>  1 file changed, 2 insertions(+), 2 deletions(-)

Thanks for doing this. Can you please also enable HAS_BOARD_SIZE_LIMIT
and then set the limit? This will help ensure we don't break in the
future.

-- 
Tom

Attachment: signature.asc
Description: PGP signature

Reply via email to