diff mbox series

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

Message ID 20240704094952.982354-1-delane.brandy@arm.com
State New
Headers show
Series arm-bsp/corstone1000: Update Corstone-1000 user guide | expand

Commit Message

delane.brandy@arm.com July 4, 2024, 9:49 a.m. UTC
From: Delane Brandy <delane.brandy@arm.com>

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.

Signed-off-by: Delane Brandy <delane.brandy@arm.com>
---
 .../documentation/corstone1000/user-guide.rst | 27 +++++++++++++++++++
 1 file changed, 27 insertions(+)

Comments

Jon Mason July 9, 2024, 12:45 p.m. UTC | #1
On Thu, 04 Jul 2024 10:49:52 +0100, delane.brandy@arm.com 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,
diff mbox series

Patch

diff --git a/meta-arm-bsp/documentation/corstone1000/user-guide.rst b/meta-arm-bsp/documentation/corstone1000/user-guide.rst
index 5dc95642..2bdd490f 100644
--- a/meta-arm-bsp/documentation/corstone1000/user-guide.rst
+++ b/meta-arm-bsp/documentation/corstone1000/user-guide.rst
@@ -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
 -------------