time all builds and run

This commit is contained in:
Ciro Santilli
2018-09-14 15:53:08 +01:00
parent 435436f714
commit 40b5c5a023
4 changed files with 30 additions and 5 deletions

View File

@@ -353,13 +353,24 @@ To get a terminal, either open a new shell and run:
./gem5-shell
....
or if you are inside tmux, which I highly recommend, just run gem5 with:
The only way to exit the shell is to kill the gem5 on the previous shell
If you are inside tmux, which I highly recommend, just run gem5 with:
....
./run --gem5 --tmux
....
This will open up a split terminal by default so that you can see both the gem5 stdout and the terminal. See also: <<tmux-gem5>>
This will open up a split terminal by default so that you can see both the gem5 stdout and the terminal. See also: <<tmux-gem5>>.
At the end of boot, it might not be very clear that you have the shell since some <<printk>> messages may appear in front of the prompt like this:
....
# <6>[ 1.215329] clocksource: tsc: mask: 0xffffffffffffffff max_cycles: 0x1cd486fa865, max_idle_ns: 440795259574 ns
<6>[ 1.215351] clocksource: Switched to clocksource tsc
....
but if you look closely, the `PS1` prompt marker `#` is there already, just hit enter and a clear prompt line will appear.
If you forgot to open the shell and gem5 exit, you can inspect the terminal output post-mortem at: