Commit | Line | Data |
---|---|---|
b3738efc TG |
1 | This repository contains scripts to bootstrap Debian Linux on m1 |
2 | ||
3 | fwx.sh | |
4 | ====== | |
5 | fwx.sh extracts the wifi firmware and copies it to /tmp/linux-firmware.tar | |
6 | ||
7 | bootstrap.sh | |
8 | ============ | |
9 | bootstrap.sh is tested to run on arm64 and amd64 Debian stable and testing. It | |
10 | creates several artefacts: | |
11 | ||
12 | - Live System | |
13 | ||
14 | asahi-debian-live.tar can be extracted on the root of a msdos | |
15 | (vfat32) usb stick and than be booted using U Boot. | |
16 | ||
17 | - Debian Installer | |
18 | ||
19 | m1-d-i.tar can be extracted on the root of a msdos (vfat32) usb | |
20 | stick and can be booted using U Boot. | |
21 | ||
9dad50a1 TG |
22 | In the initrd is a /etc/rc.local which searched for the wifi |
23 | firmware on any vfat, extracts it and reloads the wifi kernel | |
24 | modules. | |
25 | ||
b3738efc TG |
26 | - Diskimage for Asahi Installer |
27 | ||
28 | efi.tgz can be extracted on the root of the esp partition | |
29 | ||
30 | m1.tgz contains a single file which can be dded on a at least 1 | |
31 | GB big partition. | |
32 | ||
33 | In the disk image is a /etc/rc.local that will extract | |
34 | the wifi firmware, generate a /etc/fstab, install grub | |
35 | using Debian methods, mount /boot/efi, assigns a new | |
36 | UUID to the root filesystem. | |
37 | ||
38 | - U-boot | |
39 | ||
40 | u-boot.bin is m1n1 with dtb for all models and U Boot | |
41 | u-boot.macho is m1n1 with dtb for all models and U Boot | |
42 | ||
43 | - vmlinuz | |
44 | k.deb | |
45 | m1n1/build/m1n1.bin | |
46 | m1n1/build/m1n1.macho | |
47 | grubaa64.efi |