Memory and QSPI flash configurations

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

Memory and QSPI flash configurations

3,037 Views
tsung-chihwang
Contributor III

Hi, below are our platform information.

1. chip set: IMX6ULL

2. BSP version: 4.1.15-2.1.0

We try to boot from QSPI flash. (boot ROM--> u-boot--> Linux kernel)

Should we need to do some configurations for QSPI flash and DDR3 memory?

If the answer is yes, I was wondering if you could point out where and how to modify them.

BR,

carter

Labels (2)
Tags (2)
6 Replies

2,660 Views
igorpadykov
NXP Employee
NXP Employee

Hi Tsung-Chih

main points may be mfg tool qspi vbs script like mfgtool2-yocto-mx-evk-qspi-nor-n25q256a.vbs

and qspi configuration file, like qspi-nor-macronix-mx25l51245g-config

i.MX Series Manufacturing Toolkit for Linux 4.1.15_2.1.0 Release

described in sect.8.6.3 QuadSPI configuration parameters i.MX6ULL Reference Manual

http://www.nxp.com/docs/en/reference-manual/IMX6ULLRM.pdf 

For memory use ddr test and update image with new calibration coefficients (uboot/../mx6ullevk/imximage.cfg)

i.MX6/7 DDR Stress Test Tool V3.00 

Best regards
igor
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

2,660 Views
tsung-chihwang
Contributor III

Hi Igor,

Thanks for your help so much.

I have another one question.

How to choose the proper QSPI configuration file?

We selected the qspi-nor-micron-n25q256a-config file for Micron Serial NOR Flash Memory "N25Q512A"

It seems can work fine.

However, we will have another two flashes "MT25QL01GBBB" and "MT25QL02GC" soon, which configuration file can be used for these two flashes?

BR,

carter

0 Kudos
Reply

2,660 Views
igorpadykov
NXP Employee
NXP Employee

Hi Carter

configs files should be created using datasheets of used qspi parts,

use  qspi-nor-micron-n25q256a-config as example. In general nxp

has special service for helping customers with software customizations:

NXP Professional Services | NXP 

Best regards
igor
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

2,660 Views
tsung-chihwang
Contributor III

Hi Igor,

I got it.

Thanks for your help.

BR,

carter

0 Kudos
Reply

2,660 Views
turker
Contributor IV

You may try using existing configuration files however you will most probably have to create your own configuration for those two flash chips. The parameters are explained in section 8.6.3 QuadSPI Configuration Parameters of i.MX6ULL Reference Manual as Igor stated before.

2,660 Views
tsung-chihwang
Contributor III

Hi ,

Thanks for your response.

I am checking this portion of QuadSPI Configuration Parameters.

BR,

carter

0 Kudos
Reply