website: Update the gem5art tutorial for v21.2
This is not complete, the gem5art tutorial still reference configs
and resources which has since changed. This should be updated completed
ASAP.
Change-Id: Ia1b07d76fb1e976b6f5dafda3c93b3c2837180c4
Reviewed-on: https://gem5-review.googlesource.com/c/public/gem5-website/+/54726
Reviewed-by: Bobby Bruce <bbruce@ucdavis.edu>
Maintainer: Bobby Bruce <bbruce@ucdavis.edu>
Tested-by: Bobby Bruce <bbruce@ucdavis.edu>
diff --git a/_pages/documentation/gem5art/tutorials/tutorial_1_boot.md b/_pages/documentation/gem5art/tutorials/tutorial_1_boot.md
index fa7e689..8d05815 100644
--- a/_pages/documentation/gem5art/tutorials/tutorial_1_boot.md
+++ b/_pages/documentation/gem5art/tutorials/tutorial_1_boot.md
@@ -167,7 +167,7 @@
```
Once this process succeeds, the disk image can be found on `boot-exit/boot-exit-image/boot-exit`.
-A disk image already created following the above instructions can be found, gzipped, [here](http://dist.gem5.org/dist/v21-1/images/x86/ubuntu-18-04/boot-exit.img.gz).
+A similar disk image already created following the above instructions can be found, gzipped, [here](http://dist.gem5.org/dist/v21-2/images/x86/ubuntu-18-04/x86-ubuntu.img.gz).
## Compiling the linux kernel
@@ -182,7 +182,7 @@
Let's use an example of kernel v5.4.49 to see how to compile the kernel.
-First, add a folder linux-configs to store linux kernel config files. The configuration files of interest are available [here](https://gem5.googlesource.com/public/gem5-resources/+/refs/heads/stable/src/boot-exit/linux-configs/).
+First, add a folder linux-configs to store linux kernel config files. The configuration files of interest are available [here](https://gem5.googlesource.com/public/gem5-resources/+/refs/heads/stable/src/linux-kernel/).
Then, we will get the linux source and checkout the required linux version (e.g. v5.4.49 in this case).
```
@@ -203,18 +203,18 @@
**Note:** The above instructions are tested with `gcc 7.5.0` and the already compiled Linux binaries can be downloaded from the following links:
-- [vmlinux-4.4.186](http://dist.gem5.org/dist/v21-1/kernels/x86/static/vmlinux-4.4.186)
-- [vmlinux-4.9.186](http://dist.gem5.org/dist/v21-1/kernels/x86/static/vmlinux-4.9.186)
-- [vmlinux-4.14.134](http://dist.gem5.org/dist/v21-1/kernels/x86/static/vmlinux-4.14.134)
-- [vmlinux-4.19.83](http://dist.gem5.org/dist/v21-1/kernels/x86/static/vmlinux-4.19.83)
-- [vmlinux-5.4.49](http://dist.gem5.org/dist/v21-1/kernels/x86/static/vmlinux-5.4.49)
+- [vmlinux-4.4.186](http://dist.gem5.org/dist/v21-2/kernels/x86/static/vmlinux-4.4.186)
+- [vmlinux-4.9.186](http://dist.gem5.org/dist/v21-2/kernels/x86/static/vmlinux-4.9.186)
+- [vmlinux-4.14.134](http://dist.gem5.org/dist/v21-2/kernels/x86/static/vmlinux-4.14.134)
+- [vmlinux-4.19.83](http://dist.gem5.org/dist/v21-2/kernels/x86/static/vmlinux-4.19.83)
+- [vmlinux-5.4.49](http://dist.gem5.org/dist/v21-2/kernels/x86/static/vmlinux-5.4.49)
## gem5 run scripts
Next, we need to add gem5 run scripts. We will do that in a folder named configs-boot-tests.
-Get the run script named run_exit.py from [here](https://gem5.googlesource.com/public/gem5-resources/+/refs/heads/stable/src/boot-exit/configs/run_exit.py), and other system configuration files from
-[here](https://gem5.googlesource.com/public/gem5-resources/+/refs/heads/stable/src/boot-exit/configs/system).
+Get the run script named run_exit.py from [here](https://gem5.googlesource.com/public/gem5-resources/+/refs/heads/stable/src/x86-ubuntu/configs/run_exit.py), and other system configuration files from
+[here](https://gem5.googlesource.com/public/gem5-resources/+/refs/heads/stable/src/x86-ubuntu/configs/system).
The run script (run_exit.py) takes the following arguments:
- kernel: compiled kernel to be used for simulation
- disk: built disk image to be used for simulation
diff --git a/_pages/documentation/gem5art/tutorials/tutorial_2_npb.md b/_pages/documentation/gem5art/tutorials/tutorial_2_npb.md
index 98743c2..6abf4d7 100644
--- a/_pages/documentation/gem5art/tutorials/tutorial_2_npb.md
+++ b/_pages/documentation/gem5art/tutorials/tutorial_2_npb.md
@@ -341,12 +341,12 @@
```
Once this process succeeds, the created disk image can be found on `npb/npb-image/npb`.
-A disk image already created following the above instructions can be found, gzipped, [here](http://dist.gem5.org/dist/v21-1/images/x86/ubuntu-18-04/npb.img.gz).
+A disk image already created following the above instructions can be found, gzipped, [here](http://dist.gem5.org/dist/v21-2/images/x86/ubuntu-18-04/npb.img.gz).
## Compiling the linux kernel
In this tutorial, we use one of the LTS (long term support) releases of linux kernel v4.19.83 with gem5 to run NAS parallel benchmarks.
-First, get the linux kernel config file from [here](https://gem5.googlesource.com/public/gem5-resources/+/refs/heads/stable/src/boot-exit/linux-configs/), and place it in npb-tests folder.
+First, get the linux kernel config file from [here](https://gem5.googlesource.com/public/gem5-resources/+/refs/heads/stable/src/linux-kernel/linux-configs/), and place it in npb-tests folder.
Then, we will get the linux source of version 4.19.83:
```
@@ -364,7 +364,7 @@
**Note:** The above instructions are tested with `gcc 7.5.0` and an already compiled Linux binary can be downloaded from the following link:
-- [vmlinux-4.19.83](http://dist.gem5.org/dist/v21-1/kernels/x86/static/vmlinux-4.19.83)
+- [vmlinux-4.19.83](http://dist.gem5.org/dist/v21-2/kernels/x86/static/vmlinux-4.19.83)
## gem5 run scripts
diff --git a/_pages/documentation/gem5art/tutorials/tutorial_4_spec.md b/_pages/documentation/gem5art/tutorials/tutorial_4_spec.md
index 14534de..de7ee89 100644
--- a/_pages/documentation/gem5art/tutorials/tutorial_4_spec.md
+++ b/_pages/documentation/gem5art/tutorials/tutorial_4_spec.md
@@ -285,7 +285,7 @@
In the root folder of the experiment,
```sh
-wget http://dist.gem5.org/dist/v21-1/kernels/x86/static/vmlinux-4.19.83
+wget http://dist.gem5.org/dist/v21-2/kernels/x86/static/vmlinux-4.19.83
```
Now, `in launch_spec2017_experiments.py`, we make an Artifact object of the Linux kernel binary.