On Fri, Jul 04, 2025 at 10:03:19AM -0300, Fabio Estevam wrote:

> The CONFIG_ENV_OFFSET value is too low and the imx6dl sabresd board
> no longer boots.
> 
> There have been attempts to increase CONFIG_ENV_OFFSET in the past, but
> the suggestion was to enable LTO, which worked well for some time.
> 
> Give more room to CONFIG_ENV_OFFSET so that the board can boot again.
> 
> Adjust the CONFIG_BOARD_SIZE_LIMIT to take this into account:
> 
> CONFIG_BOARD_SIZE_LIMIT = CONFIG_BOARD_SIZE_LIMIT - 69k = 9779920
> 
> Signed-off-by: Fabio Estevam <[email protected]>
> ---
>  configs/mx6sabresd_defconfig | 4 ++--
>  1 file changed, 2 insertions(+), 2 deletions(-)

If we correct the size limit for where the environment is today and
switch to CONFIG_MULTI_DTB_FIT_LZO do we fit within the limits again? We
could likely save a little space too by dropping PLAN9 and RTEMS bootm
support and seeing if we really need CONFIG_MMC_VERBOSE as well.

-- 
Tom

Attachment: signature.asc
Description: PGP signature

Reply via email to