[RFC PATCH v5 24/24] DO NOT MERGE: only to make CI happy

Francis Laniel francis.laniel at amarulasolutions.com
Sat Dec 31 15:49:30 CET 2022


Le vendredi 23 décembre 2022, 05:15:50 CET Marek Vasut a écrit :
> On 11/1/22 20:20, Francis Laniel wrote:
> > This commit set CONFIG_HUSH_PARSER_2021 as the default to trigger the CI
> > with this parser.
> > 
> > Nonetheless, Some boards are not compatible with new 2021 hush parser:
> > 
> > 1. rcar3_ulcb:
> > 	When built with CONFIG_HUSH_PARSER_2021, the u-boot.img file size
> > 	exceeds the 1MB file limit of 890 bytes:
> > 	aarch64:  +   rcar3_ulcb
> > 	+u-boot.img exceeds file size limit:
> > 	+  limit:  0x100000 bytes
> > 	+  actual: 0x10037a bytes
> > 	+  excess: 0x37a bytes
> > 	Some complementary work is then needed to use CONFIG_HUSH_PARSER_2021 
for
> > 	this board.
> 
> Maybe this patch helps with ULCB ?
> 
> https://patchwork.ozlabs.org/project/uboot/patch/20221222211315.142860-1-mar
> ek.vasut at gmail.com/

Yes! Perfect! Thank you a lot for the recommendation!
With this, I was able to compile the img and its size is smaller than 1MB:
$ make rcar3_ulcb_defconfig
...
$ make menuconfig
# To activate CONFIG_LTO
$ CROSS_COMPILE=aarch64-linux-gnu- make -j$(nproc)
...
$ du -sh u-boot.img
996K    u-boot.img

I will add your patch to future version of this series and I will rebase when 
your patch would have been merged.




More information about the U-Boot mailing list