#
✕ nick:ElvishJerricco[m]
#asahi · 2022-10-13 08:19
ElvishJerricco[m]is there risk of bans like that preventing some non-trolls from ever joining without moderators realizing it?
#asahi · 2022-08-14 09:32
ElvishJerricco[m]security that the enclave tries to provide you have to secure the boot chain from u-boot forward.
#asahi · 2022-08-14 09:32
ElvishJerricco[m]Cy8aer: I guess I kind of oversimplified FWIW. IIUC, the secure enclave does encrypt your storage, and once you get an OS running on the system that encryption is transparent so you can access it freely. But I shouldn't underplay that it does a really good job at securing which OS is allowed to run. But of course asahi gets it set up to boot u-boot and then u-boot can just boot anything it wants, like a usb drive. So to maintain the
#asahi · 2022-08-14 09:05
ElvishJerricco[m]oh, but yea, enabling filevault on the macOS installation shouldn't affect linux
#asahi · 2022-08-14 09:04
ElvishJerricco[m]Cy8aer: The only thing that the on-board automatic encryption does is protect you from someone desoldering your flash modules and putting them onto something else (though I guess with the Studio it's not even a desoldering job). Having full disk encryption at the OS level means that if an attacker manages to boot other software on your machine, they can't access any data.
#asahi · 2022-07-30 19:32
ElvishJerricco[m]tpw_rules: I've only really done `m1n1` stuff so far, which probably doesn't go in `nixos-hardware`
#asahi · 2022-07-22 04:41
ElvishJerricco[m]Yea I don't really see anything in the poster's tweets that indicates they have any reason to believe it'll be better than marcan says.
#asahi · 2022-07-21 15:44
ElvishJerricco[m]_jannau_: Ok. Is there actually any risk though? Like could linux actually further damage the hardware in a way macOS wouldn't if I'm not careful?
#asahi · 2022-07-21 15:35
ElvishJerricco[m]as I said, if I accidentally plug something in to the right hand side ports, then I literally can't charge the machine until I fully shutdown and start back up
#asahi · 2022-07-21 15:34
ElvishJerricco[m]I mean
#asahi · 2022-07-21 15:33
ElvishJerricco[m]Manouchehri: ?
#asahi · 2022-07-21 07:36
ElvishJerricco[m]Didn't know if macOS does some stuff with software to protect the hardware that linux doesn't know how to do
#asahi · 2022-07-21 07:36
ElvishJerricco[m]HDMI works at a low frame rate for a few seconds before cutting out, and I can't use the thunderbolt port at all. Either failed use case results in the left-hand-side ports becoming disabled as well, until I do a hard shutdown.
#asahi · 2022-07-21 07:35
ElvishJerricco[m]Are there any risks with using asahi on currently damaged hardware? I don't think I'll be able to take my 14" M1 Pro in for repairs anytime soon, but it's suffered some water damage on the right-hand-side ports.
#asahi · 2022-07-19 10:19
ElvishJerricco[m]_jannau_: What/where is asahi-fwextract?
#asahi · 2022-07-19 10:15
ElvishJerricco[m]ehh nixos is a bit weird. We don't really have the ability to look at things on the ESP at build time because everything is super sandboxed.
#asahi · 2022-07-19 10:12
ElvishJerricco[m]tpw_rules was talking about having the package manager on NixOS download the ipsw and get the firmware from there at build time, but I think just trusting the ESP is probably better, since presumably that *directly* corresponds to whatever stub version is installed
#asahi · 2022-07-19 10:10
ElvishJerricco[m]Yea I mean that's essentially what my plan was before the weird DT idea came up. I'm just going to have initramfs extract the stuff from the archive found on the ESP
#asahi · 2022-07-19 10:06
ElvishJerricco[m]well that probably kills the idea right there :P
#asahi · 2022-07-19 10:06
ElvishJerricco[m]oh
#asahi · 2022-07-19 10:06
ElvishJerricco[m]Yep
#asahi · 2022-07-19 10:01
ElvishJerricco[m]samueldr over in the #nixos-on-arm:nixos.org matrix room had another idea though. He suggested that the firmware could be included in m1n1 stage 1 and passed forward in the device tree. Sort of an unconventional use of the DT but it would mean we don't need this weird magic archive and a way to load it at the right time.
#asahi · 2022-07-19 09:58
ElvishJerricco[m]tpw_rules: I've been trying to figure out what I'm going to do about firmware whenever I get to that with NixOS. I *think* what I'm going to do is write some code to run in initrd that copies the firmware archive that the installer prepares out of the ESP and into a directory in `/run`, then change the NixOS code that handles the `hardware.firmware` option so that it looks there instead.
#asahi · 2022-07-14 04:48
ElvishJerricco[m]Tried messing with oftc matrix bridge stuff... never again
#asahi · 2022-07-12 00:42
ElvishJerricco[m]duderuud: The firmware update that came with Ventura exposed some bugs in asahi so it broke. There are fixes but I don't remember how to get them
#asahi · 2022-07-07 21:11
ElvishJerricco[m]janrinze: Hm yea it also says to use DTBs shipped with u-boot, not the kernel. Dunno if those are identical or not
#asahi · 2022-07-07 21:03
ElvishJerricco[m]janrinze: And you're configuring/building for stage 2 m1n1, not stage 1, right?
#asahi · 2022-07-07 20:27
ElvishJerricco[m]Though I guess u-boot would have to do something else to figure out what fixups were made by m1n1 so that it could offer this protocol to the boot loader, so maybe it's just kicking the can
#asahi · 2022-07-07 20:25
ElvishJerricco[m]I don't think that proposal is like... official at all, but it does solve the problem I think, and seems like a good idea in general even outside asahi/m1n1
#asahi · 2022-07-07 20:25
ElvishJerricco[m]I get the feeling we could potentially load the dtb in later stages if we supported the efi fixup protocol https://github.com/U-Boot-EFI/EFI_DT_FIXUP_PROTOCOL
#asahi · 2022-07-07 17:29
ElvishJerricco[m]yea I know
#asahi · 2022-07-07 17:27
ElvishJerricco[m]oh really? TIL. That could be useful on some other platforms.
#asahi · 2022-07-07 17:26
ElvishJerricco[m]shouldn't be a big deal as long as the asahi kernel remains backward compatible with older DTBs; though I understand that's only assured for patches that make it to mainline
#asahi · 2022-07-07 17:25
ElvishJerricco[m]good to know; means I can't have per-kernel DTBs with NixOS :(
#asahi · 2022-07-07 17:24
ElvishJerricco[m]on the FDT that is?
#asahi · 2022-07-07 17:24
ElvishJerricco[m]Ah so m1n1 does some essential fixups?
#asahi · 2022-07-07 17:23
ElvishJerricco[m]The kernel will use whatever DTB is provided by the previous stage. It doesn't load its own, I'm pretty sure. But u-boot can be configured to load a DTB from disk and provide that to the kernel. Dunno if the asahi installer sets it up that way or if it just passes the one it gets from m1n1 onward
#asahi · 2022-07-07 17:21
ElvishJerricco[m]janrinze: You're not using any initramfs at all?
#asahi · 2022-07-05 16:02
ElvishJerricco[m]<tpw_rules> "the asahi kernel will definitely..." <- What makes you say that?
#asahi · 2022-07-02 03:00
ElvishJerricco[m]6xd9ebh92th2tpsm41nt: Nothing special for asahi. Disk encryption on any reasonable linux distro won't mess with the partition table at all.
#asahi · 2022-06-30 22:01
ElvishJerricco[m]What has to be done to flip it on?
#asahi · 2022-06-30 21:34
ElvishJerricco[m]Wait what does it have to do with kvm? Or was that just an example?
#asahi · 2022-06-30 21:30
ElvishJerricco[m]Forgive my ignorance; why does that matter?
#asahi · 2022-06-30 21:29
ElvishJerricco[m]The rosetta binary might, but that's not linux's concern
#asahi · 2022-06-30 21:29
ElvishJerricco[m]Why's that? It's not like enabling TSO on the hardware has any licensing constraints
#asahi · 2022-06-30 21:24
ElvishJerricco[m]What are the odds that we'll eventually be able to enable TSO for a particular process on asahi? Now that Apple has released a rosetta for linux thing, it'd be cool to run that on asahi and enable TSO only for that process (using it the way you're supposed to with hypervisor.framework puts the whole VM into TSO mode)
#asahi · 2022-06-25 07:01
ElvishJerricco[m]understood :)
#asahi · 2022-06-25 07:01
ElvishJerricco[m]right
#asahi · 2022-06-25 07:01
ElvishJerricco[m]yea, meaning we can't pick and choose those via the stub, right?
#asahi · 2022-06-25 07:00
ElvishJerricco[m]interesting... Thanks for the info!

plus ›