Files
gem5/configs/example/lupv
Giacomo Travaglini e73655d038 misc: Use python f-strings for string formatting
This patch has been generated by applying flynt to the
gem5 repo (ext has been excluded)

JIRA: https://gem5.atlassian.net/browse/GEM5-831

Change-Id: I0935db6223d5426b99515959bde78e374cbadb04
Signed-off-by: Giacomo Travaglini <giacomo.travaglini@arm.com>
Reviewed-on: https://gem5-review.googlesource.com/c/public/gem5/+/68957
Maintainer: Bobby Bruce <bbruce@ucdavis.edu>
Tested-by: kokoro <noreply+kokoro@google.com>
Reviewed-by: Bobby Bruce <bbruce@ucdavis.edu>
2023-03-16 09:05:29 +00:00
..

README

This README details how to build a RISCV full system that utilizes the lupIO devices. The LupIO devices were created by Professor Joël Porquet-Lupine, and more information about the device can be found here. The specs for each individual device can be found here, and the Linux drivers for each of these devices can be found here.

To build the RISCV gem5 binary execute:

scons build/RISCV/gem5.opt

Then, to run the LupIO example execute:

.build/RISCV/gem5.opt configs/example/lupv/run_lupv.py  [cpu type] [num cpus]

Note: valid cpu types are atomic and timing for now.

For example:

gem5/build/RISCV/gem5.opt configs/example/lupv/run_lupv.py atomic 1

You can observe the stdout of the simulated system in m5out/system.terminal. Then, you can open up a separate terminal and use m5term to connect to the simulated console. The port number will be specified in the gem5 simulation as 0: system.remote_gdb: listening for remote gdb on port <port>

example:

m5term localhost 3456

This should allow you to run busybox, in which you can see the LupIO device at work!