mirror of
https://github.com/cirosantilli/linux-kernel-module-cheat.git
synced 2026-01-23 02:05:57 +01:00
gem5: linux v4.17 broken
This commit is contained in:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user