From 2726c310bf41a97245abcfb1e8cea91cc2a51e4e Mon Sep 17 00:00:00 2001 From: Thomas Glanzmann Date: Wed, 16 Mar 2022 20:43:25 +0100 Subject: [PATCH] Note that U-Boot is compressed before appending. Uncompressed kernels may cause issues with variables getting lost, since their size cannot be accurately determined. --- bootstrap.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/bootstrap.sh b/bootstrap.sh index 97a39ff..4a8ef80 100644 --- a/bootstrap.sh +++ b/bootstrap.sh @@ -59,8 +59,8 @@ build_uboot() make -j `nproc` ) - cat m1n1/build/m1n1.bin `find linux/arch/arm64/boot/dts/apple/ -name \*.dtb` u-boot/u-boot-nodtb.bin > u-boot.bin - cat m1n1/build/m1n1.macho `find linux/arch/arm64/boot/dts/apple/ -name \*.dtb` u-boot/u-boot-nodtb.bin > u-boot.macho + cat m1n1/build/m1n1.bin `find linux/arch/arm64/boot/dts/apple/ -name \*.dtb` <(gzip -c u-boot/u-boot-nodtb.bin) > u-boot.bin + cat m1n1/build/m1n1.macho `find linux/arch/arm64/boot/dts/apple/ -name \*.dtb` <(gzip -c u-boot/u-boot-nodtb.bin) > u-boot.macho } build_rootfs() -- 2.39.5