#
✕ nick:marcan
#asahi · 2022-07-20 17:42
marcanyeah
#asahi · 2022-07-20 17:39
marcanprobably not production ready but good enough for m1n1 demos
#asahi · 2022-07-20 17:39
marcanheh
#asahi · 2022-07-20 17:36
marcanbecause we really, REALLY don't want to break xART for users
#asahi · 2022-07-20 17:36
marcanwhich would give us a way to use SEP without having to do some serious validation of linux-apfs
#asahi · 2022-07-20 17:35
marcancould even be handled entirely in userspace in sepd
#asahi · 2022-07-20 17:35
marcanbut yeah, in principle, if this is just stored on disk blocks, you could just read the APFS structures, enumerate the disk blocks for the xART file, and then just write to those, and know it will never break due to APFS nonsense
#asahi · 2022-07-20 17:34
marcanoh, is that a partition property?
#asahi · 2022-07-20 17:34
marcanbut I'm not sure
#asahi · 2022-07-20 17:34
marcanI think I saw some "direct mapped" type story in the logs
#asahi · 2022-07-20 17:34
marcanI've wondered if they really do all that CoW stuff even for xART
#asahi · 2022-07-20 17:33
marcandoes the write path go through the regular write path though?
#asahi · 2022-07-20 17:27
marcanexposing proprietary CPU features to VM guests is not very well regarded
#asahi · 2022-07-20 17:27
marcanManouchehri: no, that will likely never be supported
#asahi · 2022-07-20 17:27
marcanI had to correct him on that one
#asahi · 2022-07-20 17:27
marcanhe thought XNU logs were iBoot2 in his boot chain articles
#asahi · 2022-07-20 17:26
marcanlol
#asahi · 2022-07-20 17:26
marcan(sometimes he gets it okay)
#asahi · 2022-07-20 17:25
marcansometimes he gets it very, very wrong
#asahi · 2022-07-20 17:25
marcanthe guy doesn't actually know what he's talking about, he just reads Apple's docs/logs and interprets them
#asahi · 2022-07-20 17:25
marcanyeah, that website is very, uh, hit and miss
#asahi · 2022-07-20 17:25
marcan*way of
#asahi · 2022-07-20 17:25
marcanso it's a way to adding secure storage while maintaining the anti-replay property
#asahi · 2022-07-20 17:24
marcanxART is extended storage stored in NVMe, which is kept replay attack protected by signing it with nonces maintained via that EEPROM
#asahi · 2022-07-20 17:24
marcanthe SEP already has replay attack protected storage (a secure EEPROM)
#asahi · 2022-07-20 17:24
marcanthat article... misses the point
#asahi · 2022-07-20 17:21
marcanpretty sure Apple does something like that in their in-kernel SEP xART path
#asahi · 2022-07-20 17:20
marcanand for SEP, we're going to need a *very* simple write subset (just in-place writes to a fixed size file) and I'm interested in whether that can be done as a sort of simplified path to avoid bugs
#asahi · 2022-07-20 17:20
marcanI'm interested in whether that can do safe read-only, yes.
#asahi · 2022-07-20 17:16
marcanI noticed blkid shows APFS container UUIDs now, so it knows *some* APFS at least, but you need more than that (you need volume group IDs)
#asahi · 2022-07-20 17:15
marcanso you're going to need some APFS tooling to make it work
#asahi · 2022-07-20 17:15
marcanDcow[m]: you need to know the APFS GUIDs to figure out what is bootable, and a "proper" path involves mounting filesystems to see if they are real OSes
#asahi · 2022-07-20 17:08
marcanDcow[m]: I forget the name though, but it should be pretty obvious
#asahi · 2022-07-20 17:07
marcanDcow[m]: yes, there is
#asahi · 2022-07-20 16:59
marcanthere's a twist though, apple added binary value support with some kind of escaping (since the format assumes newline delimiters or something IIRC)
#asahi · 2022-07-20 16:59
marcanstraight off of that spec
#asahi · 2022-07-20 16:58
marcanyes, the powerpc stuff
#asahi · 2022-07-20 16:58
marcanthe nvram format is CHRP
#asahi · 2022-07-18 12:43
marcanit's a u-boot bug but harmless
#asahi · 2022-07-18 12:43
marcanyeah, the UEFI thing has been there all along
#asahi · 2022-07-18 12:43
marcan(you should never use hardcoded device names on modern devices)
#asahi · 2022-07-18 12:43
marcanmaybe you had some hardcoded device names and probe order changed
#asahi · 2022-07-18 12:42
marcanyeah, that sounds like you have some weird mount snafu going on
#asahi · 2022-07-18 12:41
marcanthat sounds like some weird mount issue? lxc is involved?
#asahi · 2022-07-18 12:40
marcannikwest[m]: that warning is harmless and has been there for a while
#asahi · 2022-07-18 10:33
marcanclamshell mode isn't really a thing, that's just about external monitors working in general
#asahi · 2022-07-18 10:33
marcanWIP, I'm going to be looking into sleep after this
#asahi · 2022-07-18 09:24
marcanhttps://asahilinux.org/2022/07/july-2022-release/
#asahi · 2022-07-17 20:02
marcanclover[m]: GRUB2 is more common across distros and we want to be a useful reference for other distros too
#asahi · 2022-07-17 16:01
marcanwookey[m]: you know the KDE Arch image we ship has all the HiDPI stuff worked out out of the box right? ;)

plus ›