From 61f5a0b1b6ec6024c1e43d2811c234dc5dbf9200 Mon Sep 17 00:00:00 2001 From: Delane Brandy Date: Thu, 4 Jul 2024 10:49:52 +0100 Subject: [PATCH] arm-bsp/corstone1000: Update Corstone-1000 user guide 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 Signed-off-by: Jon Mason --- .../documentation/corstone1000/user-guide.rst | 27 +++++++++++++++++++ 1 file changed, 27 insertions(+) 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 -------------