Does PBL only supports quad read operation from QSPI flash?

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 
已解决

Does PBL only supports quad read operation from QSPI flash?

跳至解决方案
960 次查看
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?

标签 (2)
标记 (4)
0 项奖励
1 解答
866 次查看
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.

在原帖中查看解决方案

4 回复数
929 次查看
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)

921 次查看
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 项奖励
867 次查看
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.

937 次查看
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 项奖励