diff --git a/README.adoc b/README.adoc index 227cc50..1fe9afa 100644 --- a/README.adoc +++ b/README.adoc @@ -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: diff --git a/linux-bisect-boot-gem5 b/linux-bisect-boot-gem5 new file mode 100644 index 0000000..5f22379 --- /dev/null +++ b/linux-bisect-boot-gem5 @@ -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 diff --git a/qemu-bisect-boot b/qemu-bisect-boot old mode 100644 new mode 100755