maxcpu's settings in Uboot.

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

maxcpu's settings in Uboot.

1,734 Views
kumarabhimeswar
Contributor I

Hi ,

I am working on Sabre auto board. There are 4 cpus running on linux kernel.

In  Bootargs i set maxcpus as 1 at Uboot. So that during initial   boot time kernel boots with single CPU to reduce 300ms boot time.

Later after mounting the file system using sysfs  i tried to enable the rest of CPU's. But rest of 3 CPU's were not enabled.

Scrip ran :

echo 1 > /sys/devices/system/cpu/cpu[123]/online

Verified with :

cat /proc/cpuinfo

Regards,

Bhimesh.

Labels (1)
0 Kudos
1 Reply

1,093 Views
Yuri
NXP Employee
NXP Employee

  I am afraid, it is not possible to enable / disable CPUs after boot maxcplus option.

The sysfs allows to change CPU states dynamically (online / offline), assuming all

needed CPUs are enabled during initialization.


Have a great day,
Yuri

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

0 Kudos