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) > <peng....@oss.nxp.com> wrote: > > > > From: Peng Fan <peng....@nxp.com> > > > > 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 <ludwig.nus...@siemens.com> > > Signed-off-by: Peng Fan <peng....@nxp.com> > > I have a problem with the bootstd conversion series. > > I have a Buildroot image that boots U-Boot 2025.01 on imx93-evk:
I tested with NXP yocto image, it boots well. It should be my setup not have extconf. I will use buildroot to setup a build and try it. Thanks, Peng > > U-Boot 2025.01 (Feb 26 2025 - 16:22:03 -0300) > > Reset Status: POR > > CPU: NXP i.MX93(52) Rev1.1 A55 at 1700 MHz > CPU: Industrial temperature grade (-40C to 105C) at 37C > Model: NXP i.MX93 11X11 EVK board > DRAM: 2 GiB > Core: 199 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 > switch to partitions #0, OK > mmc0(part 0) is current device > Scanning mmc 0:1... > 65166 bytes read in 15 ms (4.1 MiB/s) > Cannot persist EFI variables without system partition Loading > Boot0000 'mmc 1' failed Loading Boot0001 'mmc 0' failed EFI boot > manager: Cannot load any image switch to partitions #0, OK > mmc1 is current device > Scanning mmc 1:1... > Found /boot/extlinux/extlinux.conf > Retrieving file: /boot/extlinux/extlinux.conf > 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 .... > > If I flash U-Boot top-of-tree into the SD card, the boot fails: > > U-Boot 2025.04-rc3-00007-g57bbc4de75f6 (Feb 26 2025 - 19:35:55 - > 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)... 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 > switch to partitions #0, OK > mmc0(part 0) is current device > Scanning mmc 0:1... > 65166 bytes read in 14 ms (4.4 MiB/s) > Cannot persist EFI variables without system partition Loading > Boot0000 'mmc 1' failed Loading Boot0001 'mmc 0' failed EFI boot > manager: Cannot load any image switch to partitions #0, OK > mmc1 is current device > Scanning mmc 1:1... > Found /boot/extlinux/extlinux.conf > Unknown command 'sysboot' - try 'help' > EXTLINUX FAILED: continuing... > Loading Boot0000 'mmc 1' failed > Loading Boot0001 'mmc 0' failed > EFI boot manager: Cannot load any image > u-boot=> > > Even though /boot/extlinux/extlinux.conf was found, it did not succeed > in booting it. > > If you want to test the same environment I am using, build a Buildroot > image using mainline Buildroot: > https://eur01.safelinks.protection.outlook.com/?url=https%3A%2F%2F > github.com%2Fbuildroot%2Fbuildroot%2Fcommit%2F27b3e6774fe44 > 7dc5eb12cc7f498ec8868eb65c9&data=05%7C02%7Cpeng.fan%40nxp. > com%7C397a6ea98dbb4b89694a08dd56b784e8%7C686ea1d3bc2b4c > 6fa92cd99c5c301635%7C0%7C0%7C638762068420104752%7CUnkn > own%7CTWFpbGZsb3d8eyJFbXB0eU1hcGkiOnRydWUsIlYiOiIwLjAuMD > AwMCIsIlAiOiJXaW4zMiIsIkFOIjoiTWFpbCIsIldUIjoyfQ%3D%3D%7C0%7 > C%7C%7C&sdata=0zBb1eyVKU7V6H17i%2FKLLdnJmwsKi0%2Br%2F6Q > YCCAZauE%3D&reserved=0 > > How can we fix this boot regression? This affects imx8mm-evk, > imx8mn-evk, imx8mp-evk as well.