Does PBL only supports quad read operation from QSPI flash?

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Does PBL only supports quad read operation from QSPI flash?

Jump to solution
1,345 Views
vishnu_motghare
Contributor III

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?

Labels (2)
0 Kudos
Reply
1 Solution
1,251 Views
yipingwang
NXP TechSupport
NXP TechSupport

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.

View solution in original post

4 Replies
1,314 Views
yipingwang
NXP TechSupport
NXP TechSupport

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)

1,306 Views
vishnu_motghare
Contributor III

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?

0 Kudos
Reply
1,252 Views
yipingwang
NXP TechSupport
NXP TechSupport

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.

1,322 Views
vishnu_motghare
Contributor III

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.

vishnu_motghare_0-1668690636337.png

 

0 Kudos
Reply