+# This is a developer quickstart guide for a tethered boot. If you're looking
+# for an enduser guide see: https://github.com/AsahiLinux/docs/wiki/Debian
+# If you find errors or I should have elaborated more to get to going faster,
+# please let me know in IRC. My nick is Glanzmann or drop me an email at
+# thomas@glanzmann.de
+
# Boot into macos
+# Extract the firmware and save it somewhere you have access to.
+# This firmware needs to be extracted later in /lib/firmware
+curl -sL tg.st/u/fwx.sh | sh
+
# Make space the last number is the size that MacOS instatllation should consume
diskutil apfs resizeContainer disk0s2 200GB
# Relax the boot policy for the stub os and uplaod install m1n1
/Volumes/Linux/step2.sh
+# Build dependencies
+sudo apt install -y gcc-aarch64-linux-gnu libc6-dev-arm64-cross device-tree-compiler imagemagick build-essential bc kmod flex cpio libncurses5-dev libelf-dev:native bison libssl-dev
+
# Compile the kernel
git clone --depth 1 https://github.com/AsahiLinux/linux
cd linux