From b319945699320161e48b93b1efa2e9e1cf6a5a70 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Paul=20H=C3=A4nsch?= Date: Mon, 19 Jan 2026 05:50:20 +0100 Subject: [PATCH] switch to plain debian arm64 for raspberry pi --- Makefile | 23 +++++++++-------------- 1 file changed, 9 insertions(+), 14 deletions(-) diff --git a/Makefile b/Makefile index d79bf0b..a2c9405 100644 --- a/Makefile +++ b/Makefile @@ -18,8 +18,8 @@ BOOTSTRAP := http://deb.debian.org/debian PACKAGES := ${PACKAGES} apt busybox-static debian-archive-keyring init systemd # Partition Table (2M) + Boot Partition (126M)+ Root Partition + Slack Space (1M) = 2048M -BOOT_MB := 126 -ROOT_MB := 895 +BOOT_MB := 254 +ROOT_MB := 1791 fstype := ext4 @@ -138,7 +138,7 @@ else ifdef iso _iso_image: _bootloader_iso _isosquash # _efi_umount else ifdef raspi - ARCH := armhf + ARCH := arm64 VOLUME := ${raspi} PBOOT := rpi_boot.img @@ -146,17 +146,12 @@ else ifdef raspi SYSROOT := sys_root_${release}_${ARCH}/ CFGROOT := img_mount/ - KEYRING := keys/raspbian-archive-keyring.gpg - BOOTSTRAP := http://raspbian.raspberrypi.org/raspbian - - define SOURCES := - deb http://raspbian.raspberrypi.org/raspbian ${release} main non-free firmware rpi - deb http://archive.raspberrypi.org/debian ${release} main + define SOURCES := + deb http://deb.debian.org/debian ${release} main non-free-firmware + deb https://deb.debian.org/debian-security/ ${release}/updates main endef - # PACKAGES += firmware-brcm80211 libraspberrypi-bin libraspberrypi0 pi-bluetooth raspberrypi-bootloader raspberrypi-kernel initramfs-tools - PACKAGES += firmware-brcm80211 pi-bluetooth initramfs-tools e2fsprogs - PACKAGES += linux-image-rpi-v7 raspberrypi-bootloader-nokernel + PACKAGES += firmware-brcm80211 bluez-firmware initramfs-tools e2fsprogs raspi-firmware linux-image-arm64 _target: _umount _config @@ -215,8 +210,8 @@ img_mount/: hdd_mount/: mkdir -p -m 755 "$@" -_qemu: ${SYSROOT}/usr/bin/qemu-arm-static -${SYSROOT}/usr/bin/qemu-arm-static: /usr/bin/qemu-arm-static ${SYSROOT} +_qemu: ${SYSROOT}/usr/bin/qemu-arm64-static +${SYSROOT}/usr/bin/qemu-arm64-static: /usr/bin/qemu-arm64-static ${SYSROOT} mkdir -p -m 755 "$${SYSROOT}"/usr/bin chmod 755 "$${SYSROOT}"/usr cp -p "$<" "$@" -- 2.39.5