I am trying to boot imx 8m plus from SPI Nand flash.
From i.MX 8M Plus Applications Processor Reference Manual(IMX8MPRM), Chapter 6, it states that boot ROM supports "Serial NAND Flash via FlexSPI". Other than the document above, there is no instructions on how we put uboot into flash (using qspi for flexspi nand in uuu ???).
I tried burning uboot into flash directly using external burner, modify uboot to recognize SPI NAND and use mtd to copy image into flash, but still with no luck, SOC dose not boot.
Note: We already changed Boot MODE PIN to FLEXSPI Serial NAND -2k page "1 0 1 0".
If IMX 8m plus does support serial nand boot, what kind of image should i build and how do I boot it?
Hello Rita,
We know from the datasheet that it says 8mp does support Serial NAND Flash via FlexSPI. Other than above, there is almost no documents or instructions on how we prepare a Serial Nand Flash Image nor how do we burn the image to flash.
We had tried to change kernel setting from FlexSPI nor to FlexSPI Nand and try to access serial nand after booting from USB. We are able to detect serial nand through mtd device and write image into flash. Unfortunately, 8mp still dose not boot from nand device.
We are wondering if there is any other Documentation or example for us? Or the machine rom simply do not support Serial Nand Boot?