]>
cvs.zerfleddert.de Git - m1-debian/blob - gpu.sh
3 # SPDX-License-Identifier: MIT
17 if [ "`uname -m`" != 'aarch64' ]; then
19 export CROSS_COMPILE
=aarch64
-linux-gnu-
20 export DEBOOTSTRAP
=qemu
-debootstrap
21 sudo apt
install -y libc6
-dev-arm64-cross
28 test -d linux
|| git clone https
://github.com
/AsahiLinux
/linux
31 git
reset --hard asahi
-6.1
-rc8-3;
32 source "$HOME/.cargo/env"
33 cat ..
/..
/config
-gpu.txt
> .config
34 make LLVM
=-14 olddefconfig
35 make -j `nproc` LLVM
=-14 V
=0 bindeb
-pkg > /dev
/null
42 test -d m1n1
|| git clone
--recursive https
://github.com
/AsahiLinux
/m1n1
45 git
reset --hard v1.2
.2;
53 test -d u
-boot || git clone https
://github.com
/AsahiLinux
/u
-boot
56 git
reset --hard asahi
-v2022.10
-1;
58 make apple_m1_defconfig
61 cat m
1n
1/build
/m1n1.bin
`find linux/arch/arm64/boot/dts/apple/ -name \*.dtb` <(gzip -c u
-boot/u
-boot-nodtb.bin
) > u
-boot.bin