Document m5 exit

This commit is contained in:
Ciro Santilli
2018-02-23 10:08:27 +00:00
parent 7bd23baae8
commit 75fd05c1c8

View File

@@ -866,11 +866,19 @@ TODOs:
* only managed to run in the terminal interface (but weirdly a blank QEMU window is still opened)
* GDB not connecting to KGDB. Possibly linked to `-serial stdio`. See also: https://stackoverflow.com/questions/14155577/how-to-use-kgdb-on-arm
* `/poweroff.out` does not exit QEMU, the terminal just hangs: https://stackoverflow.com/questions/31990487/how-to-cleanly-exit-qemu-after-executing-bare-metal-program-without-user-interve A blunt resolution is:
* `/poweroff.out` does not exit QEMU nor GEM5, the terminal just hangs: https://stackoverflow.com/questions/31990487/how-to-cleanly-exit-qemu-after-executing-bare-metal-program-without-user-interve
+
A blunt resolution for QEMU is on host:
+
....
pkill qemu
....
+
On GEM5, it is possible to use the `m5` instrumentation from guest as a good workaround:
+
....
m5 exit
....
* GDB step debugging of kernel modules broke at some point. This was noticed at 6420c31986e064c81561da8f2be0bd33483af598 and a likely candidate was the recent move to kernel v4.15, but this has to be bisected.
+
Just afte GDB connects, we get the following message from the kernel GDB Python scripts: