LS1021 boot from QSpi,and ddr4 config。

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

LS1021 boot from QSpi,and ddr4 config。

1,518 Views
ZzlYanG_cn
Contributor I

Question1:How to setting RCW,to boot from qspi in ls1021?

Question2:How do I set the parameters,How do I set the parameters in ls1021atwr.h file.

The memory on my board has 512MB * 16,how to setting parameters?

 

0 Kudos
Reply
1 Reply

1,496 Views
June_Lu
NXP TechSupport
NXP TechSupport
  1. Please follow QCVS_PBL_User_Guide to set RCW parameter according to your requirement. And then change the example below to get your own suitable RCW.

You can find the example from

https://source.codeaurora.org/external/qoriq/qoriq-components/rcw/tree/ls1021atwr/SSR_PNS_30/rcw_120...

  1. You can find https://source.codeaurora.org/external/qoriq/qoriq-components/u-boot/tree/include/configs/ls1021atwr... to change the parameters as your requirement.
  2. Please follow LS1021ARM page 791 16.5.1.1 Supported DDR SDRAM Organizations get the 512 Mbits x 16 and double check if the parameters is suitable for your design(please find the components datasheet to get the memory type). All parameters of DDR parameter and validation can follow QCVS_DDR_User_Guide.

Commands related to LSDK please follow LSDKUG_Rev21.08.