I tried a build from today on the RPi4 (ARM64) and the system panics very early after the kernel is loaded and the Copyright is printed. I only have a screenshot of the panic.
Created attachment 221159 [details] arm64 RPi4 kernel panic
Please see https://reviews.freebsd.org/D27886.
A commit in branch main references this bug: URL: https://cgit.FreeBSD.org/src/commit/?id=82661227eddfd22e660bad7cd5f1adbb7c691b48 commit 82661227eddfd22e660bad7cd5f1adbb7c691b48 Author: Ryan Libby <rlibby@FreeBSD.org> AuthorDate: 2021-01-02 20:11:18 +0000 Commit: Ryan Libby <rlibby@FreeBSD.org> CommitDate: 2021-01-02 20:13:25 +0000 arm64: fix mask in atomic_testand{set,clear}_64 These macros generate both the 32- and 64-bit ops, but the mask was hard coded for 32-bit ops, causing the 64-bit ops always to affect only the low 32 bits. PR: 252324 Reported by: gbe, mmel Reviewed by: markj, mmel Tested by: mmel, rwatson Sponsored by: Dell EMC Isilon Differential Revision: https://reviews.freebsd.org/D27886 sys/arm64/include/atomic.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
Fix verified.