Issue about How to disable non-boot CPU

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

Issue about How to disable non-boot CPU

1,890 Views
tony_l_cai
Contributor III

Hi all,

     Now we want to disable non-boot CPU, how to control CPU disable or enable manually?

Labels (3)
1 Reply

928 Views
Yuri
NXP Employee
NXP Employee

1.

  Please use kernel boot parameter “maxcpus”, which is described

Linux Release Notes :
maxcpus=n : n >= 0 limits the kernel to using 'n' processors.
n=0 is a special case. It is equivalent to "nosmp", assuming

running  as a single processor machine.

2.

  Hardly it makes sense to control CPU disable or enable manually

under Linux. For stand alone configuration, please refer to Chapter 3 (Multicore
Startup) of “iMX6_Firmware_Guide.pdf“ i.MX6 Platform SDK.


The SDK link :

"Bare-metal SDK for the i.MX 6 series, including reusable drivers and tests for

many peripherals, and much example code. Also includes register definition

headers files, and register definitions for debuggers"

https://www.freescale.com/webapp/Download?colCode=i.MX6_PLATFORM_SDK&location=null


Also, example in the following thread may be used.
 

“Integrating Processor Expert for i.MX and ARM GCC with Eclipse”


  https://community.freescale.com/docs/DOC-103736


Have a great day,
Yuri

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