gem5-dev@gem5.org

The gem5 Developer List

View all threads

[XS] Change in gem5/gem5[develop]: configs: Update riscv/fs_linux.py script

AA
Ayaz Akram (Gerrit)
Sun, Apr 30, 2023 11:29 PM

Ayaz Akram has uploaded this change for review. (
https://gem5-review.googlesource.com/c/public/gem5/+/70177?usp=email )

Change subject: configs: Update riscv/fs_linux.py script
......................................................................

configs: Update riscv/fs_linux.py script

This change fixes a couple of small issues with
the configs/example/riscv/fs_linux.py script to ensure
that it works with the latest version of gem5.

Change-Id: I9753ca4c8dd0b87d05681b167cf51e3c097e9152

M configs/example/riscv/fs_linux.py
1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/configs/example/riscv/fs_linux.py
b/configs/example/riscv/fs_linux.py
index aec126a..949c7e2 100644
--- a/configs/example/riscv/fs_linux.py
+++ b/configs/example/riscv/fs_linux.py
@@ -187,6 +187,7 @@

RTCCLK (Set to 100MHz for faster simulation)

system.platform.rtc = RiscvRTC(frequency=Frequency("100MHz"))
system.platform.clint.int_pin = system.platform.rtc.int_pin
+system.platform.pci_host.pio = system.iobus.mem_side_ports

VirtIOMMIO

if args.disk_image:
@@ -236,8 +237,6 @@
clock=args.cpu_clock, voltage_domain=system.cpu_voltage_domain
)

-system.workload.object_file = args.kernel

NOTE: Not yet tested

if args.script is not None:
system.readfile = args.script

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

Gerrit-MessageType: newchange
Gerrit-Project: public/gem5
Gerrit-Branch: develop
Gerrit-Change-Id: I9753ca4c8dd0b87d05681b167cf51e3c097e9152
Gerrit-Change-Number: 70177
Gerrit-PatchSet: 1
Gerrit-Owner: Ayaz Akram yazakram@ucdavis.edu

Ayaz Akram has uploaded this change for review. ( https://gem5-review.googlesource.com/c/public/gem5/+/70177?usp=email ) Change subject: configs: Update riscv/fs_linux.py script ...................................................................... configs: Update riscv/fs_linux.py script This change fixes a couple of small issues with the configs/example/riscv/fs_linux.py script to ensure that it works with the latest version of gem5. Change-Id: I9753ca4c8dd0b87d05681b167cf51e3c097e9152 --- M configs/example/riscv/fs_linux.py 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/configs/example/riscv/fs_linux.py b/configs/example/riscv/fs_linux.py index aec126a..949c7e2 100644 --- a/configs/example/riscv/fs_linux.py +++ b/configs/example/riscv/fs_linux.py @@ -187,6 +187,7 @@ # RTCCLK (Set to 100MHz for faster simulation) system.platform.rtc = RiscvRTC(frequency=Frequency("100MHz")) system.platform.clint.int_pin = system.platform.rtc.int_pin +system.platform.pci_host.pio = system.iobus.mem_side_ports # VirtIOMMIO if args.disk_image: @@ -236,8 +237,6 @@ clock=args.cpu_clock, voltage_domain=system.cpu_voltage_domain ) -system.workload.object_file = args.kernel - # NOTE: Not yet tested if args.script is not None: system.readfile = args.script -- To view, visit https://gem5-review.googlesource.com/c/public/gem5/+/70177?usp=email To unsubscribe, or for help writing mail filters, visit https://gem5-review.googlesource.com/settings Gerrit-MessageType: newchange Gerrit-Project: public/gem5 Gerrit-Branch: develop Gerrit-Change-Id: I9753ca4c8dd0b87d05681b167cf51e3c097e9152 Gerrit-Change-Number: 70177 Gerrit-PatchSet: 1 Gerrit-Owner: Ayaz Akram <yazakram@ucdavis.edu>