Use the new 64 bit root filesystem for the pi's
This also pulls in our RT kernel, and the script to build it.
We still need to package up and build the kernel module for the
adis16505, and enable the overlay. Not a huge deal.
Change-Id: I1a100d8ec3ce4406af27af6b555fd08840fb71fd
Signed-off-by: Austin Schuh <austin.linux@gmail.com>
diff --git a/frc971/raspi/rootfs/make_sd.sh b/frc971/raspi/rootfs/make_sd.sh
index 81f7727..5f1a0e1 100755
--- a/frc971/raspi/rootfs/make_sd.sh
+++ b/frc971/raspi/rootfs/make_sd.sh
@@ -4,7 +4,7 @@
# Disk image to use for creating SD card
# NOTE: You MUST run modify_rootfs.sh on this image BEFORE running make_sd.sh
-ORIG_IMAGE="2021-10-30-raspios-bullseye-armhf-lite.img"
+ORIG_IMAGE="2022-01-28-raspios-bullseye-arm64-lite.img"
IMAGE=`echo ${ORIG_IMAGE} | sed s/.img/-frc-mods.img/`
DEVICE="/dev/sda"
@@ -22,7 +22,7 @@
sudo mount "${DEVICE}2" "${PARTITION}"
function target() {
- HOME=/root/ USER=root sudo proot -0 -q qemu-arm-static -w / -r "${PARTITION}" "$@"
+ HOME=/root/ USER=root sudo proot -0 -q qemu-aarch64-static -w / -r "${PARTITION}" "$@"
}
if [ "${1}" == "" ]; then