diff --git a/README.txt b/README.txt index 02079dc..8081124 100644 --- a/README.txt +++ b/README.txt @@ -9,6 +9,7 @@ Required parameters: * arm32_v6 * arm32_v7 * arm64 + * arm64be * mips * mipsel * ppc32 diff --git a/boot-qemu.sh b/boot-qemu.sh index 00e1e1f..36ef937 100755 --- a/boot-qemu.sh +++ b/boot-qemu.sh @@ -39,7 +39,7 @@ function parse_parameters() { -a | --arch | --architecture) shift case ${1} in - arm32_v5 | arm32_v6 | arm32_v7 | arm64 | mips | mipsel | ppc32 | ppc64 | ppc64le | riscv | s390 | x86 | x86_64) ARCH=${1} ;; + arm32_v5 | arm32_v6 | arm32_v7 | arm64 | arm64be | mips | mipsel | ppc32 | ppc64 | ppc64le | riscv | s390 | x86 | x86_64) ARCH=${1} ;; *) die "Invalid --arch value '${1}'" ;; esac ;; @@ -141,7 +141,8 @@ function setup_qemu_args() { QEMU=(qemu-system-arm) ;; - arm64) + arm64 | arm64be) + ARCH=arm64 KIMAGE=Image.gz APPEND_STRING+="console=ttyAMA0 " if [[ "$(uname -m)" = "aarch64" && -e /dev/kvm ]]; then diff --git a/buildroot/arm64be.config b/buildroot/arm64be.config new file mode 100644 index 0000000..8fa3c89 --- /dev/null +++ b/buildroot/arm64be.config @@ -0,0 +1,12 @@ +BR2_aarch64_be=y +BR2_cortex_a57=y +BR2_OPTIMIZE_3=y +BR2_KERNEL_HEADERS_4_4=y +BR2_GCC_VERSION_8_X=y +BR2_TARGET_GENERIC_ROOT_PASSWD="root" +BR2_TARGET_GENERIC_GETTY_PORT="ttyAMA0" +BR2_ROOTFS_OVERLAY="../overlay-poweroff" +BR2_PACKAGE_BUSYBOX_SHOW_OTHERS=y +BR2_PACKAGE_BASH=y +BR2_TARGET_ROOTFS_CPIO=y +# BR2_TARGET_ROOTFS_TAR is not set diff --git a/buildroot/buildroot-2020.11-rc1.tar.gz.sha256 b/buildroot/buildroot-2020.11-rc1.tar.gz.sha256 deleted file mode 100644 index 70bc957..0000000 --- a/buildroot/buildroot-2020.11-rc1.tar.gz.sha256 +++ /dev/null @@ -1 +0,0 @@ -1448e8c4589abd45d40d8ff5e788430023e8075e973838e22100caec75949d94 buildroot-2020.11-rc1.tar.gz diff --git a/buildroot/buildroot-2020.11.2.tar.gz.sha256 b/buildroot/buildroot-2020.11.2.tar.gz.sha256 new file mode 100644 index 0000000..2837d71 --- /dev/null +++ b/buildroot/buildroot-2020.11.2.tar.gz.sha256 @@ -0,0 +1 @@ +ab42111f4855483f1769f83f4e7c60e0a8724ba2b3579041c02e2678db50bd21 buildroot-2020.11.2.tar.gz diff --git a/buildroot/rebuild.sh b/buildroot/rebuild.sh index fa898e9..0d94417 100755 --- a/buildroot/rebuild.sh +++ b/buildroot/rebuild.sh @@ -32,14 +32,14 @@ CONFIGS=() while ((${#})); do case ${1} in all) for CONFIG in *.config; do CONFIGS+=("../${CONFIG}"); done ;; - arm64 | arm | mips | mipsel | ppc32 | ppc64 | ppc64le | riscv | s390 | x86 | x86_64) CONFIGS+=("../${1}.config") ;; + arm64 | arm64be | arm | mips | mipsel | ppc32 | ppc64 | ppc64le | riscv | s390 | x86 | x86_64) CONFIGS+=("../${1}.config") ;; *) die "Unknown parameter '${1}', exiting!" ;; esac shift done # Download latest LTS buildroot release -BUILDROOT_VERSION=2020.11-rc1 +BUILDROOT_VERSION=2020.11.2 if [[ -d src ]]; then if [[ $(cd src && make print-version | cut -d - -f 1 2>/dev/null) != "${BUILDROOT_VERSION}" ]]; then rm -rf src @@ -78,6 +78,6 @@ for CONFIG in "${CONFIGS[@]}"; do IMAGES=("output/images/rootfs.cpio") for IMAGE in "${IMAGES[@]}"; do [[ -f ${IMAGE} ]] || die "${IMAGE} could not be found! Did the build error?" - zstd -19 "${IMAGE}" -o "${IMAGES_FOLDER}/${IMAGE##*/}.zst" || die "Compressing ${IMAGE##*/} failed!" + zstd -f -19 "${IMAGE}" -o "${IMAGES_FOLDER}/${IMAGE##*/}.zst" || die "Compressing ${IMAGE##*/} failed!" done done diff --git a/images/arm/rootfs.cpio.zst b/images/arm/rootfs.cpio.zst index 8bb3635..33dabb7 100644 Binary files a/images/arm/rootfs.cpio.zst and b/images/arm/rootfs.cpio.zst differ diff --git a/images/arm64/rootfs.cpio.zst b/images/arm64/rootfs.cpio.zst index 07a8cb3..223d8c5 100644 Binary files a/images/arm64/rootfs.cpio.zst and b/images/arm64/rootfs.cpio.zst differ diff --git a/images/arm64be/rootfs.cpio.zst b/images/arm64be/rootfs.cpio.zst new file mode 100644 index 0000000..46f4792 Binary files /dev/null and b/images/arm64be/rootfs.cpio.zst differ diff --git a/images/mips/rootfs.cpio.zst b/images/mips/rootfs.cpio.zst index d020d46..7eaf2f5 100644 Binary files a/images/mips/rootfs.cpio.zst and b/images/mips/rootfs.cpio.zst differ diff --git a/images/mipsel/rootfs.cpio.zst b/images/mipsel/rootfs.cpio.zst index 16aa416..0257316 100644 Binary files a/images/mipsel/rootfs.cpio.zst and b/images/mipsel/rootfs.cpio.zst differ diff --git a/images/ppc32/rootfs.cpio.zst b/images/ppc32/rootfs.cpio.zst index da2ff07..1f509eb 100644 Binary files a/images/ppc32/rootfs.cpio.zst and b/images/ppc32/rootfs.cpio.zst differ diff --git a/images/ppc64/rootfs.cpio.zst b/images/ppc64/rootfs.cpio.zst index 695c653..8c082b1 100644 Binary files a/images/ppc64/rootfs.cpio.zst and b/images/ppc64/rootfs.cpio.zst differ diff --git a/images/ppc64le/rootfs.cpio.zst b/images/ppc64le/rootfs.cpio.zst index 5ca0869..b8ea6b2 100644 Binary files a/images/ppc64le/rootfs.cpio.zst and b/images/ppc64le/rootfs.cpio.zst differ diff --git a/images/riscv/rootfs.cpio.zst b/images/riscv/rootfs.cpio.zst index d83f93a..330718a 100644 Binary files a/images/riscv/rootfs.cpio.zst and b/images/riscv/rootfs.cpio.zst differ diff --git a/images/s390/rootfs.cpio.zst b/images/s390/rootfs.cpio.zst index 9f8e97e..ff98286 100644 Binary files a/images/s390/rootfs.cpio.zst and b/images/s390/rootfs.cpio.zst differ diff --git a/images/x86/rootfs.cpio.zst b/images/x86/rootfs.cpio.zst index 74c4fd5..2ed4c09 100644 Binary files a/images/x86/rootfs.cpio.zst and b/images/x86/rootfs.cpio.zst differ diff --git a/images/x86_64/rootfs.cpio.zst b/images/x86_64/rootfs.cpio.zst index 5f8c847..c3d047a 100644 Binary files a/images/x86_64/rootfs.cpio.zst and b/images/x86_64/rootfs.cpio.zst differ