#
#asahi-dev · 2026-06-14 02:16
StanfordAppliedCyber[m]and yep, debugusb doesn't work any any baud faster than 115200 doesn't work
#asahi-dev · 2026-06-14 02:13
StanfordAppliedCyber[m]but i can't test it because smp doesn't work and setting cpus=1 just doesn't work, pmgr panics, if you set cpus=1 then toss the adt nodes, same deal
#asahi-dev · 2026-06-14 02:13
StanfordAppliedCyber[m]that told me exactly what my error was, so my hypervisor should fully work and make it to a working userspace
#asahi-dev · 2026-06-14 02:12
StanfordAppliedCyber[m]but i had to install the real macos kernelcache so i could boot and get some logs for a failing process
#asahi-dev · 2026-06-14 02:12
StanfordAppliedCyber[m]like i absolutely would have stayed on 26.5
#asahi-dev · 2026-06-14 02:12
StanfordAppliedCyber[m]well the issue is that 26.5 also broke for me for reasons I don't understand
#asahi-dev · 2026-06-14 02:11
readyee[m]Try revive if something changed in the firmware going back to the older version might fix the issue
#asahi-dev · 2026-06-14 02:11
StanfordAppliedCyber[m]i'm really at a loss here, i'm not sure how to make progress nor how to debug this
#asahi-dev · 2026-06-14 02:09
StanfordAppliedCyber[m]everything got wiped
#asahi-dev · 2026-06-14 02:09
StanfordAppliedCyber[m]not revive
#asahi-dev · 2026-06-14 02:09
StanfordAppliedCyber[m]restore
#asahi-dev · 2026-06-14 02:00
readyee[m]Did you do software restore or firmware restore/“revive Mac”
#asahi-dev · 2026-06-14 01:57
StanfordAppliedCyber[m]known good m1n1 binary
#asahi-dev · 2026-06-14 01:56
StanfordAppliedCyber[m]dfu restore, update to 26.5.1, smp still does not work
#asahi-dev · 2026-06-13 22:29
StanfordAppliedCyber[m]knock wood a dfu restore fixes it
#asahi-dev · 2026-06-13 22:29
StanfordAppliedCyber[m]given this is fully upstream m1n1 scripts with a known working m1n1 binary, i'm confident that my machine just has some severe problems
#asahi-dev · 2026-06-13 22:29
StanfordAppliedCyber[m]i can confirm that: smp does NOT work anymore, nothing i do starts the cores, and debugusb does NOT work (raw, or with kisd)
#asahi-dev · 2026-06-13 22:28
StanfordAppliedCyber[m]yuka sent me a known good m1n1 binary for the macbook ne
#asahi-dev · 2026-06-13 18:27
yukaI just had to use the timer correctly
#asahi-dev · 2026-06-13 16:54
svenyou should be able to send an IPI to the other core and wake it up that way
#asahi-dev · 2026-06-13 16:42
yukaShould WFI also wake up on SEV? I couldn't find information on that
#asahi-dev · 2026-06-13 16:41
yukaI found that unmasking the CNTP timer interrupts before wfi makes it immediately wake up again and not lose any state
#asahi-dev · 2026-06-13 16:41
yukaI can put a core into wfi no problem, the question is how to wake it up again
#asahi-dev · 2026-06-13 16:40
yukaso essentially writing an experiments/wfi.py
#asahi-dev · 2026-06-13 16:40
yukaI'm looking for a way to reliably reproduce the wfi losing state, without needing to boot a linux
#asahi-dev · 2026-06-13 15:29
yukam1n1 saves that + x0
#asahi-dev · 2026-06-13 15:29
yukaAh
#asahi-dev · 2026-06-13 15:28
svenlooks like the linux cpuidle drivers saves x18-x30
#asahi-dev · 2026-06-13 15:27
sventhen probably just a mistake i guess
#asahi-dev · 2026-06-13 15:27
yukathe save happens before we read cyc_ovrd
#asahi-dev · 2026-06-13 15:27
yukaI don't think so
#asahi-dev · 2026-06-13 15:27
sventhen we're just saving that
#asahi-dev · 2026-06-13 15:27
svenwait, don't we store the original value for that cyc_ovrd thingy in x0?
#asahi-dev · 2026-06-13 15:27
svenprobably a mistake then
#asahi-dev · 2026-06-13 15:26
yukabut x0 and x18 don't need preserving?
#asahi-dev · 2026-06-13 15:26
svencalling convention
#asahi-dev · 2026-06-13 15:25
yukaWhy does the wfi save/restore code save exactly registers x0, x18-x30 and not x1-x17?
#asahi-dev · 2026-06-13 12:04
yukadoes not work. invalid command and the state remains unchanged
#asahi-dev · 2026-06-13 12:03
jannautry writing {0x06, 0x46, 0x82, 0x01} in DBMa mode then
#asahi-dev · 2026-06-13 12:02
jannaumy i2c tps6598x remains in "APP "
#asahi-dev · 2026-06-13 12:01
yukamode = DBMa
#asahi-dev · 2026-06-13 12:01
yukathen I read 0x03 again
#asahi-dev · 2026-06-13 12:01
yukathen I do the LOCK (with any code) and DBMa commands
#asahi-dev · 2026-06-13 12:01
yukamode = APP
#asahi-dev · 2026-06-13 12:01
yukathat's what I did
#asahi-dev · 2026-06-13 12:00
jannauyuka: entering DBMa doesn't work for me. query the mode by reading 4 bytes from 0x03
#asahi-dev · 2026-06-13 11:49
StanfordAppliedCyber[m]anyways it's 5am i'm going to bed
#asahi-dev · 2026-06-13 11:49
StanfordAppliedCyber[m]but clearly something here i don't understand
#asahi-dev · 2026-06-13 11:49
StanfordAppliedCyber[m]if anything i'd update to 26.5.1
#asahi-dev · 2026-06-13 11:49
StanfordAppliedCyber[m]like this is literally straight out of iboot state

plus ›