Relocation of CCSR Memory Region (T1042)

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

Relocation of CCSR Memory Region (T1042)

656件の閲覧回数
love_hate_and_repeat
Contributor III

Hello,

After reviewing the "Updating CCSRBARs" section of the T1040 Reference Manual, I have a question regarding the creation of a special, temporary LAW entry for the new CCSR memory region base address.

Why is it necessary to create this temporary LAW entry if we can already configure the CCSRBARH, CCSRBARL, and CCSRAR registers using the old physical address of the CCSR memory region (0xFE00_0000)? The steps stated in the manual is like in the following:

  1. Create a temporary LAW entry.
  2. Set the new base address using the old CCSR physical address.
  3. Delete the temporary LAW entry.

I’m trying to understand the purpose of this law entry(just creating/deleting) —perhaps it's related to the internal logic of the T1042 SoC—but it seems counterintuitive.

Could you provide further insight into why the temporary LAW entry is necessary?

Thank you!

0 件の賞賛
返信
5 返答(返信)

598件の閲覧回数
yipingwang
NXP TechSupport
NXP TechSupport

No need to a temporary LAW entry for CCSR, you could use the default physical address of the CCSR memory region (0xFE00_0000).'

In CodeWarrior and u-boot, we all use the default physical address 0xFE00_0000.

0 件の賞賛
返信

593件の閲覧回数
love_hate_and_repeat
Contributor III

sorry but I am not sure you really understand me. 

0 件の賞賛
返信

550件の閲覧回数
yipingwang
NXP TechSupport
NXP TechSupport

Yes, no need to a temporary LAW entry for CCSR.

0 件の賞賛
返信

539件の閲覧回数
love_hate_and_repeat
Contributor III

According to your answer, I understand that if I want to relocate the CCSR memory region, I do not need to create a temporary LAW entry.

If I didn’t misunderstand you, then the ‘Updating CCSRBARs’ section of T1040 Reference manual should be corrected because it includes information that system programmers do not need.”

 

0 件の賞賛
返信

515件の閲覧回数
yipingwang
NXP TechSupport
NXP TechSupport

Your understanding is correct, we will update the reference manual.

0 件の賞賛
返信