Skip to contentSkip to conversation

arm-bsp/corstone1000: Update Corstone-1000 user guide

PATCH Applied [email protected] 2 participants 2 messages Jul 4, 2024 – Jul 9, 2024

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 arm-bsp/corstone1000: Update Corstone-1000 user guide

From: Delane Brandy <[email protected]>

Update the Corstone-1000 user guide with the new instructions on how to rebuild the platform to enable multicore support and run a test to verify this.

---
 .../documentation/corstone1000/user-guide.rst | 27 +++++++++++++++++++
 1 file changed, 27 insertions(+)
meta-arm-bsp/documentation/corstone1000/user-guide.rst +27 -0
index 5dc95642..2bdd490f 100644
@@ -1458,6 +1458,33 @@ The external system can be switched on/off on demand with the following commands
 
   echo start > /sys/class/remoteproc/remoteproc0/state
 
+
+Testing FVP in SMP mode
+-----------------------
+
+Symmetric multiprocessing (SMP) mode is only supported on FVP. It can be enabled by using `corstone1000-fvp-multicore.yml`
+
+1. Rebuild the platform with SMP mode enabled:
+
+::
+
+  kas build meta-arm/kas/corstone1000-fvp.yml:meta-arm/ci/debug.yml:meta-arm/kas/corstone1000-fvp-multicore.yml
+
+2. Once rebuilt, boot the platform with SMP mode enabled:
+
+::
+
+  kas shell meta-arm/kas/corstone1000-fvp.yml:meta-arm/ci/debug.yml:meta-arm/kas/corstone1000-fvp-multicore.yml -c "../meta-arm/scripts/runfvp"
+
+
+3. Validating SMP mode using the nproc command which should return the number of cores:
+
+::
+
+  nproc
+  #output: 4
+
+
 Tests results
 -------------
 
Applied
#1 lore raw
Quoted 5 lines · On Thu, 04 Jul 2024 10:49:52 +0100, [email protected] wrote:

Update the Corstone-1000 user guide with the new instructions on how to rebuild the platform to enable multicore support and run a test to verify this.

Applied, thanks!

[1/1] arm-bsp/corstone1000: Update Corstone-1000 user guide

      commit: 61f5a0b1b6ec6024c1e43d2811c234dc5dbf9200

Best regards,

Signature · 1 line
Jon Mason <[email protected]>