Relocation of CCSR Memory Region (T1042)

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

Relocation of CCSR Memory Region (T1042)

564 Views
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 Kudos
Reply
5 Replies

506 Views
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 Kudos
Reply

501 Views
love_hate_and_repeat
Contributor III

sorry but I am not sure you really understand me. 

0 Kudos
Reply

458 Views
yipingwang
NXP TechSupport
NXP TechSupport

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

0 Kudos
Reply

447 Views
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 Kudos
Reply

423 Views
yipingwang
NXP TechSupport
NXP TechSupport

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

0 Kudos
Reply