Giacomo Travaglini has submitted this change. ( https://gem5-review.googlesource.com/c/public/gem5/+/53628 )

Change subject: ext: Add an Arm section for gem5-SST README.md
......................................................................

ext: Add an Arm section for gem5-SST README.md

Change-Id: Ia10948a836797855219aef406bf38f52d28d8e26
Signed-off-by: Giacomo Travaglini <giacomo.travagl...@arm.com>
Reviewed-on: https://gem5-review.googlesource.com/c/public/gem5/+/53628
Reviewed-by: Hoa Nguyen <hoangu...@ucdavis.edu>
Tested-by: kokoro <noreply+kok...@google.com>
---
M ext/sst/README.md
1 file changed, 40 insertions(+), 1 deletion(-)

Approvals:
  Hoa Nguyen: Looks good to me, approved
  Giacomo Travaglini: Looks good to me, approved
  kokoro: Regressions pass




diff --git a/ext/sst/README.md b/ext/sst/README.md
index 7a8f838..8e2de1d 100644
--- a/ext/sst/README.md
+++ b/ext/sst/README.md
@@ -57,7 +57,7 @@

 See `INSTALL.md`.

-## Running an example simulation
+## Running an example simulation (RISCV)

 Downloading the built bootloader containing a Linux Kernel and a workload,

@@ -77,6 +77,32 @@
 customized workload is available at
[https://gem5.googlesource.com/public/gem5-resources/+/refs/heads/develop/src/riscv-boot-exit-nodisk/].

+## Running an example simulation (Arm)
+
+Download the prebuilt bootloader and Linux Kernel with embedded initramfs and +extract them under the $M5_PATH directory (make sure M5_PATH points to a valid
+directory):
+
+```sh
+wget http://dist.gem5.org/dist/develop/arm/aarch-sst-20211207.tar.bz2
+tar -xf aarch-sst-20211207.tar.bz2
+
+# copying bootloaders
+cp binaries/boot* $M5_PATH/binaries/
+
+# copying Linux Kernel
+cp binaries/vmlinux_exit.arm64 $M5_PATH/binaries/
+```
+
+`vmlinux_exit.arm64` contains an m5 binary, and `m5 exit` will be called upon
+the booting process reaching the early userspace.
+
+Run the simulation:
+
+```sh
+sst sst/arm_example.py
+```
+
 ## Notes

 - SwapReq from gem5 requires reading from memory and writing to memory.

--
To view, visit https://gem5-review.googlesource.com/c/public/gem5/+/53628
To unsubscribe, or for help writing mail filters, visit https://gem5-review.googlesource.com/settings

Gerrit-Project: public/gem5
Gerrit-Branch: develop
Gerrit-Change-Id: Ia10948a836797855219aef406bf38f52d28d8e26
Gerrit-Change-Number: 53628
Gerrit-PatchSet: 6
Gerrit-Owner: Giacomo Travaglini <giacomo.travagl...@arm.com>
Gerrit-Reviewer: Bobby Bruce <bbr...@ucdavis.edu>
Gerrit-Reviewer: Giacomo Travaglini <giacomo.travagl...@arm.com>
Gerrit-Reviewer: Hoa Nguyen <hoangu...@ucdavis.edu>
Gerrit-Reviewer: Jason Lowe-Power <ja...@lowepower.com>
Gerrit-Reviewer: kokoro <noreply+kok...@google.com>
Gerrit-MessageType: merged
_______________________________________________
gem5-dev mailing list -- gem5-dev@gem5.org
To unsubscribe send an email to gem5-dev-le...@gem5.org
%(web_page_url)slistinfo%(cgiext)s/%(_internal_name)s

Reply via email to