From cb8b2e3f5f66da7d64615c4726478fe77a922c6c Mon Sep 17 00:00:00 2001 From: Stefan Agner Date: Wed, 10 Nov 2021 14:50:37 +0100 Subject: [PATCH] Drop Raspberry Pi 1/Zero W support (#1638) These boards support the rather ancient ARMv6 architecture only. We officially stopped supporting them already two releases ago, its time to say goodbye. --- .github/workflows/matrix.json | 12 -- .github/workflows/release.yml | 2 - buildroot-external/board/raspberrypi/rpi/meta | 10 -- .../board/raspberrypi/rpi0-w/meta | 10 -- buildroot-external/configs/rpi0_w_defconfig | 120 ------------------ buildroot-external/configs/rpi_defconfig | 118 ----------------- 6 files changed, 272 deletions(-) delete mode 100644 buildroot-external/board/raspberrypi/rpi/meta delete mode 100644 buildroot-external/board/raspberrypi/rpi0-w/meta delete mode 100644 buildroot-external/configs/rpi0_w_defconfig delete mode 100644 buildroot-external/configs/rpi_defconfig diff --git a/.github/workflows/matrix.json b/.github/workflows/matrix.json index 9ec7385ef..3faa087c0 100644 --- a/.github/workflows/matrix.json +++ b/.github/workflows/matrix.json @@ -41,18 +41,6 @@ "runner": "aarch64-runner", "label": "board/odroid" }, - { - "id": "rpi", - "defconfig": "rpi", - "runner": "arm-runner", - "label": "board/raspberrypi" - }, - { - "id": "rpi0-w", - "defconfig": "rpi0_w", - "runner": "arm-runner", - "label": "board/raspberrypi" - }, { "id": "rpi2", "defconfig": "rpi2", diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 67d745556..54fb6475a 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -48,8 +48,6 @@ jobs: - {"name": "odroid_c4", "output": "odroid-c4", "runner": "aarch64-runner"} - {"name": "odroid_n2", "output": "odroid-n2", "runner": "aarch64-runner"} - {"name": "odroid_xu4", "output": "odroid-xu4" , "runner": "aarch64-runner"} - - {"name": "rpi", "output": "rpi", "runner": "arm-runner"} - - {"name": "rpi0_w", "output": "rpi0-w", "runner": "arm-runner"} - {"name": "rpi2", "output": "rpi2", "runner": "arm-runner"} - {"name": "rpi3", "output": "rpi3", "runner": "arm-runner"} - {"name": "rpi3_64", "output": "rpi3-64", "runner": "aarch64-runner"} diff --git a/buildroot-external/board/raspberrypi/rpi/meta b/buildroot-external/board/raspberrypi/rpi/meta deleted file mode 100644 index bd8a90005..000000000 --- a/buildroot-external/board/raspberrypi/rpi/meta +++ /dev/null @@ -1,10 +0,0 @@ -BOARD_ID=rpi -BOARD_NAME="RaspberryPi" -CHASSIS=embedded -BOOTLOADER=uboot -KERNEL_FILE=zImage -BOOT_SYS=hybrid -BOOT_SPL=false -BOOT_ENV_SIZE=0x4000 -SUPERVISOR_MACHINE=raspberrypi -SUPERVISOR_ARCH=armhf diff --git a/buildroot-external/board/raspberrypi/rpi0-w/meta b/buildroot-external/board/raspberrypi/rpi0-w/meta deleted file mode 100644 index 21515102d..000000000 --- a/buildroot-external/board/raspberrypi/rpi0-w/meta +++ /dev/null @@ -1,10 +0,0 @@ -BOARD_ID=rpi0-w -BOARD_NAME="RaspberryPi Zero-W" -CHASSIS=embedded -BOOTLOADER=uboot -KERNEL_FILE=zImage -BOOT_SYS=hybrid -BOOT_SPL=false -BOOT_ENV_SIZE=0x4000 -SUPERVISOR_MACHINE=raspberrypi -SUPERVISOR_ARCH=armhf diff --git a/buildroot-external/configs/rpi0_w_defconfig b/buildroot-external/configs/rpi0_w_defconfig deleted file mode 100644 index a378a705a..000000000 --- a/buildroot-external/configs/rpi0_w_defconfig +++ /dev/null @@ -1,120 +0,0 @@ -BR2_arm=y -BR2_arm1176jzf_s=y -BR2_ARM_EABIHF=y -BR2_DL_DIR="/cache/dl" -BR2_CCACHE=y -BR2_CCACHE_DIR="/cache/cc" -BR2_GLOBAL_PATCH_DIR="$(BR2_EXTERNAL_HASSOS_PATH)/patches $(BR2_EXTERNAL_HASSOS_PATH)/board/raspberrypi/patches" -BR2_TOOLCHAIN_BUILDROOT_GLIBC=y -BR2_GCC_VERSION_9_X=y -BR2_OPTIMIZE_2=y -BR2_SSP_REGULAR=y -BR2_SSP_OPTION="-fstack-protector" -BR2_TOOLCHAIN_BUILDROOT_CXX=y -BR2_BINUTILS_ENABLE_LTO=y -BR2_GCC_ENABLE_LTO=y -BR2_TARGET_GENERIC_HOSTNAME="homeassistant" -BR2_TARGET_GENERIC_ISSUE="Welcome to Home Assistant" -BR2_INIT_SYSTEMD=y -# BR2_TARGET_GENERIC_REMOUNT_ROOTFS_RW is not set -BR2_ROOTFS_OVERLAY="$(BR2_EXTERNAL_HASSOS_PATH)/rootfs-overlay $(BR2_EXTERNAL_HASSOS_PATH)/board/raspberrypi/rootfs-overlay" -BR2_ROOTFS_POST_BUILD_SCRIPT="$(BR2_EXTERNAL_HASSOS_PATH)/scripts/post-build.sh" -BR2_ROOTFS_POST_IMAGE_SCRIPT="$(BR2_EXTERNAL_HASSOS_PATH)/scripts/post-image.sh" -BR2_ROOTFS_POST_SCRIPT_ARGS="$(BR2_EXTERNAL_HASSOS_PATH)/board/raspberrypi/rpi0-w $(BR2_EXTERNAL_HASSOS_PATH)/board/raspberrypi/hassos-hook.sh" -BR2_LINUX_KERNEL=y -BR2_LINUX_KERNEL_CUSTOM_TARBALL=y -BR2_LINUX_KERNEL_CUSTOM_TARBALL_LOCATION="https://github.com/raspberrypi/linux/archive/1.20211007.tar.gz" -BR2_LINUX_KERNEL_DEFCONFIG="bcmrpi" -BR2_LINUX_KERNEL_CONFIG_FRAGMENT_FILES="$(BR2_EXTERNAL_HASSOS_PATH)/kernel/hassos.config $(BR2_EXTERNAL_HASSOS_PATH)/kernel/docker.config $(BR2_EXTERNAL_HASSOS_PATH)/kernel/device-support.config $(BR2_EXTERNAL_HASSOS_PATH)/board/raspberrypi/kernel.config" -BR2_LINUX_KERNEL_LZ4=y -BR2_LINUX_KERNEL_DTS_SUPPORT=y -BR2_LINUX_KERNEL_INTREE_DTS_NAME="bcm2708-rpi-zero-w" -BR2_LINUX_KERNEL_NEEDS_HOST_OPENSSL=y -BR2_LINUX_KERNEL_NEEDS_HOST_LIBELF=y -BR2_PACKAGE_BUSYBOX_CONFIG="$(BR2_EXTERNAL_HASSOS_PATH)/busybox.config" -BR2_PACKAGE_BUSYBOX_INDIVIDUAL_BINARIES=y -BR2_PACKAGE_PROCPS_NG=y -BR2_PACKAGE_JQ=y -BR2_PACKAGE_E2FSPROGS=y -BR2_PACKAGE_E2FSPROGS_E2IMAGE=y -BR2_PACKAGE_SQUASHFS=y -BR2_PACKAGE_OS_AGENT=y -BR2_PACKAGE_UDISKS2=y -# BR2_PACKAGE_LVM2_STANDARD_INSTALL is not set -BR2_PACKAGE_LINUX_FIRMWARE=y -BR2_PACKAGE_LINUX_FIRMWARE_MEDIATEK_MT7601U=y -BR2_PACKAGE_LINUX_FIRMWARE_RALINK_RT2XX=y -BR2_PACKAGE_LINUX_FIRMWARE_RALINK_RT73=y -BR2_PACKAGE_LINUX_FIRMWARE_RTL_87XX_BT=y -BR2_PACKAGE_LINUX_FIRMWARE_RTL_88XX_BT=y -BR2_PACKAGE_LINUX_FIRMWARE_USB_NIC_RTL_815X=y -BR2_PACKAGE_LINUX_FIRMWARE_USB_SERIAL_TI=y -BR2_PACKAGE_RPI_WIFI_FIRMWARE=y -BR2_PACKAGE_RPI_FIRMWARE=y -BR2_PACKAGE_GPTFDISK=y -BR2_PACKAGE_GPTFDISK_SGDISK=y -BR2_PACKAGE_UBOOT_TOOLS=y -BR2_PACKAGE_CA_CERTIFICATES=y -BR2_PACKAGE_LIBDNET=y -BR2_PACKAGE_LIBCGROUP=y -BR2_PACKAGE_LIBCGROUP_TOOLS=y -BR2_PACKAGE_BLUEZ5_UTILS=y -BR2_PACKAGE_BLUEZ5_UTILS_CLIENT=y -BR2_PACKAGE_BLUEZ5_UTILS_TOOLS=y -BR2_PACKAGE_DHCP=y -BR2_PACKAGE_DHCP_CLIENT=y -BR2_PACKAGE_WIREGUARD_LINUX_COMPAT=y -BR2_PACKAGE_DROPBEAR=y -BR2_PACKAGE_DROPBEAR_CLIENT=y -# BR2_PACKAGE_IFUPDOWN_SCRIPTS is not set -BR2_PACKAGE_NETWORK_MANAGER=y -BR2_PACKAGE_WIRELESS_REGDB=y -BR2_PACKAGE_TINI=y -BR2_PACKAGE_DOCKER_ENGINE=y -BR2_PACKAGE_DOCKER_CLI=y -BR2_PACKAGE_RAUC=y -BR2_PACKAGE_RAUC_NETWORK=y -BR2_PACKAGE_RNG_TOOLS=y -# BR2_PACKAGE_SYSTEMD_HWDB is not set -# BR2_PACKAGE_SYSTEMD_NETWORKD is not set -BR2_PACKAGE_SYSTEMD_RANDOMSEED=y -BR2_PACKAGE_SYSTEMD_RESOLVED=y -BR2_PACKAGE_SYSTEMD_COREDUMP=y -BR2_PACKAGE_SYSTEMD_JOURNAL_REMOTE=y -BR2_PACKAGE_SYSTEMD_LOGIND=y -BR2_PACKAGE_UTIL_LINUX_PARTX=y -BR2_PACKAGE_UTIL_LINUX_ZRAMCTL=y -BR2_PACKAGE_UTIL_LINUX_LOGIN=y -BR2_PACKAGE_UTIL_LINUX_NOLOGIN=y -BR2_PACKAGE_UTIL_LINUX_SULOGIN=y -BR2_PACKAGE_USB_MODESWITCH=y -BR2_PACKAGE_USB_MODESWITCH_DATA=y -BR2_TARGET_ROOTFS_SQUASHFS=y -BR2_TARGET_ROOTFS_SQUASHFS4_LZ4=y -# BR2_TARGET_ROOTFS_TAR is not set -BR2_TARGET_UBOOT=y -BR2_TARGET_UBOOT_BUILD_SYSTEM_KCONFIG=y -BR2_TARGET_UBOOT_CUSTOM_VERSION=y -BR2_TARGET_UBOOT_CUSTOM_VERSION_VALUE="2021.10" -BR2_TARGET_UBOOT_BOARD_DEFCONFIG="rpi_0_w" -BR2_TARGET_UBOOT_CONFIG_FRAGMENT_FILES="$(BR2_EXTERNAL_HASSOS_PATH)/bootloader/uboot.config $(BR2_EXTERNAL_HASSOS_PATH)/board/raspberrypi/uboot.config" -BR2_PACKAGE_HOST_UBOOT_TOOLS=y -BR2_PACKAGE_HOST_UBOOT_TOOLS_BOOT_SCRIPT=y -BR2_PACKAGE_HOST_UBOOT_TOOLS_BOOT_SCRIPT_SOURCE="$(BR2_EXTERNAL_HASSOS_PATH)/board/raspberrypi/uboot-boot.ush" -BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_5_10=y -BR2_PACKAGE_HOST_DOSFSTOOLS=y -BR2_PACKAGE_HOST_E2FSPROGS=y -BR2_PACKAGE_HOST_GPTFDISK=y -BR2_PACKAGE_HOST_MTOOLS=y -BR2_PACKAGE_HOST_RAUC=y -BR2_PACKAGE_HASSIO=y -BR2_PACKAGE_HASSIO_ARCH="armhf" -BR2_PACKAGE_HASSIO_MACHINE="raspberrypi" -BR2_PACKAGE_APPARMOR=y -BR2_PACKAGE_APPARMOR_PROFILES=y -BR2_PACKAGE_LIBCURL_CURL=y -BR2_PACKAGE_BLUETOOTH_BCM43XX=y -BR2_PACKAGE_DOSFSTOOLS=y -BR2_PACKAGE_DOSFSTOOLS_FSCK_FAT=y -BR2_PACKAGE_RPI_RF_MOD=y -BR2_PACKAGE_RPI_RF_MOD_DTS=y diff --git a/buildroot-external/configs/rpi_defconfig b/buildroot-external/configs/rpi_defconfig deleted file mode 100644 index afc3d4eb4..000000000 --- a/buildroot-external/configs/rpi_defconfig +++ /dev/null @@ -1,118 +0,0 @@ -BR2_arm=y -BR2_arm1176jzf_s=y -BR2_ARM_EABIHF=y -BR2_DL_DIR="/cache/dl" -BR2_CCACHE=y -BR2_CCACHE_DIR="/cache/cc" -BR2_GLOBAL_PATCH_DIR="$(BR2_EXTERNAL_HASSOS_PATH)/patches $(BR2_EXTERNAL_HASSOS_PATH)/board/raspberrypi/patches" -BR2_TOOLCHAIN_BUILDROOT_GLIBC=y -BR2_GCC_VERSION_9_X=y -BR2_OPTIMIZE_2=y -BR2_SSP_REGULAR=y -BR2_SSP_OPTION="-fstack-protector" -BR2_TOOLCHAIN_BUILDROOT_CXX=y -BR2_BINUTILS_ENABLE_LTO=y -BR2_GCC_ENABLE_LTO=y -BR2_TARGET_GENERIC_HOSTNAME="homeassistant" -BR2_TARGET_GENERIC_ISSUE="Welcome to Home Assistant" -BR2_INIT_SYSTEMD=y -# BR2_TARGET_GENERIC_REMOUNT_ROOTFS_RW is not set -BR2_ROOTFS_OVERLAY="$(BR2_EXTERNAL_HASSOS_PATH)/rootfs-overlay $(BR2_EXTERNAL_HASSOS_PATH)/board/raspberrypi/rootfs-overlay" -BR2_ROOTFS_POST_BUILD_SCRIPT="$(BR2_EXTERNAL_HASSOS_PATH)/scripts/post-build.sh" -BR2_ROOTFS_POST_IMAGE_SCRIPT="$(BR2_EXTERNAL_HASSOS_PATH)/scripts/post-image.sh" -BR2_ROOTFS_POST_SCRIPT_ARGS="$(BR2_EXTERNAL_HASSOS_PATH)/board/raspberrypi/rpi $(BR2_EXTERNAL_HASSOS_PATH)/board/raspberrypi/hassos-hook.sh" -BR2_LINUX_KERNEL=y -BR2_LINUX_KERNEL_CUSTOM_TARBALL=y -BR2_LINUX_KERNEL_CUSTOM_TARBALL_LOCATION="https://github.com/raspberrypi/linux/archive/1.20211007.tar.gz" -BR2_LINUX_KERNEL_DEFCONFIG="bcmrpi" -BR2_LINUX_KERNEL_CONFIG_FRAGMENT_FILES="$(BR2_EXTERNAL_HASSOS_PATH)/kernel/hassos.config $(BR2_EXTERNAL_HASSOS_PATH)/kernel/docker.config $(BR2_EXTERNAL_HASSOS_PATH)/kernel/device-support.config $(BR2_EXTERNAL_HASSOS_PATH)/board/raspberrypi/kernel.config" -BR2_LINUX_KERNEL_LZ4=y -BR2_LINUX_KERNEL_DTS_SUPPORT=y -BR2_LINUX_KERNEL_INTREE_DTS_NAME="bcm2708-rpi-b bcm2708-rpi-b-plus bcm2708-rpi-cm" -BR2_LINUX_KERNEL_NEEDS_HOST_OPENSSL=y -BR2_LINUX_KERNEL_NEEDS_HOST_LIBELF=y -BR2_PACKAGE_BUSYBOX_CONFIG="$(BR2_EXTERNAL_HASSOS_PATH)/busybox.config" -BR2_PACKAGE_BUSYBOX_INDIVIDUAL_BINARIES=y -BR2_PACKAGE_PROCPS_NG=y -BR2_PACKAGE_JQ=y -BR2_PACKAGE_E2FSPROGS=y -BR2_PACKAGE_E2FSPROGS_E2IMAGE=y -BR2_PACKAGE_SQUASHFS=y -BR2_PACKAGE_OS_AGENT=y -BR2_PACKAGE_UDISKS2=y -# BR2_PACKAGE_LVM2_STANDARD_INSTALL is not set -BR2_PACKAGE_LINUX_FIRMWARE=y -BR2_PACKAGE_LINUX_FIRMWARE_MEDIATEK_MT7601U=y -BR2_PACKAGE_LINUX_FIRMWARE_RALINK_RT2XX=y -BR2_PACKAGE_LINUX_FIRMWARE_RALINK_RT73=y -BR2_PACKAGE_LINUX_FIRMWARE_RTL_87XX_BT=y -BR2_PACKAGE_LINUX_FIRMWARE_RTL_88XX_BT=y -BR2_PACKAGE_LINUX_FIRMWARE_USB_NIC_RTL_815X=y -BR2_PACKAGE_LINUX_FIRMWARE_USB_SERIAL_TI=y -BR2_PACKAGE_RPI_FIRMWARE=y -BR2_PACKAGE_GPTFDISK=y -BR2_PACKAGE_GPTFDISK_SGDISK=y -BR2_PACKAGE_UBOOT_TOOLS=y -BR2_PACKAGE_CA_CERTIFICATES=y -BR2_PACKAGE_LIBDNET=y -BR2_PACKAGE_LIBCGROUP=y -BR2_PACKAGE_LIBCGROUP_TOOLS=y -BR2_PACKAGE_BLUEZ5_UTILS=y -BR2_PACKAGE_BLUEZ5_UTILS_CLIENT=y -BR2_PACKAGE_BLUEZ5_UTILS_TOOLS=y -BR2_PACKAGE_DHCP=y -BR2_PACKAGE_DHCP_CLIENT=y -BR2_PACKAGE_WIREGUARD_LINUX_COMPAT=y -BR2_PACKAGE_DROPBEAR=y -BR2_PACKAGE_DROPBEAR_CLIENT=y -# BR2_PACKAGE_IFUPDOWN_SCRIPTS is not set -BR2_PACKAGE_NETWORK_MANAGER=y -BR2_PACKAGE_WIRELESS_REGDB=y -BR2_PACKAGE_TINI=y -BR2_PACKAGE_DOCKER_ENGINE=y -BR2_PACKAGE_DOCKER_CLI=y -BR2_PACKAGE_RAUC=y -BR2_PACKAGE_RAUC_NETWORK=y -BR2_PACKAGE_RNG_TOOLS=y -# BR2_PACKAGE_SYSTEMD_HWDB is not set -# BR2_PACKAGE_SYSTEMD_NETWORKD is not set -BR2_PACKAGE_SYSTEMD_RANDOMSEED=y -BR2_PACKAGE_SYSTEMD_RESOLVED=y -BR2_PACKAGE_SYSTEMD_COREDUMP=y -BR2_PACKAGE_SYSTEMD_JOURNAL_REMOTE=y -BR2_PACKAGE_SYSTEMD_LOGIND=y -BR2_PACKAGE_UTIL_LINUX_PARTX=y -BR2_PACKAGE_UTIL_LINUX_ZRAMCTL=y -BR2_PACKAGE_UTIL_LINUX_LOGIN=y -BR2_PACKAGE_UTIL_LINUX_NOLOGIN=y -BR2_PACKAGE_UTIL_LINUX_SULOGIN=y -BR2_PACKAGE_USB_MODESWITCH=y -BR2_PACKAGE_USB_MODESWITCH_DATA=y -BR2_TARGET_ROOTFS_SQUASHFS=y -BR2_TARGET_ROOTFS_SQUASHFS4_LZ4=y -# BR2_TARGET_ROOTFS_TAR is not set -BR2_TARGET_UBOOT=y -BR2_TARGET_UBOOT_BUILD_SYSTEM_KCONFIG=y -BR2_TARGET_UBOOT_CUSTOM_VERSION=y -BR2_TARGET_UBOOT_CUSTOM_VERSION_VALUE="2021.10" -BR2_TARGET_UBOOT_BOARD_DEFCONFIG="rpi" -BR2_TARGET_UBOOT_CONFIG_FRAGMENT_FILES="$(BR2_EXTERNAL_HASSOS_PATH)/bootloader/uboot.config $(BR2_EXTERNAL_HASSOS_PATH)/board/raspberrypi/uboot.config" -BR2_PACKAGE_HOST_UBOOT_TOOLS=y -BR2_PACKAGE_HOST_UBOOT_TOOLS_BOOT_SCRIPT=y -BR2_PACKAGE_HOST_UBOOT_TOOLS_BOOT_SCRIPT_SOURCE="$(BR2_EXTERNAL_HASSOS_PATH)/board/raspberrypi/uboot-boot.ush" -BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_5_10=y -BR2_PACKAGE_HOST_DOSFSTOOLS=y -BR2_PACKAGE_HOST_E2FSPROGS=y -BR2_PACKAGE_HOST_GPTFDISK=y -BR2_PACKAGE_HOST_MTOOLS=y -BR2_PACKAGE_HOST_RAUC=y -BR2_PACKAGE_HASSIO=y -BR2_PACKAGE_HASSIO_ARCH="armhf" -BR2_PACKAGE_HASSIO_MACHINE="raspberrypi" -BR2_PACKAGE_APPARMOR=y -BR2_PACKAGE_APPARMOR_PROFILES=y -BR2_PACKAGE_LIBCURL_CURL=y -BR2_PACKAGE_DOSFSTOOLS=y -BR2_PACKAGE_DOSFSTOOLS_FSCK_FAT=y -BR2_PACKAGE_RPI_RF_MOD=y -BR2_PACKAGE_RPI_RF_MOD_DTS=y