> Subject: Re: [PATCH 2/2] imx8mm: imx8mm_evk: fix BOOTSTD boot > > On Wed, Feb 26, 2025 at 7:47 PM Fabio Estevam > <feste...@gmail.com> wrote: > > > How can we fix this boot regression? This affects imx8mm-evk, > > imx8mn-evk, imx8mp-evk as well.
It boots well with NXP yocto generated image, anyway I will try buildroot as you suggested and fix all if any issues. Sorry for the regression. Regards, Peng. > > After adding: > > --- a/configs/imx93_11x11_evk_defconfig > +++ b/configs/imx93_11x11_evk_defconfig > @@ -128,3 +128,4 @@ CONFIG_ULP_WATCHDOG=y CONFIG_WDT=y > CONFIG_LZO=y CONFIG_BZIP2=y > +CONFIG_CMD_SYSBOOT=y > > I got: > > U-Boot 2025.04-rc3-00007-g57bbc4de75f6-dirty (Feb 26 2025 - > 19:50:19 -0300) > > Reset Status: POR > > CPU: NXP i.MX93(52) Rev1.1 A55 at 1700 MHz > CPU: Industrial temperature grade (-40C to 105C) at 36C > Model: NXP i.MX93 11X11 EVK board > DRAM: 2 GiB > Core: 214 devices, 24 uclasses, devicetree: separate > WDT: Started watchdog@42490000 with servicing every 1000ms > (40s timeout) > MMC: FSL_SDHC: 0, FSL_SDHC: 1 > Loading Environment from MMC... Reading from MMC(1)... *** > Warning - bad CRC, using default environment > > In: serial@44380000 > Out: serial@44380000 > Err: serial@44380000 > switch to partitions #0, OK > mmc1 is current device > Net: eth0: ethernet@42890000 [PRIME], eth1: ethernet@428a0000 > Hit any key to stop autoboot: 0 > Scanning for bootflows in all bootdevs > Seq Method State Uclass Part Name Filename > --- ----------- ------ -------- ---- ------------------------ > ---------------- > Scanning global bootmeth 'efi_mgr': > Cannot persist EFI variables without system partition > 0 efi_mgr ready (none) 0 <NULL> > ** Booting bootflow '<NULL>' with efi_mgr Loading Boot0000 'mmc 1' > failed Loading Boot0001 'mmc 0' failed EFI boot manager: Cannot load > any image Boot failed (err=-14) Scanning bootdev > 'mmc@42850000.bootdev': > Scanning bootdev 'mmc@42860000.bootdev': > 1 extlinux ready mmc 1 m...@42860000.bootdev.part > /boot/extlinux/extlinux.conf > ** Booting bootflow 'mmc@42860000.bootdev.part_1' with extlinux > 1: buildroot > missing environment variable: kernel_addr_r Skipping buildroot for > failure retrieving kernel Boot failed (err=-14) No more bootdevs > > Then I did: > > => setenv kernel_addr_r 0x80400000 > => saveenv > > and it finally booted: > > U-Boot 2025.04-rc3-00007-g57bbc4de75f6-dirty (Feb 26 2025 - > 19:50:19 -0300) > > Reset Status: POR > > CPU: NXP i.MX93(52) Rev1.1 A55 at 1700 MHz > CPU: Industrial temperature grade (-40C to 105C) at 45C > Model: NXP i.MX93 11X11 EVK board > DRAM: 2 GiB > Core: 214 devices, 24 uclasses, devicetree: separate > WDT: Started watchdog@42490000 with servicing every 1000ms > (40s timeout) > MMC: FSL_SDHC: 0, FSL_SDHC: 1 > Loading Environment from MMC... Reading from MMC(1)... OK > In: serial@44380000 > Out: serial@44380000 > Err: serial@44380000 > switch to partitions #0, OK > mmc1 is current device > Net: eth0: ethernet@42890000 [PRIME], eth1: ethernet@428a0000 > Hit any key to stop autoboot: 0 > Scanning for bootflows in all bootdevs > Seq Method State Uclass Part Name Filename > --- ----------- ------ -------- ---- ------------------------ > ---------------- > Scanning global bootmeth 'efi_mgr': > Cannot persist EFI variables without system partition > 0 efi_mgr ready (none) 0 <NULL> > ** Booting bootflow '<NULL>' with efi_mgr Loading Boot0000 'mmc 1' > failed Loading Boot0001 'mmc 0' failed EFI boot manager: Cannot load > any image Boot failed (err=-14) Scanning bootdev > 'mmc@42850000.bootdev': > Scanning bootdev 'mmc@42860000.bootdev': > 1 extlinux ready mmc 1 m...@42860000.bootdev.part > /boot/extlinux/extlinux.conf > ** Booting bootflow 'mmc@42860000.bootdev.part_1' with extlinux > 1: buildroot > Retrieving file: /boot/Image > append: root=PARTUUID=6d55b936-eeb3-49c5-9b61-b69a1207b761 > rootwait rw Retrieving file: /boot/freescale/imx93-11x11-evk.dtb > ## Flattened Device Tree blob at 83000000 > Booting using the fdt blob at 0x83000000 Working FDT set to > 83000000 > Loading Device Tree to 000000008fff3000, end 000000008ffff442 ... > OK Working FDT set to 8fff3000 > > Starting kernel ... > > [ 0.000000] Booting Linux on physical CPU 0x0000000000 > [0x412fd050] > [ 0.000000] Linux version 6.12.16 (fabio@fabio-Precision-3551) > (aarch64-buildroot-linux-gnu-gcc.br_real (Buildroot > 2024.11-1133-g5a1515b5976a-dirty) 13.3.0, GNU ld (GNU Binutils) > 2.43.1) #1 SMP PREEMPT Wed Feb 26 16:51:31 -03 2025 > > Can you please fix this for all the i.MX boards? > > Otherwise, we will have boot regressions, and the bootstd series must > be reverted.