I'm using a T2080 RDB board that have 4 physical cores. I would like to use just 1 core (CPU0) and disable the others cores (CPU1,CPU2,CPU3). How can i do that?
There is no need to explicitly disable the cores because ony core 0 is enabled to boot (3 others are in hold-off mode), so U-Boot is runing on the core 0 only.
Linux also by default is booting and running on core 0.
Ok, but i don't use Linux that is installed in Qoriq T2080. I use a RTOS for my application , so i just want to use 1 core and disable the others.
By default RCW sets BOOT_HO to 0, means All cores except core 0 in boot holdoff.
Ok thanks and where can i find the RCW file configuration ?
Several RCW images for the T2080RDB are provided in the SDK 1.9 images ISO (QorIQ SDK V1.9 PPC64E6500 IMAGE.iso) which could be downloaded using the following link:
You can import an RCW binary image into the QCVS PBL Tool and modify it according to your needs.
To use the PBL Tool it is needed to install evaluation version of the CodeWarrior for Power Architecture using the following link:
I think is optimal to use Core Disable Register (DCFG_CCSR_COREDISR) (offset 0xE_0094) to disable 3 cores and let only the primary one.
COREDISR provides a mechanism for gating clocks to any cores on the device that are not used when running an application, so your system will be more energy-efficient. More details are in T2080 Reference Manual.
Retrieving data ...