imx8x: Enable cores 3 and 4
authorLukas Humbel <lukas.humbel@inf.ethz.ch>
Mon, 18 Nov 2019 13:26:09 +0000 (14:26 +0100)
committerLukas Humbel <lukas.humbel@inf.ethz.ch>
Mon, 18 Nov 2019 13:34:10 +0000 (14:34 +0100)
Signed-off-by: Lukas Humbel <lukas.humbel@inf.ethz.ch>

usr/kaluga/armv8_imx8x.c
usr/skb/programs/plat_imx8x.pl

index c3f4d1b..d9fbae9 100644 (file)
@@ -270,7 +270,7 @@ static errval_t start_cores(void){
     size_t skb_cpus = 0;
     while(skb_read_list(&skb_list, "mpid(%d)", &id)) {
         skb_cpus++;
-        err = oct_set(HW_PROCESSOR_ARMV8_RECORD_FORMAT, id, id,
+        err = oct_set(HW_PROCESSOR_ARMV8_RECORD_FORMAT, id, 1 /*enabled*/,
                 id, id, CURRENT_CPU_TYPE, id, 0, 0, 0, 0, 0, 0, 0, 0, 0,
                 0, id);
         if(err_is_fail(err)){
index f91ac8c..450bcf8 100644 (file)
@@ -21,8 +21,8 @@ entry_symbol(armBootParking, "boot_entry_parking").
 % Core boot information
 arm_mpid(0).
 arm_mpid(1).
-%arm_mpid(2).
-%arm_mpid(3).
+arm_mpid(2).
+arm_mpid(3).
 boot_driver_entry(_, armBootPSCI).
 psci_use_hvc(0).