Registered User mNo edit summary |
Registered User mNo edit summary Tag: 2017 source edit |
||
(16 intermediate revisions by 5 users not shown) | |||
Line 1: | Line 1: | ||
{{ApplicableFor | |||
|MPUs list=STM32MP15x, STM32MP23x, STM32MP25x | |||
|MPUs checklist=STM32MP13x, STM32MP15x, STM32MP21x, STM32MP23x, STM32MP25x | |||
}} | |||
<noinclude> | <noinclude> | ||
</noinclude> | </noinclude> | ||
{{ | This article is only applicable for STMP32 Microprocessor with more than one CPU. | ||
==How to see the number of active CPU== | |||
{{Board$}}cat /proc/cpuinfo | |||
processor : 0 | |||
model name : ARMv7 Processor rev 0 (v7l) | |||
BogoMIPS : 2387.14 | |||
Features : swp half thumb fastmult vfp edsp neon vfpv3 tls | |||
CPU implementer : 0x41 | |||
CPU architecture: 7 | |||
CPU variant : 0x3 | |||
CPU part : 0xc09 | |||
CPU revision : 0 | |||
processor : 1 | |||
model name : ARMv7 Processor rev 0 (v7l) | |||
BogoMIPS : 2393.70 | |||
Features : swp half thumb fastmult vfp edsp neon vfpv3 tls | |||
CPU implementer : 0x41 | |||
CPU architecture: 7 | |||
CPU variant : 0x3 | |||
CPU part : 0xc09 | |||
CPU revision : 0 | |||
Hardware : STi SoC with Flattened Device Tree | |||
Revision : 0000 | |||
Serial : 0000000000000000 | |||
==How to disable a CPU== | |||
On this example we disable CPU1 | |||
{{Board$}}echo 0 > /sys/devices/system/cpu/cpu1/online | |||
CPU1: shutdown | |||
{{Board$}}cat /proc/cpuinfo | |||
processor : 0 | |||
model name : ARMv7 Processor rev 0 (v7l) | |||
BogoMIPS : 2387.14 | |||
Features : swp half thumb fastmult vfp edsp neon vfpv3 tls | |||
CPU implementer : 0x41 | |||
CPU architecture: 7 | |||
CPU variant : 0x3 | |||
CPU part : 0xc09 | |||
CPU revision : 0 | |||
Hardware : STi SoC with Flattened Device Tree | |||
Revision : 0000 | |||
Serial : 0000000000000000 | |||
==How to enable a disabled CPU== | |||
On this example we enable CPU1 | |||
{{Board$}}echo 1 > /sys/devices/system/cpu/cpu1/online | |||
CPU1: shutdown | |||
<noinclude> | |||
{{PublicationRequestId | Auto}} | |||
[[Category:How to customize software]] | |||
</noinclude> |
Latest revision as of 17:45, 5 November 2024
This article is only applicable for STMP32 Microprocessor with more than one CPU.
1. How to see the number of active CPU[edit | edit source]
CPU implementer : 0x41 CPU architecture: 7 CPU variant : 0x3 CPU part : 0xc09 CPU revision : 0 processor : 1 model name : ARMv7 Processor rev 0 (v7l) BogoMIPS : 2393.70 Features : swp half thumb fastmult vfp edsp neon vfpv3 tls CPU implementer : 0x41 CPU architecture: 7 CPU variant : 0x3 CPU part : 0xc09 CPU revision : 0 Hardware : STi SoC with Flattened Device Tree Revision : 0000 Serial : 0000000000000000cat /proc/cpuinfo processor : 0 model name : ARMv7 Processor rev 0 (v7l) BogoMIPS : 2387.14 Features : swp half thumb fastmult vfp edsp neon vfpv3 tls
2. How to disable a CPU[edit | edit source]
On this example we disable CPU1
CPU implementer : 0x41 CPU architecture: 7 CPU variant : 0x3 CPU part : 0xc09 CPU revision : 0 Hardware : STi SoC with Flattened Device Tree Revision : 0000 Serial : 0000000000000000echo 0 > /sys/devices/system/cpu/cpu1/online CPU1: shutdown cat /proc/cpuinfo processor : 0 model name : ARMv7 Processor rev 0 (v7l) BogoMIPS : 2387.14 Features : swp half thumb fastmult vfp edsp neon vfpv3 tls
3. How to enable a disabled CPU[edit | edit source]
On this example we enable CPU1
echo 1 > /sys/devices/system/cpu/cpu1/online
CPU1: shutdown