maxcpu's settings in Uboot.

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

maxcpu's settings in Uboot.

2,743 次查看
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.

标签 (1)
0 项奖励
回复
1 回复

2,102 次查看
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 项奖励
回复