Skip to content

Commit

Permalink
fpga-image: Panic on softlockup
Browse files Browse the repository at this point in the history
This means the stack traces will be written to the UART, to be picked up
by fpga-boss.
  • Loading branch information
korran committed Jan 9, 2024
1 parent 083bd6c commit 76b8b66
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions ci-tools/fpga-image/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 76b8b66

Please sign in to comment.