#
#asahi-re · 2026-02-19 23:01
JamesCalligeros[m]Oh i remember having a toshiba tecra laptop that could do that
#asahi-re · 2026-02-19 22:36
fl0_idif that is your thing ;)
#asahi-re · 2026-02-19 22:36
fl0_idin spinning rust times, maybe it could have stopped the HDD. oh it would also be good at surveillance maybe
#asahi-re · 2026-02-19 22:35
fl0_idprobably.
#asahi-re · 2026-02-19 22:35
chaos_princessso, its a gimmick :P
#asahi-re · 2026-02-19 22:34
fl0_idno idea, their demo looks kinda cool and seems super sensitive. maybe you could drive tuxrace by moving your macbook...
#asahi-re · 2026-02-19 22:32
chaos_princesssince the aop driver exists already, and i can add the accelerometer subdevice to it if someone wants it
#asahi-re · 2026-02-19 22:31
chaos_princessis there a real reason to have it?
#asahi-re · 2026-02-19 22:30
fl0_idthis might be interesting to some if not already known https://github.com/olvvier/apple-silicon-accelerometer?ref=reddit
#asahi-re · 2026-02-19 20:20
nicolas17oh >.>
#asahi-re · 2026-02-19 20:20
amarioguynicolas17: no, more so just accounting for "my reversing of iboot a few weeks ago"
#asahi-re · 2026-02-19 20:07
nicolas17amarioguy: why not, employer?
#asahi-re · 2026-02-19 18:32
amarioguyunsure if i'm actually allowed to contribute the code, if not i'll list out what changes would need to be made
#asahi-re · 2026-02-19 18:32
amarioguyi'll look into resurrecting building m1n1 as mach-o
#asahi-re · 2026-02-19 17:28
nnymJust `__TEXT_EXEC` is fine too.
#asahi-re · 2026-02-19 11:18
nnymDoes anybody have a usable m1n1 Mach-O with `__TEXT_BOOT_EXEC`?
#asahi-re · 2026-02-19 10:26
nnymThanks.
#asahi-re · 2026-02-19 03:39
nickchanmode 2 should be shallow
#asahi-re · 2026-02-18 18:08
nnymIs WFI mode 2 deep WFI?
#asahi-re · 2026-02-18 17:38
sven*doesnt
#asahi-re · 2026-02-18 17:37
svenyeah, we suspect that sysreg just didn’t exist anymore due to some define or comment in the xnu source drop
#asahi-re · 2026-02-18 17:35
nnymAlthough there's a write that does not have a substitute so maybe I'm onto nothing.
#asahi-re · 2026-02-18 17:27
nnymThere seems to have been a lot of discussion about `CYC_OVRD` on M4 so I got curious. Based on `_arm64_prepare_for_sleep` in the kernel, s3_1_c15_c7_4 seems to be used instead. And according to my `MSR`-scanning script, it does not occur anywhere else.
#asahi-re · 2026-02-18 09:40
chadmedProgress report for 6.19 is up: https://asahilinux.org/2026/02/progress-report-6-19/
#asahi-re · 2026-02-17 18:10
yukasimilar
#asahi-re · 2026-02-17 16:04
nnymm1n1's exception handler does get called when I try to write to `GXF_CONFIG_EL1`.
#asahi-re · 2026-02-17 16:02
nnym"locked" like the GXF registers or differently?
#asahi-re · 2026-02-17 15:57
yukaand you would see output if you were on the physical uart
#asahi-re · 2026-02-17 15:44
yukannym if you are on m4, this is because the registers are locked
#asahi-re · 2026-02-17 15:02
fl0_idnnym not sure if it's the same, but I have sometimes seen similar behaviour when after a failed attempt the proxy restarts, but without rebooting. usually rebooting fixed it. in my case it was that, or the chicken bits were off
#asahi-re · 2026-02-17 15:00
nnymSome writes from the proxy cause m1n1 to apparently freeze: there is no response, nothing appears in the framebuffer (it does not appear to be an exception), and the proxy client can't reconnect. For example, this occurs when `chainload.py` sets some cores' RVBARs and when some system registers are written. How can I debug such cases?
#asahi-re · 2026-02-16 13:28
svenany writes to the gxf or sprr config reg faults on m4
#asahi-re · 2026-02-16 13:27
svenyeah, we know that we can’t enable gxf on m4 and we know how to enable it before that, see the m1n1 source code
#asahi-re · 2026-02-16 13:09
nnymManually?
#asahi-re · 2026-02-16 13:03
nnymHow was `apple_regs.json` generated?
#asahi-re · 2026-02-16 13:03
nnymThanks. I've been trying to find out how to enable GXF on M4 and posted some of my findings here to see whether they were useful; but then I remembered that all Apple extensions are disabled so a GXF register wouldn't be it.
#asahi-re · 2026-02-16 12:47
svenhttps://blog.svenpeter.dev/posts/m1_sprr_gxf/ That explains the gxf basics and I think also contains a link to a PPL writeup somewhere
#asahi-re · 2026-02-16 12:22
chaos_princesswhat are you looking for, maybe i can help?
#asahi-re · 2026-02-16 12:21
chaos_princess0x00201420 is genter, it jumps into GL{n}
#asahi-re · 2026-02-16 12:20
chaos_princesshttps://github.com/AsahiLinux/m1n1/blob/main/tools/apple_regs.json#L203
#asahi-re · 2026-02-16 12:18
nnym`sptm.t6041.release.im4p` has a function that looks almost identical. Also, both functions execute 0x00201420 after that. There are 3 registers: 2 apparently contain addresses (exception handlers?) and the other (s3_6_c15_c1_2; I hope that I spelled that correctly) stores `1`.
#asahi-re · 2026-02-16 08:28
svenand we virtualize that one on m1/2/3
#asahi-re · 2026-02-16 08:28
sventhe previous thing was called PPL
#asahi-re · 2026-02-16 07:01
chaos_princessm1 has gxf, but it uses a predecessor to sptm instead of the real thing.
#asahi-re · 2026-02-16 07:00
nnymActually, it's 25C56.
#asahi-re · 2026-02-16 06:57
nnymThis is the 25A353 kernel.
#asahi-re · 2026-02-16 06:55
nnymI don't know what to make of it.
#asahi-re · 2026-02-16 06:55
nnymI found a function `_gxf_enable` in `kernel.development.t6000` that sets some system registers.
#asahi-re · 2026-02-13 13:46
nnymI thought that relying on `ipsw` to extract all of iBoot from an IPSW surely wouldn't go wrong...
#asahi-re · 2026-02-13 11:49
nickchan"Firmware/all_flash/iBoot.*.RELEASE.im4p"

plus ›