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: 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://github.com/buildroot/buildroot/commit/27b3e6774fe447dc5eb12cc7f498ec8868eb65c9 How can we fix this boot regression? This affects imx8mm-evk, imx8mn-evk, imx8mp-evk as well.