From: Thomas Glanzmann Date: Wed, 16 Mar 2022 19:43:25 +0000 (+0100) Subject: Note that U-Boot is compressed before appending. Uncompressed kernels may cause issue... X-Git-Url: http://cvs.zerfleddert.de/cgi-bin/gitweb.cgi/m1-debian/commitdiff_plain/2726c310bf41a97245abcfb1e8cea91cc2a51e4e Note that U-Boot is compressed before appending. Uncompressed kernels may cause issues with variables getting lost, since their size cannot be accurately determined. --- 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()