Re: [PATCH 2/2] imx8mm: imx8mm_evk: fix BOOTSTD boot

2025-02-27 Thread Fabio Estevam
On Sat, Feb 22, 2025 at 8:10 AM Peng Fan (OSS) wrote: > > From: Peng Fan > > Select BOOTSTD_FULL and BOOTSTD_BOOTCOMMAND > Correct DEFAULT_FDT_FILE > Correct env file for imx8mm_evk_fspi_defconfig > > Fixes: 364ba68ed1a ("imx: imx8mm_evk: Switch to BOOTSTD") > Reported-by: Ludwig Nussel > Signed

RE: [PATCH 2/2] imx8mm: imx8mm_evk: fix BOOTSTD boot

2025-02-26 Thread Peng Fan
> Subject: Re: [PATCH 2/2] imx8mm: imx8mm_evk: fix BOOTSTD boot > > Hi Peng, > > On Thu, Feb 27, 2025 at 12:11 AM Peng Fan > wrote: > > > I am just trying your setup. > > Appreciate your effort on helping this. > > From what I can see, it is only imx93-

Re: [PATCH 2/2] imx8mm: imx8mm_evk: fix BOOTSTD boot

2025-02-26 Thread Fabio Estevam
Hi Peng, On Thu, Feb 27, 2025 at 12:11 AM Peng Fan wrote: > I am just trying your setup. > Appreciate your effort on helping this. >From what I can see, it is only imx93-evk and imx8mp-evk that lacks setting kernel_addr_r. I will test and submit patches for these boards tomorrow. Cheers

RE: [PATCH 2/2] imx8mm: imx8mm_evk: fix BOOTSTD boot

2025-02-26 Thread Peng Fan
> Subject: Re: [PATCH 2/2] imx8mm: imx8mm_evk: fix BOOTSTD boot > > On Wed, Feb 26, 2025 at 11:27 PM Tom Rini > 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

Re: [PATCH 2/2] imx8mm: imx8mm_evk: fix BOOTSTD boot

2025-02-26 Thread Fabio Estevam
On Wed, Feb 26, 2025 at 11:27 PM Tom Rini 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/imx

Re: [PATCH 2/2] imx8mm: imx8mm_evk: fix BOOTSTD boot

2025-02-26 Thread Tom Rini
On Wed, Feb 26, 2025 at 07:47:03PM -0300, Fabio Estevam wrote: > Hi Peng, > > On Sat, Feb 22, 2025 at 8:10 AM Peng Fan (OSS) wrote: > > > > From: Peng Fan > > > > Select BOOTSTD_FULL and BOOTSTD_BOOTCOMMAND > > Correct DEFAULT_FDT_FILE > > Correct env file for imx8mm_evk_fspi_defconfig > > > > F

Re: [PATCH 2/2] imx8mm: imx8mm_evk: fix BOOTSTD boot

2025-02-26 Thread Tom Rini
On Wed, Feb 26, 2025 at 10:47:43PM -0300, Fabio Estevam wrote: > On Wed, Feb 26, 2025 at 9:55 PM Tom Rini wrote: > > > But what part of things here is trying to call "sysboot" as a command? > > This is my first time using bootstd, and I am not familiar with it. > > I got a 'Unknown command 'sys

Re: [PATCH 2/2] imx8mm: imx8mm_evk: fix BOOTSTD boot

2025-02-26 Thread Fabio Estevam
On Wed, Feb 26, 2025 at 11:09 PM Tom Rini wrote: > Yes, it's not that extlinux.conf is doing it, it's part of bootstd? > Sounds like it should be implied as part of BOOTSTD_something rather > than per-board. What about this? --- a/boot/Kconfig +++ b/boot/Kconfig @@ -564,7 +564,7 @@ config BOOTM

Re: [PATCH 2/2] imx8mm: imx8mm_evk: fix BOOTSTD boot

2025-02-26 Thread Fabio Estevam
On Wed, Feb 26, 2025 at 10:47 PM Fabio Estevam wrote: > > On Wed, Feb 26, 2025 at 9:55 PM Tom Rini wrote: > > > But what part of things here is trying to call "sysboot" as a command? > > This is my first time using bootstd, and I am not familiar with it. > > I got a 'Unknown command 'sysboot' err

Re: [PATCH 2/2] imx8mm: imx8mm_evk: fix BOOTSTD boot

2025-02-26 Thread Fabio Estevam
On Wed, Feb 26, 2025 at 9:55 PM Tom Rini wrote: > But what part of things here is trying to call "sysboot" as a command? This is my first time using bootstd, and I am not familiar with it. I got a 'Unknown command 'sysboot' error as shown below: mmc1 is current device Scanning mmc 1:1... Found

Re: [PATCH 2/2] imx8mm: imx8mm_evk: fix BOOTSTD boot

2025-02-26 Thread Tom Rini
On Wed, Feb 26, 2025 at 07:58:26PM -0300, Fabio Estevam wrote: > On Wed, Feb 26, 2025 at 7:47 PM Fabio Estevam wrote: > > > How can we fix this boot regression? This affects imx8mm-evk, > > imx8mn-evk, imx8mp-evk as well. > > After adding: > > --- a/configs/imx93_11x11_evk_defconfig > +++ b/con

RE: [PATCH 2/2] imx8mm: imx8mm_evk: fix BOOTSTD boot

2025-02-26 Thread Peng Fan
> Subject: Re: [PATCH 2/2] imx8mm: imx8mm_evk: fix BOOTSTD boot > > On Wed, Feb 26, 2025 at 7:47 PM Fabio Estevam > wrote: > > > How can we fix this boot regression? This affects imx8mm-evk, > > imx8mn-evk, imx8mp-evk as well. It boots well with NXP yocto generat

RE: [PATCH 2/2] imx8mm: imx8mm_evk: fix BOOTSTD boot

2025-02-26 Thread Peng Fan
Hi Fabio, > Subject: Re: [PATCH 2/2] imx8mm: imx8mm_evk: fix BOOTSTD boot > > Hi Peng, > > On Sat, Feb 22, 2025 at 8:10 AM Peng Fan (OSS) > wrote: > > > > From: Peng Fan > > > > Select BOOTSTD_FULL and BOOTSTD_BOOTCOMMAND Correct &

Re: [PATCH 2/2] imx8mm: imx8mm_evk: fix BOOTSTD boot

2025-02-26 Thread Fabio Estevam
On Wed, Feb 26, 2025 at 7:47 PM Fabio Estevam wrote: > How can we fix this boot regression? This affects imx8mm-evk, > imx8mn-evk, imx8mp-evk as well. After adding: --- a/configs/imx93_11x11_evk_defconfig +++ b/configs/imx93_11x11_evk_defconfig @@ -128,3 +128,4 @@ CONFIG_ULP_WATCHDOG=y CONFIG_

Re: [PATCH 2/2] imx8mm: imx8mm_evk: fix BOOTSTD boot

2025-02-26 Thread Fabio Estevam
Hi Peng, On Sat, Feb 22, 2025 at 8:10 AM Peng Fan (OSS) wrote: > > From: Peng Fan > > Select BOOTSTD_FULL and BOOTSTD_BOOTCOMMAND > Correct DEFAULT_FDT_FILE > Correct env file for imx8mm_evk_fspi_defconfig > > Fixes: 364ba68ed1a ("imx: imx8mm_evk: Switch to BOOTSTD") > Reported-by: Ludwig Nussel