#
✕ nick:Glanzmann
#asahi · 2022-02-27 18:29
Glanzmannpitust[m]: Can you send me the output of 'diskutil list show'?
#asahi · 2022-02-27 18:15
GlanzmannIf you don't have a serial cable m1n1 will be real hassle. I once also thought that it is bearable. But than you end up a few different kernels and a day and than it becomes a hassle.
#asahi · 2022-02-27 18:15
Glanzmannpitust[m]: Maybe, just install u-boot and use the debian live system?
#asahi · 2022-02-27 18:14
Glanzmannpitust[m]: Yes, it is.
#asahi · 2022-02-27 16:41
Glanzmannmarcan: Or it is just the simpledrm compiled as module as in my case ... you remember.
#asahi · 2022-02-27 16:02
GlanzmannIs the correct order. See the boostrap.sh script I pasted you earlier.
#asahi · 2022-02-27 16:02
Glanzmannm1n1 <dtbs> u-boot
#asahi · 2022-02-27 16:02
GlanzmannYes, it is.
#asahi · 2022-02-27 13:44
GlanzmannOf course you also need a kernel.
#asahi · 2022-02-27 13:43
Glanzmannpitust[m]: If you want a real quickstart with alarm: Install U-boot https://github.com/AsahiLinux/docs/wiki/U-Boot , extract debian live on a usb stick, https://github.com/AsahiLinux/docs/wiki/Debian , than from Debian do the partitioning for the esp and the root filesystem, extract the alarm root filesystem, chroot into it and make it bootable.
#asahi · 2022-02-27 13:41
Glanzmannpitust[m]: Also marcan is working on an alarm installer, so maybe you just wait a few more days and than it works out of the box.
#asahi · 2022-02-27 13:41
Glanzmannpitust[m]: But you can also compile a kernel that supports acls and use bsdtar to extract it.
#asahi · 2022-02-27 13:40
Glanzmannpitust[m]: Debian works without acls.
#asahi · 2022-02-27 13:32
Glanzmannpitust[m]: Nope, just a usb cable and a second machine.
#asahi · 2022-02-27 13:31
GlanzmannOr if oyu want to stick with m1n1: tg.st/u/asahi.txt
#asahi · 2022-02-27 13:31
Glanzmannpitust[m]: Here is a build script which builds other things that you might need, like m1n1, u-boot, ... https://git.zerfleddert.de/cgi-bin/gitweb.cgi/m1-debian/blob_plain/refs/heads/master:/bootstrap.sh
#asahi · 2022-02-27 13:30
GlanzmannThis generates a /tmp/linux-firmware.tar using the asahi installer that jey mentioned. That tar file needs to be extracted in /lib/firmware
#asahi · 2022-02-27 13:29
Glanzmannpitust[m]: Or this one stop solution curl -sL tg.st/u/fwx.sh | sh
#asahi · 2022-02-27 08:02
GlanzmannI see, perfect.
#asahi · 2022-02-27 08:01
GlanzmannSo that users don't end up with incompatible m1n1/dtbs/u-boot and kernel?
#asahi · 2022-02-27 08:00
Glanzmannmarcan: Have you already thought about how the update process looks like if there are device tree changes?
#asahi · 2022-02-27 07:58
GlanzmannI see, got it.
#asahi · 2022-02-27 07:58
GlanzmannWill you fix the userland so that chrome etc works?
#asahi · 2022-02-27 07:57
Glanzmannmarcan: Will you shipe a 4k or 16k pagesize kernel in the alarm/asahi installer?
#asahi · 2022-02-27 07:08
GlanzmannVinDuv: Do you have an example?
#asahi · 2022-02-26 17:49
GlanzmannI see.
#asahi · 2022-02-26 17:18
GlanzmannI see.
#asahi · 2022-02-26 17:02
Glanzmann2 o'clock in the morning in tokyo, have a good night sleep.
#asahi · 2022-02-26 17:01
Glanzmannmarcan: Will you ship for alarm a kernel with 4kb page size or 16kb? Will you provide a repository for custom build packages like the kernel? How will the update process look like if device tree need to be updated?
#asahi · 2022-02-26 15:24
Glanzmannjust noticed that debian grub seems to have to different modes when installing. One is patching the grub binary with the partition, the other one is using the grub.cfg. I have not yet found out when Debian uses one method or the other one.
#asahi · 2022-02-26 15:06
GlanzmannThat starts systemd in the initrd.
#asahi · 2022-02-26 15:06
GlanzmannThe live system is just the same image that I dd in a initrd with one addition: sudo -- ln -s lib/systemd/systemd init
#asahi · 2022-02-26 15:05
GlanzmannSo the d-i initrd and the initrd for the live system are totally different.
#asahi · 2022-02-26 15:05
Glanzmannkov: Oh, good to know. :-)
#asahi · 2022-02-26 15:04
GlanzmannYep, but you have all the tools and when some are missing, you can just install them.
#asahi · 2022-02-26 15:03
Glanzmannkov: Debian live system to your rescue. :-)
#asahi · 2022-02-26 15:03
Glanzmannkov: I see.
#asahi · 2022-02-26 15:02
Glanzmanninitrd is automatically done by debian unless you want to be able unlock it via ssh.
#asahi · 2022-02-26 15:01
GlanzmannOn the m1, no need for a software raid.
#asahi · 2022-02-26 15:01
GlanzmannNormally I do that after partitioning and software raid but before lvm.
#asahi · 2022-02-26 14:59
Glanzmannkov: https://pbot.rmdir.de/PT64pOqDLlzPsXRwvDMgAw
#asahi · 2022-02-26 14:58
Glanzmannmarcan: Disabling metadata_csum works, I just tested it, but I'm not happy with it, so maybe I find a way to do it the right way.
#asahi · 2022-02-26 14:52
Glanzmannkov: I meant enable luks on a manual installation in Debian.
#asahi · 2022-02-26 14:48
Glanzmannkov: I don't know about other distributions, but on Debian it would be two commands and the rest the Debian infrastructure takes care of.
#asahi · 2022-02-26 14:41
GlanzmannWell then ... :-)
#asahi · 2022-02-26 14:41
GlanzmannOn the m1?
#asahi · 2022-02-26 14:40
Glanzmannkov: I already had a quick look at it, it might be as simple as dding an image and installing grub.
#asahi · 2022-02-26 14:39
Glanzmannkov: Do it, if you want. I thought about doing it in order to onboard Linus.
#asahi · 2022-02-26 14:14
Glanzmannmarcan: I'll invite him.
#asahi · 2022-02-26 14:14
Glanzmannmarcan: Sure, maybe the guy was already here once.

plus ›