Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions README.txt
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ Required parameters:
* arm32_v6
* arm32_v7
* arm64
* arm64be
* mips
* mipsel
* ppc32
Expand Down
5 changes: 3 additions & 2 deletions boot-qemu.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
;;
Expand Down Expand Up @@ -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
Expand Down
12 changes: 12 additions & 0 deletions buildroot/arm64be.config
Original file line number Diff line number Diff line change
@@ -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
1 change: 0 additions & 1 deletion buildroot/buildroot-2020.11-rc1.tar.gz.sha256

This file was deleted.

1 change: 1 addition & 0 deletions buildroot/buildroot-2020.11.2.tar.gz.sha256
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
ab42111f4855483f1769f83f4e7c60e0a8724ba2b3579041c02e2678db50bd21 buildroot-2020.11.2.tar.gz
6 changes: 3 additions & 3 deletions buildroot/rebuild.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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
Binary file modified images/arm/rootfs.cpio.zst
Binary file not shown.
Binary file modified images/arm64/rootfs.cpio.zst
Binary file not shown.
Binary file added images/arm64be/rootfs.cpio.zst
Binary file not shown.
Binary file modified images/mips/rootfs.cpio.zst
Binary file not shown.
Binary file modified images/mipsel/rootfs.cpio.zst
Binary file not shown.
Binary file modified images/ppc32/rootfs.cpio.zst
Binary file not shown.
Binary file modified images/ppc64/rootfs.cpio.zst
Binary file not shown.
Binary file modified images/ppc64le/rootfs.cpio.zst
Binary file not shown.
Binary file modified images/riscv/rootfs.cpio.zst
Binary file not shown.
Binary file modified images/s390/rootfs.cpio.zst
Binary file not shown.
Binary file modified images/x86/rootfs.cpio.zst
Binary file not shown.
Binary file modified images/x86_64/rootfs.cpio.zst
Binary file not shown.