!DBFhtjpqmJNENpLDOv:nixos.org

NixOS systemd

600 Members
NixOS ❤️ systemd165 Servers

Load older messages


SenderMessageTime
3 Oct 2024
@emilazy:matrix.orgemily(I'm referring to the T2 chip itself but maybe you mean "T2 Macs" as a whole?)22:41:59
@raitobezarius:matrix.orgraitobezariusYes22:41:59
@raitobezarius:matrix.orgraitobezariusThe UEFI firmware _is in_ the T2 chip22:42:16
@emilazy:matrix.orgemilyright22:42:16
@raitobezarius:matrix.orgraitobezariusI agree that the BootROM and all that stuff is not UEFI 22:42:54
@emilazy:matrix.orgemily
In reply to @raitobezarius:matrix.org
The UEFI firmware _is in_ the T2 chip
(you mean, it stores the x86 UEFI blob itself rather than just pinning a hash/key for it? I wouldn't know since I don't know much about the Intel boot stuff)
22:43:11
@raitobezarius:matrix.orgraitobezarius
In reply to @emilazy:matrix.org
but yeah I was talking about the Apple Silicon boot security model
Yeah then I have no idea what's going on over there, so I believe you
22:43:31
@raitobezarius:matrix.orgraitobezarius
In reply to @emilazy:matrix.org
(you mean, it stores the x86 UEFI blob itself rather than just pinning a hash/key for it? I wouldn't know since I don't know much about the Intel boot stuff)
Yep
22:43:38
@raitobezarius:matrix.orgraitobezariusIt makes it available to the Intel CPU via eSPI22:43:47
@emilazy:matrix.orgemilyI think for Apple Silicon they just threw out basically everything about the boot chain and replaced it with something modelled on iOS boot but with a great deal of extension to support third-party OSes22:43:53
@emilazy:matrix.orgemilyI expect the way the T2 chip itself boots up is more similar to the way an M1 boots up if anything22:44:09
@emilazy:matrix.orgemilyfwiw there is a lot of good and interesting documentation on how Apple Silicon boot security works out there (both first-party and from Asahi)22:45:33
@elvishjerricco:matrix.orgElvishJerriccoI read through most of apple's first party security documents like 5 years ago. At least back then they were very approachable and clear about how it all worked. It's good stuff22:46:22
@elvishjerricco:matrix.orgElvishJerriccooooh there's more of them now: https://support.apple.com/guide/security/welcome/1/web22:48:42
@raitobezarius:matrix.orgraitobezariusWhen I read that iBoot supports APFS only, it feels like my jokes about having UFS for ESP taken seriously but shipped in production22:48:55
@elvishjerricco:matrix.orgElvishJerriccothey did that for the intel macs too sorta. They made an EFI driver for APFS22:49:40
@raitobezarius:matrix.orgraitobezariusThe grub of apple but good22:50:28
@elvishjerricco:matrix.orgElvishJerricco hey man I've booted btrfs with EFI :P https://github.com/pbatard/efifs 22:50:54
@raitobezarius:matrix.orgraitobezariusFunnily their whole recovery mode is exactly what I want to see implemented for NixOS via the UEFI recovery mechanism22:51:01
@raitobezarius:matrix.orgraitobezarius
In reply to @elvishjerricco:matrix.org
hey man I've booted btrfs with EFI :P https://github.com/pbatard/efifs
I know but I refuse to acknowledge this repository
22:51:14
@raitobezarius:matrix.orgraitobezariusDo you know that SUSE use that in prod?22:51:22
@elvishjerricco:matrix.orgElvishJerriccooh no22:51:30
@elvishjerricco:matrix.orgElvishJerriccoare you serious?22:51:33
@raitobezarius:matrix.orgraitobezariusTheir immutable distro takes btrfs snapshots for new generations22:51:40
@raitobezarius:matrix.orgraitobezariusAnd grub just shows the snapshots in the boot menu22:51:49
@raitobezarius:matrix.orgraitobezariusThen they do sd stub iirc22:51:54
@elvishjerricco:matrix.orgElvishJerriccowait so they do snapshots of the ESP?22:52:24
@elvishjerricco:matrix.orgElvishJerriccowait not that can't be; the ESP still has to be FAT.22:52:50
@emilazy:matrix.orgemily
In reply to @raitobezarius:matrix.org
When I read that iBoot supports APFS only, it feels like my jokes about having UFS for ESP taken seriously but shipped in production
I think it might be more APFS (volume manager) than APFS (file system) for the really low-level firmware stuff
22:53:01
@elvishjerricco:matrix.orgElvishJerriccoWhich part loads the driver and uses it for what?22:53:03

Show newer messages


Back to Room ListRoom Version: 6