Relocation of CCSR Memory Region (T1042)

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

Relocation of CCSR Memory Region (T1042)

644 次查看
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 回复数

586 次查看
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 项奖励
回复

581 次查看
love_hate_and_repeat
Contributor III

sorry but I am not sure you really understand me. 

0 项奖励
回复

538 次查看
yipingwang
NXP TechSupport
NXP TechSupport

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

0 项奖励
回复

527 次查看
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 项奖励
回复

503 次查看
yipingwang
NXP TechSupport
NXP TechSupport

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

0 项奖励
回复