P2020 QorIQ enabling the second core

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

P2020 QorIQ enabling the second core

544 Views
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:

Labels (1)
Tags (1)
0 Kudos
2 Replies

308 Views
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 Kudos

308 Views
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 Kudos