i.MX6 NAND Timing setting.

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

i.MX6 NAND Timing setting.

ソリューションへジャンプ
1,381件の閲覧回数
satoshishimoda
Senior Contributor I

Hi community,

I have a question about i.MX6 GPMI and NAND boot.

Our customer want to know how m_NANDTiming of FCB is used for NAND timing setting.

And want to know the relationship between m_NANDTiming and CCM register and GPMI register if CCM register setting is added to DCD for NAND boot also.

Actually, the partner add CCM setting in DCD file to rapid NAND access because NAND access on boot sequence was slow.

Then, please see my question as following.

[Q1]

When m_NANDTiming setting is applied?

Immediately after reading FCB?

After copy DBBT to iRAM?

Or on the time start downloading a boot loader from NAND?

[Q2]

Some parameter in m_NANDTiming is set by GPMI register too.

(e.g. data setup, data hold, address setup)

Then, could you let me know which setting (m_NANDTiming or GPMI register) is used on each timing?

(e.g. boot loader => mNANDTiming, after kernel uncompression => GPMI register)

[Q3]

I think NAND timing set by m_NANDTiming is not effected even if user change CCM setting in DCD to rapid NAND access.

Because the CCM setting decides only clock period, and m_NANDTiming does not have the period setting.

Is this correct?

Best Regards,

Satoshi Shimoda

ラベル(4)
タグ(3)
0 件の賞賛
1 解決策
630件の閲覧回数
igorpadykov
NXP Employee
NXP Employee

Hi Satoshi, answers below.

[Q1]When m_NANDTiming setting is applied?Immediately after reading

FCB?After copy DBBT to iRAM?Or on the time start downloading a boot

loader from NAND?

A1. m_NANDTiming setting are applied immediately after reading

FCB by iROM.

[Q2]Some parameter in m_NANDTiming is set by GPMI register too.(e.g. data setup,

data hold, address setup)Then, could you let me know which setting (m_NANDTiming

or GPMI register) is used on each timing? (e.g. boot loader => mNANDTiming, after

kernel uncompression => GPMI register)

A2. I am not quite sure if I understood well question.

Yes, iROM boot loader uses mNANDTiming, however each application:

Uboot or Linux MTD NAND driver can use own GPMI settings.

[Q3]I think NAND timing set by m_NANDTiming is not effected even if user

change CCM setting in DCD to rapid NAND access.Because the CCM

setting decides only clock period, and m_NANDTiming does not have the

period setting.Is this correct?

A3. Yes,  m_NANDTiming settings do not have the period setting,

because they define one NAND data access (setup, hold times),

while DCD CCM defines (period) - that is how fast processor core accesses

to NAND. So actually CCM settings in DCD can rapid NAND access.

Best regards

chip

-----------------------------------------------------------------------------------------------------------------------

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

-----------------------------------------------------------------------------------------------------------------------

元の投稿で解決策を見る

0 件の賞賛
1 返信
631件の閲覧回数
igorpadykov
NXP Employee
NXP Employee

Hi Satoshi, answers below.

[Q1]When m_NANDTiming setting is applied?Immediately after reading

FCB?After copy DBBT to iRAM?Or on the time start downloading a boot

loader from NAND?

A1. m_NANDTiming setting are applied immediately after reading

FCB by iROM.

[Q2]Some parameter in m_NANDTiming is set by GPMI register too.(e.g. data setup,

data hold, address setup)Then, could you let me know which setting (m_NANDTiming

or GPMI register) is used on each timing? (e.g. boot loader => mNANDTiming, after

kernel uncompression => GPMI register)

A2. I am not quite sure if I understood well question.

Yes, iROM boot loader uses mNANDTiming, however each application:

Uboot or Linux MTD NAND driver can use own GPMI settings.

[Q3]I think NAND timing set by m_NANDTiming is not effected even if user

change CCM setting in DCD to rapid NAND access.Because the CCM

setting decides only clock period, and m_NANDTiming does not have the

period setting.Is this correct?

A3. Yes,  m_NANDTiming settings do not have the period setting,

because they define one NAND data access (setup, hold times),

while DCD CCM defines (period) - that is how fast processor core accesses

to NAND. So actually CCM settings in DCD can rapid NAND access.

Best regards

chip

-----------------------------------------------------------------------------------------------------------------------

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

-----------------------------------------------------------------------------------------------------------------------

0 件の賞賛