gem5: linux v4.17 broken

This commit is contained in:
Ciro Santilli
2018-06-07 04:48:58 +01:00
parent 42a14cd8fe
commit c7db43239e

View File

@@ -5169,6 +5169,7 @@ gem5 is a system simulator, much <<gem5-vs-qemu,like QEMU>>: http://gem5.org/
For the most part, just add the `-g` option to all commands and everything should magically work:
....
git -C linux checkout v4.16
./configure -g && ./build -a aarch64 -g && ./run -a aarch64 -g
....
@@ -5186,6 +5187,12 @@ Tested architectures:
Like QEMU, gem5 also has a syscall emulation mode (SE), but in this tutorial we focus on the full system emulation mode (FS). For a comparison see: https://stackoverflow.com/questions/48986597/when-should-you-use-full-system-fs-vs-syscall-emulation-se-with-userland-program
TODO `aarch64` boot failed on v4.17 with:
....
panic: Tried to write Gic cpu at offset 0xd0
....
=== gem5 vs QEMU
* advantages of gem5: