[PATCH] mx6sabresd: Increase CONFIG_ENV_OFFSET to fix boot regression

Tom Rini trini at konsulko.com
Fri Jul 4 15:31:05 CEST 2025


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 <festevam at gmail.com>
> ---
>  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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 659 bytes
Desc: not available
URL: <https://lists.denx.de/pipermail/u-boot/attachments/20250704/4bbcbfe4/attachment.sig>


More information about the U-Boot mailing list