[PATCH v1] configs: colibri-imx7*: set 'fdtfile' generically in PREBOOT

Francesco Dolcini francesco at dolcini.it
Tue Nov 18 13:42:09 CET 2025


On Tue, Nov 18, 2025 at 01:36:48PM +0100, Francesco Dolcini wrote:
> On Tue, Nov 18, 2025 at 01:30:52PM +0100, Ernest Van Hoecke wrote:
> > From: Ernest Van Hoecke <ernest.vanhoecke at toradex.com>
> > 
> > In TEZI (Toradex Easy Installer), we use one U-Boot binary for both our
> > NAND and eMMC Colibri iMX7 modules. Currently, CONFIG_PREBOOT sets the
> > environment variable 'fdtfile' depending on which defconfig was used,
> > adding the '-emmc' variant for the emmc defconfig. Since we always build
> > the TEZI recovery U-Boot with the standard (non-emmc) defconfig, fdtfile
> > has to be overwritten later or it will be wrong there.
> > 
> > By using '$variant', the fdtfile var is properly constructed at run time
> > for both the NAND and eMMC variants, and we do not have to worry about
> > setting fdtfile again when building the recovery TEZI U-Boot.
> > 
> > This also synchronizes these configs with how we handle the iMX6ULL.
> > 
> > Fixes: 327381e8b57c ("colibri_imx7: use preboot for fdtfile evaluation")
> > Signed-off-by: Ernest Van Hoecke <ernest.vanhoecke at toradex.com>
> 
> Reviewed-by: Francesco Dolcini <francesco.dolcini at toradex.com>

nack, I did a mistake.

There is an error in the patch, we need to keep the ${soc} variable to
differentiate between imx7d and imx7s

Francesco



More information about the U-Boot mailing list