P2020 QorIQ enabling the second core

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

P2020 QorIQ enabling the second core

1,600 次查看
transporter
Contributor II

P2020 QorIQ eTSEC multiple TxBD ringsHi,

I am working on P2020 QoriIQ.

The system starts on core #0 while the core #1 is turned off.

When I start the second core, it gets Instruction Access Exception.

Is there any steps I should make before enabling the second core?

How should I define the TLB for the second core?

Thanks for help :smileyhappy:

标签 (1)
标记 (1)
0 项奖励
回复
2 回复数

1,364 次查看
lunminliang
NXP Employee
NXP Employee

Hello Eugene Abramsky,

For the question "How should I define the TLB for the second core?"

All TLB  mapping is created in kernel and driver, not defined as u-boot, users don't need to care more about it.


Have a great day,
Lunmin

-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

0 项奖励
回复

1,364 次查看
lunminliang
NXP Employee
NXP Employee

Hi Eugene Abramsky,

Assume you are using U-Boot? What's value of register BPTR? When second core start, is boot code ready?

The flow in U-Boot:

1. Prepare boot code in memory;

2. Write BPTR register to setup boot page;

3. Release the second core.


Have a great day,
Lunmin

-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

0 项奖励
回复