Hi @AldoG ,
We were trying to boot from NOR memory through ECSPI2. We flashed eFUSED, which is perfect and confirmed on another post.
We also tried /dev/mtd1 instead of /dev/mtdblock1. but we were unable to see output on the MISO line.
And also we tried with fspi image. We didnt see any console message.
please refer below.
SPL is failing for us on both cases.
Hello @vignesh-baskaran
I hope you are doing well.
for "Can't find PMIC:PCA9450" issue one can reffer below link
https://community.nxp.com/t5/
Please refer to this 4.4.1.4 Flashing U-Boot on SPI-NOR from U-Boot
https://www.nxp.com/docs/en/
Thanks & Regards
Sanket Parekh
Hi @Sanket_Parekh ,
1) if We can't use SD image, can you suggest alternative image which can work ECSPI2?
2) We tried to build Spinor image using the following command. but the build fails.
DISTRO=fsl-imx-wayland MACHINE=imx8mm-lpddr4-evk source imx-setup-release.sh -b <build folder>
echo "UBOOT_CONFIG = \"spinor\"" >> conf/local.conf
bitbake core-image-minimal
| cp: cannot stat '/home/vignesh/imx-yocto-bsp/spinor/tmp/deploy/images/imx8mm-lpddr4-evk/u-boot-spl.bin-imx8mm-lpddr4-evk-spinor': No such file or directory
| WARNING: exit code 1 from a shell command
3) Can you please let know is there prebuild image we can test with ECSPI2 memory?
Hello @vignesh-baskaran ,
I hope you are doing well.
->The SPI-NOR flash memory can be configured using the Linux kernel command line.
mtdparts=spi32766.0:768k(
->U-Boot should be loaded at the 1 KB offset of the SPI-NOR memory so that the device can boot from it. The default configuration is that on boot up, U-Boot loads the kernel, DTB, and root file system from the SD/MMC card into DDRAM.
->Please make sure to follow the procedure as mentioned in the docs.
https://www.nxp.com/docs/en/
->To flash U-Boot on SPINOR, follow section 4.4.1.4 Flashing U-Boot on SPI-NOR from U-Boot.
->Please make sure to check Interface allocation during boot.
For that refer to Datasheet for more details.
https://www.nxp.com/docs/en/
There is no prebuild image one has to flash the image itself on spi-nor.
https://www.nxp.com/design/
->One can also flash the image through eMMC as well as if not from an SD card.
For that refer to section 4.4.1.3 Using eMMC
Please make sure to follow the above suggestions.
Thanks & Regards,
Sanket Parekh