mirror of
https://github.com/cirosantilli/linux-kernel-module-cheat.git
synced 2026-01-23 02:05:57 +01:00
gem5: arm linux kernel bisection result and script
This commit is contained in:
@@ -7342,6 +7342,8 @@ git -C linux checkout v4.16
|
||||
git -C linux checkout -
|
||||
....
|
||||
|
||||
Bisected down to Linux kernel commit link:https://github.com/torvalds/linux/commit/c5e1035c9687025373b7c48a08efb37f5329916b[c5e1035c9687025373b7c48a08efb37f5329916b].
|
||||
|
||||
If we check out gem5 to a previous revision 60600f09c25255b3c8f72da7fb49100e2682093a, which is when I first noticed that v4.17 was not working, then there is another error instead:
|
||||
|
||||
....
|
||||
@@ -9490,6 +9492,8 @@ git submodule update
|
||||
rm -rf out/arm/buildroot/build/host-qemu-custom.bisect/
|
||||
....
|
||||
|
||||
An example of Linux kernel commit bisection on gem5 boots can be found at: link:linux-bisect-boot-gem5[].
|
||||
|
||||
==== Sanity checks
|
||||
|
||||
Basic C and C++ hello worlds:
|
||||
|
||||
7
linux-bisect-boot-gem5
Normal file
7
linux-bisect-boot-gem5
Normal file
@@ -0,0 +1,7 @@
|
||||
#!/usr/bin/env bash
|
||||
set -eu
|
||||
cd ..
|
||||
# Rebuilds were failing without this.
|
||||
rm -rf out/arm/buildroot/build/linux-custom.bisect/
|
||||
./build -aa -L bisect
|
||||
./run -aa -E 'm5 exit' -L bisect -gu
|
||||
0
qemu-bisect-boot
Normal file → Executable file
0
qemu-bisect-boot
Normal file → Executable file
Reference in New Issue
Block a user