From: Thomas Glanzmann Date: Sat, 26 Feb 2022 12:45:00 +0000 (+0100) Subject: Merge branch 'master' of a.gmvl.de:/git/m1-debian X-Git-Url: https://git.zerfleddert.de/cgi-bin/gitweb.cgi/m1-debian/commitdiff_plain/f1d34e6c6cc28c4e2e268b24e546c28a40c5f5d8?hp=076a268284d55cfd1735fc718903f064a986f110 Merge branch 'master' of a.gmvl.de:/git/m1-debian --- diff --git a/README b/README new file mode 100644 index 0000000..d65a618 --- /dev/null +++ b/README @@ -0,0 +1,43 @@ +This repository contains scripts to bootstrap Debian Linux on m1 + +fwx.sh +====== +fwx.sh extracts the wifi firmware and copies it to /tmp/linux-firmware.tar + +bootstrap.sh +============ +bootstrap.sh is tested to run on arm64 and amd64 Debian stable and testing. It +creates several artefacts: + + - Live System + + asahi-debian-live.tar can be extracted on the root of a msdos + (vfat32) usb stick and than be booted using U Boot. + + - Debian Installer + + m1-d-i.tar can be extracted on the root of a msdos (vfat32) usb + stick and can be booted using U Boot. + + - Diskimage for Asahi Installer + + efi.tgz can be extracted on the root of the esp partition + + m1.tgz contains a single file which can be dded on a at least 1 + GB big partition. + + In the disk image is a /etc/rc.local that will extract + the wifi firmware, generate a /etc/fstab, install grub + using Debian methods, mount /boot/efi, assigns a new + UUID to the root filesystem. + + - U-boot + + u-boot.bin is m1n1 with dtb for all models and U Boot + u-boot.macho is m1n1 with dtb for all models and U Boot + + - vmlinuz + k.deb + m1n1/build/m1n1.bin + m1n1/build/m1n1.macho + grubaa64.efi