Last edited 3 years ago

How to configure uniprocessor mode

Applicable for STM32MP15x lines

1. Purpose[edit | edit source]

This article explains how to switch from a SMP (symmetric multiprocessing) Linux® kernel configuration to a UP (uniprocessor) Linux kernel configuration.

2. Rationale[edit | edit source]

Considering that STMicroelectronics Linux kernel is configured in SMP mode by default, single Arm Cortex-A core users may wish to disable this configuration in order to avoid trying to start the second core at every boot. Please note that keeping the SMP mode enabled on a single processor does not have any performance impact on the kernel in most use cases, so this change is not mandatory.

3. Modify kernel configuration[edit | edit source]

To switch to UP configuration, disable SMP configuration. To do that, search SMP in kernel menuconfig and disable the option.