CCSRBAR Relocate issue in T2080 Processor.

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

CCSRBAR Relocate issue in T2080 Processor.

跳至解决方案
2,454 次查看
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

标签 (1)
标记 (1)
0 项奖励
回复
1 解答
2,171 次查看
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 项奖励
回复
3 回复数
2,172 次查看
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 项奖励
回复
2,107 次查看
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 项奖励
回复
2,171 次查看
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 项奖励
回复