From 76b8b668325f3f75a9a5c0981fd42aacf87a8978 Mon Sep 17 00:00:00 2001 From: Kor Nielsen Date: Mon, 8 Jan 2024 15:40:45 -0800 Subject: [PATCH] fpga-image: Panic on softlockup This means the stack traces will be written to the UART, to be picked up by fpga-boss. --- ci-tools/fpga-image/build.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/ci-tools/fpga-image/build.sh b/ci-tools/fpga-image/build.sh index c76783d5e2..5f78155811 100644 --- a/ci-tools/fpga-image/build.sh +++ b/ci-tools/fpga-image/build.sh @@ -42,6 +42,7 @@ if [[ -z "${SKIP_DEBOOTSTRAP}" ]]; then chroot out/rootfs bash -c 'echo iface end0 inet6 auto >> /etc/network/interfaces' chroot out/rootfs bash -c 'echo nameserver 2001:4860:4860::6464 > /etc/resolv.conf' chroot out/rootfs bash -c 'echo nameserver 2001:4860:4860::64 >> /etc/resolv.conf' + chroot out/rootfs bash -c 'echo kernel.softlockup_panic = 60 >> /etc/sysctl.conf' # Comment this line out if you don't trust folks with physical access to the # uart