grenier
grenier

Reputation: 11

How to disable cpu cores in Linux 3.4 kernel?

I have a question about how to disable cpu cores in my linux-3.4 version. I typed "echo 0 > /sys/devices/system/cpu/cpu0/online" on the shell to only activate cpu1 except for cpu0 (because there are dual cores in my cortex-A20 board) but there are no existing directory in my linux...

So I went to the directory in my linux such as capture posted:

enter image description here

and don't know how to disable cpu cores..

are there any way to disable cpu0 before building kernel image or running

linux 3-4 after porting kernel image to sdcard?

Upvotes: 1

Views: 921

Answers (1)

zersh
zersh

Reputation: 156

You can not disable cpu0, only the above example cpu1,2, 3.. etc

Upvotes: 0

Related Questions