#asahi-dev · 2025-08-22 21:29
chadmedhttps://github.com/AsahiLinux/m1n1/commit/dd5567eb45855bb65865d6d264187f7948771130#diff-10b3693daf2e532f00259a314ab9e958671edb89292a1acabeaf1765d85d15d2L67#asahi-dev · 2025-08-22 21:29
chadmedoh you know what#asahi-dev · 2025-08-22 21:28
chadmedoh right its the last one#asahi-dev · 2025-08-22 21:27
chaos_princessbut it confuses rust#asahi-dev · 2025-08-22 21:27
chaos_princesswhen it roundtrips via c, root node is gone#asahi-dev · 2025-08-22 21:27
chaos_princessi was getting a trace for, say /arm-io/sgx and getting [arm-io, sgx, root node].#asahi-dev · 2025-08-22 21:27
chaos_princessnot the issue#asahi-dev · 2025-08-22 21:26
chadmedthere was a line somewhere (i think in get reg) that checked if the first offset was 0 and returned early#asahi-dev · 2025-08-22 21:24
chadmedohhh right just left over detritus from when it was all based on offsets #asahi-dev · 2025-08-22 21:23
chaos_princessanyway, this shows the problem better https://github.com/AsahiLinux/m1n1/pull/466/commits/5293d695e47ea982bc6305356f50b3213982ceb4#asahi-dev · 2025-08-22 21:23
chadmedyeah it just took me to the makefile diff#asahi-dev · 2025-08-22 21:23
chadmedoh #asahi-dev · 2025-08-22 21:22
chaos_princessuhh, github probably did not show you the line i was targeting#asahi-dev · 2025-08-22 21:22
chadmedchaos_princess: https://github.com/AsahiLinux/m1n1/pull/457#discussion_r2019832495#asahi-dev · 2025-08-22 17:29
chaos_princesschadmed: whats that one for? https://github.com/AsahiLinux/m1n1/pull/457/files#diff-b65b878d2d232f55f879e8df225ac6e71bffc0e2ac8fd0b09daf0b902d398b63R304#asahi-dev · 2025-08-22 15:54
flokli<3#asahi-dev · 2025-08-22 14:41
svenjust started prototyping with glue.h and this already looks much nicer so far#asahi-dev · 2025-08-22 09:26
svenand when I originally reverse engineered sprr that just wasn’t enabled in el1 vms under macOS unless you had a special apple entitlement #asahi-dev · 2025-08-22 09:25
svenuh, gl1 require sprr in el1 to be enabled and that would really mess any Linux vm up#asahi-dev · 2025-08-22 08:33
nickchannow of course macOS handle this case gracefully to the point where if the vmm don't have a certain entitlement it wouldn't continue running that vm#asahi-dev · 2025-08-22 08:32
nickchanone can go from EL1 -> GL1 in a Linux VM under macOS#asahi-dev · 2025-08-22 08:31
sventalking about el1 here#asahi-dev · 2025-08-22 08:30
nickchan(in EL2)#asahi-dev · 2025-08-22 08:30
nickchanthe vmsa lock register will not allow GXF and SPRR to be disabled#asahi-dev · 2025-08-22 08:30
svenso maybe if can drop to el1 and disable SPRR/GXF there then and map all of physical memory #asahi-dev · 2025-08-22 08:29
svenah okay #asahi-dev · 2025-08-22 08:29
nickchanoh that's a basic assumption, required for jailbreak on 15.2+#asahi-dev · 2025-08-22 08:29
svenunless you have a gxf bypass that allows pagetable manipulation ofc#asahi-dev · 2025-08-22 08:29
svencause then stuff like iommus are protected by gl2 and you can map that mmio region #asahi-dev · 2025-08-22 08:28
nickchansven: they do have gxf#asahi-dev · 2025-08-22 08:28
svendoes that thing already have gxf?#asahi-dev · 2025-08-22 08:28
nickchanEL2 is CTRR protected but it might just be possible to put Linux on EL1 after manipulating HCR_EL2 and pagetables in just the right way#asahi-dev · 2025-08-22 08:27
nickchani don't actually know if it's possible to run linux on those iphone/ipads with EL2 with only the exploits out there tbh#asahi-dev · 2025-08-22 08:23
chadmedbut yeah ik thats the "real" answer#asahi-dev · 2025-08-22 08:23
chadmedi can already get generic.netflix.slop.2025.q3.2160p.10-bit.x265.webrip.amzn.mkv #asahi-dev · 2025-08-22 08:22
sven„just“ do it like Apple: disable all drm keys if booting unsigned code #asahi-dev · 2025-08-22 08:22
chaos_princessif you allow people to unlock bootloaders, they will screengrab a 4k version of generic-netflix-slop-2025-q3#asahi-dev · 2025-08-22 08:20
chadmedand the like 10 of us who do are not going to take your revenue if you let us do stuff to it#asahi-dev · 2025-08-22 08:20
chadmedslightly ot but sometimes i wonder why mobile device manufacturers bother hard-locking bootloaders to the degree that they do. the vast vast vast majority of people arent going to know or care what the bootloader is and how to put linux on these things anyway #asahi-dev · 2025-08-22 08:18
nickchanit has jailbreak in case anyone wants to check stuff#asahi-dev · 2025-08-22 08:17
nickchanalso ive checked on my m2 ipad pro i don't think it advertises thunderbolt/usb4#asahi-dev · 2025-08-22 08:13
nickchanI mean besides iPads#asahi-dev · 2025-08-22 08:12
nickchanin any case there's no need to worry about cd321x without tbt stuff besides iPhones and iPads there's only adp3,2 and that doesn't count#asahi-dev · 2025-08-22 08:12
nickchandwc3 is added in A13/A12X/A12Z#asahi-dev · 2025-08-22 08:11
nickchandwc2's in A-series up to A16 and for the bigger ipad chips up to A12X/A12Z#asahi-dev · 2025-08-22 08:10
nickchanchadmed: base iphone 15 has dwc2 and dwc3 but still can only do usb 2.0#asahi-dev · 2025-08-22 08:00
sven*move#asahi-dev · 2025-08-22 08:00
svenbut I think I can even more the role switch mess into dwc3-apple.c with that #asahi-dev · 2025-08-22 07:59
svenalso confused why the dt checks are failing, I remember running them before submitting and I didn’t get the errors :(#asahi-dev · 2025-08-22 07:59
svenyeah, but that looks like it’ll make everything much cleaner