
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:
- 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:
Some complementary work is then needed to use CONFIG_HUSH_PARSER_2021
- limit: 0x100000 bytes
- actual: 0x10037a bytes
- excess: 0x37a bytes
for
this board.
Maybe this patch helps with ULCB ?
https://patchwork.ozlabs.org/project/uboot/patch/20221222211315.142860-1-mar ek.vasut@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.