#asahi · 2022-02-03 12:29
svenyou'd have to remove almost all of the m1-specific stuff which doesn't leave much :D#asahi · 2022-02-03 12:27
sventhere's always 1TR#asahi · 2022-02-03 12:22
sven10 seconds for grub and u-boot sounds like a configuration issue to me#asahi · 2022-02-02 13:56
svenconfigure-boot will stash the m1n1.bin to wherever iboot loads it from#asahi · 2022-02-02 13:56
svenyou can just grab a m1n1.bin using curl from 1TR and downgrading security + using that configure-boot command#asahi · 2022-02-02 13:53
svenwhere explode usually means some truly weird kernel panic that might send you down a debugging rabbit hole (ask me how i know....)#asahi · 2022-02-02 12:22
svenSounds like a good idea!#asahi · 2022-02-02 11:43
svenah, heh, nvm then#asahi · 2022-02-02 11:43
sventhey'll happily replace those components if they fail though (at least they did with my server's disks)#asahi · 2022-02-02 11:42
svenfwiw, hetzner servers (especially the ones from their serverbörse) are known for using old and sometimes even partially broken hardware#asahi · 2022-02-02 11:01
svenapple calls that thing securerom fwiw#asahi · 2022-02-02 07:49
sveni think from a development perspective we'll never be done :D#asahi · 2022-02-02 07:41
sven*projects#asahi · 2022-02-02 07:41
svenestimates are hard enough already for software project where you don't need to reverse engineer everything ;)#asahi · 2022-02-02 07:39
svenit'll be done when it's done#asahi · 2022-02-01 09:15
sven:D#asahi · 2022-02-01 09:14
sveni think the blocker is "reverse engineer how the kernel/MMIO interface works" ;)#asahi · 2022-01-31 14:08
sveneventually, yes#asahi · 2022-01-31 14:06
svenit'll be loaded by iboot for us#asahi · 2022-01-31 14:06
svenno, u-boot is just installed together with m1n1#asahi · 2022-01-31 12:24
svenoh, it's worse. this requires at least some support for what apple calls ATC (the thunderbolt/usb4 phy/controller)#asahi · 2022-01-31 12:23
svenjust need to bring up thunderbolt for that :-P#asahi · 2022-01-31 11:19
svenVideo over usb c is going to be quite a mess because it closely ties in with thunderbolt and the usb3/4 phy#asahi · 2022-01-31 10:58
svenwe can also just recompile most day-to-day linux tools for arm64#asahi · 2022-01-31 10:57
sventhe chip speedup is mostly a bit to enable total store ordering afaik#asahi · 2022-01-31 10:53
svenno idea how it compares to qemu though, i've never used it myself#asahi · 2022-01-31 10:53
sventhere's also https://github.com/FEX-Emu/FEX#asahi · 2022-01-31 10:24
svenfwiw, I used to run a normal kernel (ubuntu I think?) for a while inside qemu + HVF as my build machine for linux kernels just fine#asahi · 2022-01-30 12:26
svenpff… slacker ;p#asahi · 2022-01-30 12:19
svenerm.. *slows actually #asahi · 2022-01-30 12:18
sven*to slow#asahi · 2022-01-30 12:18
svencould also be that the 4K iommu patch does something weird which slowly everything down, but that would also surprise me#asahi · 2022-01-30 11:36
svenwouldn’t surprise me if the cores are optimized for 16k and 4K was just added as a hack to allow 4K pages in userspace#asahi · 2022-01-28 11:55
sven"Hi, we're Apple. We want a PCIe BT module for all of our new macbooks please"#asahi · 2022-01-27 14:11
svenINFO: Toolchain path: /opt/homebrew/opt/llvm/bin/#asahi · 2022-01-27 14:11
svenINFO: Building on Darwin#asahi · 2022-01-27 14:11
svennope#asahi · 2022-01-27 14:11
svennot sure actually#asahi · 2022-01-27 14:08
sveni only build it on macos#asahi · 2022-01-27 13:31
sveni'm sure there is an exploitable bug in the stack but why bother when it already gives you read32/write32 via the proxy?#asahi · 2022-01-27 13:31
svenour usb support give you full read/write _by design_#asahi · 2022-01-27 13:29
svenbut yeah, i think the GPT/Fat32 stuff is the only attack surface we actually care about#asahi · 2022-01-27 13:29
svenonce we figured out however psci will look like ;)#asahi · 2022-01-27 13:25
svenonce this works it would be nice to hook it up with nvme and add gpt and fat32 support :>#asahi · 2022-01-27 13:23
svenno time to debug that now though, sorry#asahi · 2022-01-27 13:23
svencrashes with an unhandled exception#asahi · 2022-01-27 13:20
svendoesn't build here fwiw, cp: build/aarch64-unknown-none/release/librust.a: No such file or directory but the library is in aarch64-unknown-none-softfloat here#asahi · 2022-01-27 13:15
svennice!#asahi · 2022-01-26 22:13
svenfirst world problems - Corona edition ;-P#asahi · 2022-01-26 09:08
sventhe UUID that identifies the partition inside the APFS container + maybe also the GPT partition uuid to find the partition that contains that APFS container