One cpu of i.MX6DL doesn't work

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

One cpu of i.MX6DL doesn't work

跳至解决方案
634 次查看
davidfincher
Contributor II

There is  only one cpu of   i.MX6DL  works. cat  /proc/cpuinfo  cannot find cpu1.

Why is this ?

标签 (2)
标记 (1)
0 项奖励
1 解答
554 次查看
Carlos_Musich
NXP Employee
NXP Employee

Hi David,

Although multiple cores are available on this processor, only core0 automatically activates during the initial boot process. System Reset Controller (SRC) module, handles the reset signal for each core. By default, SRC keeps the secondary cores in a reset state after boot. Therefore, the application needs to enable the other available cores.

To enable the other available cores:

1. Initialize persistent bits for the secondary core being activated.
2. Set the core_enable signal for each of the cores in the SRC Control Register (bits 22:24, for core1, core2, and core3 respectively).
3. Once the enable bits are set, the corresponding core is released from its reset state, and it executes the boot ROM (at 0000 0000h).
4. The boot ROM determines if it is a secondary core and uses the presistent bit registers to determine what to execute next.

This boot process is described in detail in the "System Boot" chapter of the reference
manual.


Regards,
Carlos

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

在原帖中查看解决方案

0 项奖励
2 回复数
555 次查看
Carlos_Musich
NXP Employee
NXP Employee

Hi David,

Although multiple cores are available on this processor, only core0 automatically activates during the initial boot process. System Reset Controller (SRC) module, handles the reset signal for each core. By default, SRC keeps the secondary cores in a reset state after boot. Therefore, the application needs to enable the other available cores.

To enable the other available cores:

1. Initialize persistent bits for the secondary core being activated.
2. Set the core_enable signal for each of the cores in the SRC Control Register (bits 22:24, for core1, core2, and core3 respectively).
3. Once the enable bits are set, the corresponding core is released from its reset state, and it executes the boot ROM (at 0000 0000h).
4. The boot ROM determines if it is a secondary core and uses the presistent bit registers to determine what to execute next.

This boot process is described in detail in the "System Boot" chapter of the reference
manual.


Regards,
Carlos

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

0 项奖励
554 次查看
davidfincher
Contributor II

Hi Carlos_Musich,

      Thank you for your relpy,I find the question now, The item "smp" cmdline is modified by some app, I can use two cores Now.

0 项奖励