We have been stuck with a problem where we are not able to boot from QuadSpi flash. We have two variants of flash from Macronix MX66L2G45G (256MB) & MX66LM1G45G (128 MB). MX66L2G45G (256MB) flash supports Singal I/O, Dula I/O & Quad I/O & It has Quad Peripheral Interface (QPI) and we are able to boot the ls1021atwr custom board with it from flash. Whereas MX66LM1G45G (128 MB) flash supports only Singal I/O & OCTA I/O & It has Octa Peripheral Interface (OPI) but we are not able to boot from this flash.
So the question here is, does PBL only supports Quad I/O because that's the only difference between these two flashes? If not, then is there any way to configure PBL to read RCW from Singal or OCTA I/O flash?
Solved! Go to Solution.
LS1021a does not support octal booting. As I said, LS1021a only support 1-bit mode booting. It can be changed to quad-mode at TFA phase or uboot phase.
Booting from qSPI uses only (x1) single bit operation. You need to check with Macronix to see whether MX66L2G45G expects an Octal booting. The last Part name of this part should be 00 (not 10, which is Default x8 I/O enable)
Hi @yipingwang
Thanks for your reply. I have checked the part number & it is MX66LM1G45GXDI00 so we can confirm that default x1 I/O is enabled. Yes, I can confirm with Macronix whether this flash expects octal booting. Suppose this particular flash requires octal booting does ls1021atwr support this? Is there any setting for this in RCW to support octal booting? Does ls1021atwr only support quad-mode booting?
LS1021a does not support octal booting. As I said, LS1021a only support 1-bit mode booting. It can be changed to quad-mode at TFA phase or uboot phase.
In the Boot Initialization sequence of QuadSPI, It is mentioned, it enables Quad mode, So does that mean flash should support quad mode operation and if it's not supported then we can not use that flash for boot purposes? Any help is appreciated to fix this issue.