X-Git-Url: http://git.zerfleddert.de/cgi-bin/gitweb.cgi/m1-debian/blobdiff_plain/5e01b9d15ecbddd4ca18e3ca41dadc034f93cead..e754c48b5ff0936247c2e3e3e79b03844a0dd655:/doc/asahi.txt?ds=sidebyside diff --git a/doc/asahi.txt b/doc/asahi.txt index 1632351..b8dcede 100644 --- a/doc/asahi.txt +++ b/doc/asahi.txt @@ -1,5 +1,15 @@ +# 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 @@ -30,11 +40,14 @@ diskutil addPartition %Linux% %noformat% # dd a Debian Testing rootfs on it (minimum size 1 GB) # Find the scripts to create that rootfs here: https://git.zerfleddert.de/cgi-bin/gitweb.cgi/m1-debian -curl -L https://tg.st/u/m1.tgz | tar -xOz | dd of=/dev/ +curl -L https://tg.st/u/m1.tgz | tar -xOz | dd of=/dev/ bs=8m # 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