CCSRBAR Relocate issue in T2080 Processor.

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

CCSRBAR Relocate issue in T2080 Processor.

Jump to solution
1,568 Views
karunakaranradh
Contributor IV

Hi,

we are plan to use 256MB address for flash from 0xF0000000 to 0xFFFFFFFF, so we tried to relocate the CCSRBAR address from 0xFE000000 to 0xEE000000. (Verified 0xEE000000 - 0xEEFFFFFF is address range is not overlapped)

CCSRBAR update Sequence are verified as per Reference manual section 4.3.1.1 Updating CCSRBARs.

I used the default CCSRBAR address, system is booting fine from bootrom.If I changed CCSRBAR address from 0xFE000000 to 0xEE000000 board not booting. During debug with code warrior system connection lost after commit bit (C).


1) All reference board are using the default CCSRBAR, whether it is possible to change the CCSRBAR address?

2) Any other reference/errata available to change CCSRBAR address?

Regards,

Karunakaran R

Labels (1)
Tags (1)
0 Kudos
1 Solution
1,285 Views
karunakaranradh
Contributor IV

Hi ufedor,

Thanks for your reply,

Problem resolved :-)

As per bootrom sequence, only one TLB entry was updated(i.e Based on CCSBAR Macro). Now I added both in TLB entry's in the boot sequence. (i.e.Both 0xFE000000 and 0xEE000000 TLB entry are added). It was working fine.

Regards,

Karunakaran R

View solution in original post

0 Kudos
3 Replies
1,286 Views
karunakaranradh
Contributor IV

Hi ufedor,

Thanks for your reply,

Problem resolved :-)

As per bootrom sequence, only one TLB entry was updated(i.e Based on CCSBAR Macro). Now I added both in TLB entry's in the boot sequence. (i.e.Both 0xFE000000 and 0xEE000000 TLB entry are added). It was working fine.

Regards,

Karunakaran R

0 Kudos
1,221 Views
stephengao
Contributor I

HI Karunakaran R :

I don't understand where to add both TBL (0xFE000000 and 0xEE000000),I tried to add before TBL1-CCSBAR,it not work;

Can you tell me in detail? Or show me your code about thie change?

Thanks a lot.

0 Kudos
1,285 Views
ufedor
NXP Employee
NXP Employee

Please refer to the U-Boot source code (start.S, line 505 and further):

sdk/u-boot.git - Freescale PowerPC u-boot Tree 

0 Kudos