diff --git a/build_sdk.py b/build_sdk.py index 92cc5bfcb..e6d3e38ae 100644 --- a/build_sdk.py +++ b/build_sdk.py @@ -393,9 +393,9 @@ class KernelPath: arch=KernelArch.AARCH64, gcc_cpu="cortex-a53", loader_link_address=0x30000000, - # ROCKPRO64 has 4 Cortex-A53 cores and 2 Cortex-A72 cores, - # we always run on the Cortex-A53s. - smp_cores=4, + # ROCKPRO64 has 4 Cortex-A53 cores and 2 Cortex-A72 cores in two clusters. + # The non-SMP configuration runs on the first A53 core. + smp_cores=6, kernel_options={ "KernelPlatform": "rockpro64", }, diff --git a/loader/src/aarch64/cpus.c b/loader/src/aarch64/cpus.c index 9e66ff733..327ab9b20 100644 --- a/loader/src/aarch64/cpus.c +++ b/loader/src/aarch64/cpus.c @@ -62,7 +62,7 @@ static const size_t psci_target_cpus[4] = {0x00, 0x01, 0x02, 0x03}; #elif defined(CONFIG_PLAT_ODROIDC4) static const size_t psci_target_cpus[4] = {0x00, 0x01, 0x02, 0x03}; #elif defined(CONFIG_PLAT_ROCKPRO64) -static const size_t psci_target_cpus[4] = {0x00, 0x01, 0x02, 0x03}; +static const size_t psci_target_cpus[6] = {0x00, 0x01, 0x02, 0x03, 0x100, 0x101}; #elif defined(CONFIG_PLAT_STM32MP2) static const size_t psci_target_cpus[2] = {0x00, 0x01}; #elif defined(CONFIG_PLAT_QEMU_ARM_VIRT)