[U-Boot] tools: board config CONFIG_SYS_BOOTM_LEN is being ignored

Philipp Puschmann philipp.puschmann at emlix.com
Fri Mar 8 09:22:23 UTC 2019


Hi,

i noticed that CONFIG_SYS_BOOTM_LEN, set in board config, and used in common/bootm.c is ignored
when compiling the tools like mkimage and fit_check_sign. Instead the default value of 8MB is used and fit_check_sign
may fail with "Loading Kernel Image ... Image too large: increase CONFIG_SYS_BOOTM_LEN". Still the U-Boot
binary built with the increased CONFIG_SYS_BOOTM_LEN works without any problem.

I'm unsure how and where to fix it in a proper way. The Makefile system ist not quite easy to understand and the CONFIG_* options
are spread over various files during build time. It may be possible to move this option to Kconfig.

Regards,
Philipp


More information about the U-Boot mailing list