Hi Community,
We are trying to boot iMX8mm board from ECSPI2 spi nor flash.
We have burnt efuse for ECSPI2 and it was programmed correctly.
We are using SD pre-built image for ECSPI2 boot.
Boot flow stops at SPL; error message says that
SPL: "Unsupported boot device"
SPL : "Failed to boot from all boot devices"
We tried with all prebuilt binaries and custom uboot images in which SPL SPI-NOR interface is enabled in configurations.
But "EXCEPT SD PRE-BUILT BINARY, NO OTHER IMAGE IS SHOWING CONSOLE PRINTS"
So, I would like to understand:
1) Why any other image is not even able to load SPL?
2) What is SPL expecting here?
3) How can I let SPL know that it has to look at ECSPI2 interface for the uboot main app binary? (we tried customize uboot from wayland distro and standalone uboot but nothing shows up on console except SD prebuilt image)
Best
Lakshmi
It sounds like you are having trouble booting your iMX8mm board from the ECSPI2 SPI NOR flash. You have burned the efuse for ECSPI2 correctly, but the boot flow stops at SPL and tutuapp you are getting an "Unsupported boot device" error message. You have tried using pre-built binaries and custom u-boot images with SPL SPI-NOR interface enabled in configurations, but none of them are working except kodi the SD pre-built binary.
To answer your questions:
It's unclear why the other images are not able to load SPL. It could be a configuration issue or a problem with the image itself.
SPL is expecting to find the u-boot image on a boot device that it supports. In your case, it seems that it is not recognizing the ECSPI2 SPI NOR flash as a valid boot device.
To let SPL know that it should look for the u-boot image on the ECSPI2 interface, you will need to modify the SPL source code and configure it accordingly. This is typically done by setting the appropriate boot device parameters in the board-specific configuration files. Without more information about your setup and the specific image you are using, it's difficult to provide more detailed guidance.
Hi community,
Anyone can help on this issue? We are struggling to boot the board from ECSPI2 from long since without success.
No clear documentation provided anywhere about ECSPI booting by NXP. We have reached critical stage of our project now and we still got stuck at boot process.
Any help by anybody is highly appreciated.
Best
Lakshmi
Hi @emmafrost1
Thanks for your response.
We are using imx8mm-lpddr4-evk board for our prototyping.
We would like to use ECSPI2 interface for booting Linux.
We interfaced MT25QL02GCBB8E12-0SIT part on ECSPI2. ANd have the eFuse programmed for ECSPI2 boot.
For testing ECSPI2 interface We have enabled it in Linux (booted from SD card) and able to program with mtdparts and dd commands with boot image.
We would like have uboot and Linux on ECSPI flash.
Main agenda is to keep SD,eMMC NAND flash interfaces free for other application usage.
Problem is we got stuck at bootloader, As the SPL fails to find boot device. (attached is the screenshot for your reference)
Would you please provide yocto and/or standalone uboot and linux configuration for our EVK(imx8mm-lpddr4-evk) to make SPL boot from ECSPI2?
Our project is in very time critical phase, we have our custom board ready. If we cannot prove ECSPI2 boot on EVK it will be a major setback to our project.
Any immediate help would be highly appreciated.
Thanks in advance.
Best
Lakshmi