ChanServ changed the topic of #asahi-dev to: Asahi Linux: porting Linux to Apple Silicon macs | Non-development talk: #asahi | General development | GitHub: https://alx.sh/g | Wiki: https://alx.sh/w | Logs: https://alx.sh/l/asahi-dev
<nickchan>
ans2 booted to ready on t8015, but there's some differences in the actual nvme layer (?) that m1n1 does not like
<nickchan>
and also need to support protocol version 10 and older to support older OS versions
<nickchan>
fortunately new ANS2 fw also has the old protocol so it can sitll be tested on new fw
<nickchan>
still
catred2 has joined #asahi-dev
<nickchan>
also got sep_get_random to work :) the thing that trips BPR
<nickchan>
coprocoessor other than ANS2 and SEP is 32-bit i think and that change things so those are for later
Leandro[mds] has quit []
<nickchan>
as well as coprocessor on any older SoCs
catred has quit [Ping timeout: 480 seconds]
<nickchan>
going to make 8015 work first
<nickchan>
i have a full iboot mmiotrace to look at but i need to study how nvme works in general first
pb17 has joined #asahi-dev
ceuasyyyl^ has quit [Ping timeout: 480 seconds]
ceuasyyyl^ has joined #asahi-dev
chrisl has joined #asahi-dev
hdbngr has joined #asahi-dev
chrisl has quit [Ping timeout: 480 seconds]
hdbngr has quit [Ping timeout: 480 seconds]
hdbngr has joined #asahi-dev
hdbngr has quit [Ping timeout: 480 seconds]
hdbngr has joined #asahi-dev
hdbngr has quit [Ping timeout: 480 seconds]
<nickchan>
i think nvmmu just... doesn't exist or is different on a11?
<nickchan>
none of that range is accessed by iboot and attempting to access is SError
chrisl has joined #asahi-dev
chrisl has quit [Ping timeout: 480 seconds]
hdbngr has joined #asahi-dev
pb17 has quit [Ping timeout: 480 seconds]
hdbngr has quit [Ping timeout: 480 seconds]
lukeleppan has joined #asahi-dev
lukeleppan has quit [Ping timeout: 480 seconds]
CME has quit [Ping timeout: 480 seconds]
pb17 has joined #asahi-dev
greguu_ has quit [Ping timeout: 480 seconds]
yuyichao_ has quit [Ping timeout: 480 seconds]
greguu has joined #asahi-dev
chrisl has joined #asahi-dev
hdbngr has joined #asahi-dev
chrisl has quit [Ping timeout: 480 seconds]
chadmed has quit [Quit: Konversation terminated!]
chadmed has joined #asahi-dev
hdbngr has quit [Ping timeout: 480 seconds]
lukeleppan has joined #asahi-dev
hdbngr has joined #asahi-dev
hdbngr has quit [Ping timeout: 480 seconds]
hdbngr has joined #asahi-dev
chrisl has joined #asahi-dev
mattia013 has joined #asahi-dev
hdbngr has quit [Ping timeout: 480 seconds]
chrisl has quit [Ping timeout: 480 seconds]
CME has joined #asahi-dev
hdbngr has joined #asahi-dev
hdbngr has quit [Ping timeout: 480 seconds]
yuyichao_ has joined #asahi-dev
chrisl has joined #asahi-dev
lukeleppan has quit [Remote host closed the connection]
lukeleppan has joined #asahi-dev
lukeleppan has quit [Remote host closed the connection]
lukeleppan has joined #asahi-dev
chrisl has quit [Ping timeout: 480 seconds]
mattia013 has quit [Ping timeout: 480 seconds]
greguu has quit [Quit: WeeChat 4.4.2]
al3xtjames has quit [Read error: Connection reset by peer]
al3xtjames2 has joined #asahi-dev
pb17 has quit [Ping timeout: 480 seconds]
riker77 has quit [Quit: Quitting IRC - gone for good...]
riker77 has joined #asahi-dev
pb17 has joined #asahi-dev
<sven>
does anyone else see "[ 13.012798] macsmc-reboot macsmc-reboot: Failed to issue MBSE = offw (0x6f666677) (reboot_prepare)" when running shutdown? (probably needs to be running under hv since this is one of the very last messages before power off)
chrisl has joined #asahi-dev
<sven>
seems like i can't even write that key from m1n1 here
<jannau>
does that result in shutdown not working? I can't remember seeing this or broken shutdown under HV
<sven>
no, shutdown works just fine even without that
<sven>
" * 'offw' - shutdown warning"
hdbngr has joined #asahi-dev
<sven>
let me update the firmware on this m1n1, it's still running whatever was current when i bought this one a few years ago, lol
<sven>
er, *on this mac mini
<jannau>
I see "macsmc-reboot macsmc-reboot: Preparing for reboot (offw (0x6f666677))" and "macsmc-reboot macsmc-reboot: Issuing power off (off1)" but no failures
chrisl has quit [Ping timeout: 480 seconds]
<jannau>
so probably on 12.3 (assuming you ever did a an install with asahi-installer)
<sven>
nope, all manual
<jannau>
so probably older than 12.3
hdbngr has quit [Ping timeout: 480 seconds]
<flokli>
I see a "Failed to set watchdog hardware timeout to 10min: Invalid argument" (using 'Apple SoC Watchdog'), but everything else is obviously not logged anymore
<flokli>
and this boot is happily spamming about power_supply macsmc-ac: driver failed to report `voltage_now' property: -132 (and `input_current_limit`)
<jannau>
the maximal watchdog period is slightly below 3 minutes
<flokli>
so systemd setting 10min here is a stupid default?
<chaos_princess>
did they remove the voltage key since macos wasn't using it?
<sven>
oh, and add the reboot nodes for t600x and t8112
<flokli>
ugh, after reading the kernel driver, there's no way for userspace to know limitations for the watchdog, like max timeout you can configure?
pb17 has quit [Ping timeout: 480 seconds]
<sven>
i don't see any get max timeout function in the uapi either
<sven>
though maybe we return the wrong errno and we're supposed to just set the timeout to the max value and userspace can directly query it again afterwards?
<sven>
jannau: can you run the current smc driver with trace_smc.py (just a regular boot is fine) and paste the results? i wanna compare if everything looks the same
<nickchan>
and about how the actual storage will be handled on a11 probably linux-apfs-rw on a fixed size volume with a single file on it that is used as loopback
<nickchan>
cause repartitioning the disk doesn't seem viable and using linux-apfs-rw full tilt seems too dangerous
<nickchan>
resize container needs data volume unlocked