#
#asahi-dev · 2023-01-07 11:09
themadprothx for all the tips :)
#asahi-dev · 2023-01-07 08:40
jannauat least amazon has a servo to provide virtual/physical prescene
#asahi-dev · 2023-01-07 08:38
jannauin addition they would need to offer a method to hold the power button
#asahi-dev · 2023-01-07 08:38
j`ey(needs physical prescene)
#asahi-dev · 2023-01-07 08:38
jannauit would require an ip kvm for display/keyboard/mouse access in the recovery os
#asahi-dev · 2023-01-07 08:37
jannauunless specifically mentioned I would doubt that you can enter recovery os with any of the cloud offerings
#asahi-dev · 2023-01-07 08:30
chadmedhaving the machine in front of you is really a necessity, you need to be able to access the m1n1 console etc
#asahi-dev · 2023-01-07 08:30
chadmedalso yeah, seems like a real cumbersome way to do kernel work
#asahi-dev · 2023-01-07 08:30
chadmedamazon sells time on 2020 mac minis afaik but im not sure if thats just virtualised arm servers or the bare metal
#asahi-dev · 2023-01-07 08:30
j`eythemadpro: there are some cloud providers, but wouldnt be the easiest way to try do kernel dev
#asahi-dev · 2023-01-07 08:29
chadmedi dont really do much but fwiw i started out using my old 2017 macbook pro backed by my home server, and have sinced moved to dailying my j314 with gentoo (also supported by the server)
#asahi-dev · 2023-01-07 08:28
themadproAre there any cloud providers for the M-series yet? At the very least that seems like a way to get into kernel programming even if it is quite removed from the user interface
#asahi-dev · 2023-01-07 08:27
themadproI do have a couple external drives though (no matter how skeptical I may be of Driver status on those)
#asahi-dev · 2023-01-07 08:27
themadproOriginally I thought my personal laptop would have been enough but I have ended up bloating it with files to the point where I have something like 150GB free,
#asahi-dev · 2023-01-07 08:25
themadproBut I digress, I came here to ask what your ideal development environments for Asahi are
#asahi-dev · 2023-01-07 08:25
themadproShame things had to go down that way :(
#asahi-dev · 2023-01-07 08:25
themadproHi! First time here in #asahi-dev since the matrix bridge was broken a few raids ago
#asahi-dev · 2023-01-06 20:31
jannauhack to avoid the reset: overwrite the data for 'MBSE' in the smc tracer
#asahi-dev · 2023-01-06 20:29
jannaulooks like macos simply doesn't shutdown DCP on restart/shutdown and DCP still issues callbacks and syslog messages
#asahi-dev · 2023-01-06 17:00
sveniirc the tty node disappears a moment later
#asahi-dev · 2023-01-06 16:59
sventhat looks similar to what I get when I try to suspend
#asahi-dev · 2023-01-06 16:58
jannauit looks like it dies while parsing dcp messages https://paste.debian.net/1266326/
#asahi-dev · 2023-01-06 16:54
svencould be, I only have this m1 here
#asahi-dev · 2023-01-06 16:53
marcanI think I saw it work (sometimes) with pro/max machines, never on M1 or something like that?
#asahi-dev · 2023-01-06 16:53
svenlike, Python exception dies because the serial port disappears
#asahi-dev · 2023-01-06 16:53
svenmy m1 mini reliably dies on suspend fwiw
#asahi-dev · 2023-01-06 16:52
marcanbut I do want to figure out what causes the death on suspend
#asahi-dev · 2023-01-06 16:52
marcandefinitely never resumed out of that though, that would need specific handling
#asahi-dev · 2023-01-06 16:52
marcanI've seen it survive suspend before, as in the machine looked quiesced but the HV console was still alive
#asahi-dev · 2023-01-06 16:49
svenhaven’t ever seen the hv survive suspend/resume though
#asahi-dev · 2023-01-06 16:47
svenyeah, I’ve even seen the watchdog write just before reboot occasionally
#asahi-dev · 2023-01-06 16:44
marcanI'm pretty sure I could trace shutdown/reboot up to the action that actually triggers them
#asahi-dev · 2023-01-06 16:44
marcanare you sure it's incomplete and it doesn't just reboot the machine without cleaning up dcp?
#asahi-dev · 2023-01-06 16:21
jannaudcp trace is incomplete due broken uart communication even with a single cpu core
#asahi-dev · 2023-01-06 16:10
marcanyou can just watch it until the end, unless you want to do something after the shutdown?
#asahi-dev · 2023-01-06 15:44
jannaudo we have code to intercept macos restart/shutdown in m1n1?
#asahi-dev · 2023-01-06 15:38
jannauthe pmgr reset fixes the system endpoint re-initialization after IOP shutdown
#asahi-dev · 2023-01-06 15:28
sveniirc the pmgr reset is really just an interrupt for the asc so that missing shmem thing probably makes sense :(
#asahi-dev · 2023-01-06 15:26
marcanok, makes sense
#asahi-dev · 2023-01-06 15:26
jannauyes
#asahi-dev · 2023-01-06 15:26
marcanah right, that's the one I used for suspend mode?
#asahi-dev · 2023-01-06 15:25
jannauapple_rtkit_idle()
#asahi-dev · 2023-01-06 15:25
jannaumarcan: apparently only before
#asahi-dev · 2023-01-06 15:24
jannauthere's free_signal / stop_signal but both crash dcp
#asahi-dev · 2023-01-06 15:24
marcanjannau: wait so then when does A500 need to get called?
#asahi-dev · 2023-01-06 14:32
jannaustill no ack for the initial SetSHM call though
#asahi-dev · 2023-01-06 14:30
jannauDCP module reloading works! I must not call A500/set_dcp_power(0) on shutdown (or I suppose I have to call A500/set_dcp_power(1))
#asahi-dev · 2023-01-06 06:15
marcanthe whole thing with not being able to actually reset firmware state is pretty cursed
#asahi-dev · 2023-01-06 06:15
marcanjannau: remember reset doesn't actually reset any memory, so if they have like a static global with the shmem info/state for that, it would survive
#asahi-dev · 2023-01-05 15:09
jannaunot that we know of. the system endpoints are reset after shutdown and pmgr reset

plus ›