X-Git-Url: https://git.zerfleddert.de/cgi-bin/gitweb.cgi/m1-debian/blobdiff_plain/d4e6bc07de77806a1a992d384653143b57482898..9a969f426040de3288b6ddffe0e3239ed3a37e41:/README?ds=inline diff --git a/README b/README index b1a4cf4..49d93f2 100644 --- a/README +++ b/README @@ -1,27 +1,47 @@ -firmware-linux-nonfree +This repository contains scripts to bootstrap Debian Linux on m1 -sudo debootstrap --arch=arm64 testing testing http://ftp.fau.de/debian +fwx.sh +====== +fwx.sh extracts the wifi firmware and copies it to /tmp/linux-firmware.tar -root@air:/# cat /etc/apt/sources.list -deb http://deb.debian.org/debian testing main contrib non-free -deb-src http://deb.debian.org/debian testing main contrib non-free +bootstrap.sh +============ +bootstrap.sh is tested to run on arm64 and amd64 Debian stable and testing. It +creates several artefacts: -Add the following packages: + - Live System - ntpdate firmware vim tcpdump vlan bridge-utils tmux parted kernel + asahi-debian-live.tar can be extracted on the root of a msdos + (vfat32) usb stick and than be booted using U Boot. -Add the following boot options: + - Debian Installer - net.ifnames=0 + m1-d-i.tar can be extracted on the root of a msdos (vfat32) usb + stick and can be booted using U Boot. -Fix the root password + In the initrd is a /etc/rc.local which searched for the wifi + firmware on any vfat, extracts it and reloads the wifi kernel + modules. -Automate the build of u-boot, m1n1, kernel, debootstrap, grub + - Diskimage for Asahi Installer -Write a README with the installation steps + efi.tgz can be extracted on the root of the esp partition -ln -s lib/systemd/systemd init + m1.tgz contains a single file which can be dded on a at least 1 + GB big partition. -find . | cpio --quiet -H newc -o | pigz > /boot/initrd.gz + 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. -> etc/motd + - 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