How to read PBL preamble and RCW header in u-boot

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

How to read PBL preamble and RCW header in u-boot

跳至解决方案
1,479 次查看
vishnu_motghare
Contributor III

In the u-boot source code there is RCW CFG file u-boot/board/freescale/ls1021atwr/ls102xa_rcw_sd_qspi.cfg

#PBL preamble and RCW header
aa55aa55 01ee0100

#disable IFC, enable QSPI and DSPI
0608000c 00000000 00000000 00000000
30000000 00007900 60040a00 21046000
00000000 00000000 00000000 20000000
20024800 881b7340 00000000 00000000

How to read these values & what are their meaning? How these hex values are generated? If I want to change something e.g. disable QSPI how to do it? Any references where I can read & understand the meaning of these hex values?

 

0 项奖励
回复
1 解答
1,457 次查看
mrudangshelat-13
NXP TechSupport
NXP TechSupport

Hi @vishnu_motghare 


Refer to QCVS PBL Tool User Guide:

https://www.nxp.com/docs/en/user-guide/QCVS_PBL_User_Guide.pdf


Refer to the RCW field definitions section in the LS1021A reference manual, which describes the function of individual bits of the 512-bit (64-byte) RCW data structure.


Regards,

Mrudang Shelat

在原帖中查看解决方案

0 项奖励
回复
2 回复数
1,458 次查看
mrudangshelat-13
NXP TechSupport
NXP TechSupport

Hi @vishnu_motghare 


Refer to QCVS PBL Tool User Guide:

https://www.nxp.com/docs/en/user-guide/QCVS_PBL_User_Guide.pdf


Refer to the RCW field definitions section in the LS1021A reference manual, which describes the function of individual bits of the 512-bit (64-byte) RCW data structure.


Regards,

Mrudang Shelat

0 项奖励
回复
1,435 次查看
vishnu_motghare
Contributor III
Hi @mrudangshelat-13
Thanks for your reply. The document shared by you really helped. We have been stuck with a problem where we are not able to boot from qspi 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?
0 项奖励
回复