> Subject: Re: [PATCH 2/2] imx8mm: imx8mm_evk: fix BOOTSTD boot
> 
> On Wed, Feb 26, 2025 at 11:27 PM Tom Rini <tr...@konsulko.com>
> wrote:
> 
> > Did you reset the environment at some point to be the new default?
> 
> Yes, this was the issue, thanks.
> 
> Besides that, I also need to set kernel_addr_r for the boot to succeed:
> 
> --- a/board/freescale/imx93_evk/imx93_evk.env
> +++ b/board/freescale/imx93_evk/imx93_evk.env
> @@ -16,6 +16,7 @@ mmcroot=/dev/mmcblk1p2 rootwait rw
> mmcautodetect=yes  mmcargs=setenv bootargs ${jh_clk} ${mcore_clk}
> console=${console} root=${mmcroot}  prepare_mcore=setenv
> mcore_clk clk-imx93.mcore_booted
> +kernel_addr_r=CONFIG_SYS_LOAD_ADDR
>  loadimage=fatload mmc ${mmcdev}:${mmcpart} ${loadaddr} ${image}
> loadfdt=fatload mmc ${mmcdev}:${mmcpart} ${fdt_addr_r} ${fdtfile}
> loadcntr=fatload mmc ${mmcdev}:${mmcpart} ${cntr_addr} ${cntr_file}
> 
> Tomorrow, I will send a formal patch that sets kernel_addr_r for all the
> i.MX EVK boards that have been converted to bootstd.

I am just trying your setup. 
Appreciate your effort on helping this.

Thanks
Peng

> 
> Thanks for your help

Reply via email to