ChanServ changed the topic of #asahi-dev to: Asahi Linux: porting Linux to Apple Silicon macs | General development | GitHub: https://alx.sh/g | Wiki: https://alx.sh/w | Logs: https://alx.sh/l/asahi-dev
nicolas17 has quit [Quit: switching computers again]
jn has joined #asahi-dev
nicolas17 has joined #asahi-dev
amarioguy has quit [Ping timeout: 480 seconds]
cynthia has quit [Server closed connection]
cynthia has joined #asahi-dev
jn has quit [Ping timeout: 480 seconds]
jn has joined #asahi-dev
yuyichao_ has joined #asahi-dev
marcan has quit [Server closed connection]
marcan has joined #asahi-dev
jnn has joined #asahi-dev
jn has quit [Ping timeout: 480 seconds]
chadmed has joined #asahi-dev
aleasto has quit [Server closed connection]
aleasto has joined #asahi-dev
jnn has quit [Ping timeout: 480 seconds]
jn has joined #asahi-dev
Esmil has quit [Server closed connection]
Esmil has joined #asahi-dev
amarioguy has joined #asahi-dev
sven has quit [Server closed connection]
sven has joined #asahi-dev
amarioguy has quit [Ping timeout: 480 seconds]
user982492 has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
Retr0id has quit [Server closed connection]
Retr0id has joined #asahi-dev
jnn has joined #asahi-dev
jn has quit [Ping timeout: 480 seconds]
kit_ty_kate has quit [Server closed connection]
kit_ty_kate has joined #asahi-dev
arisu has quit [Server closed connection]
arisu has joined #asahi-dev
hitmoon has quit [Remote host closed the connection]
photogrant[m] has joined #asahi-dev
user982492 has joined #asahi-dev
riker77_ has joined #asahi-dev
riker77 has quit [Ping timeout: 480 seconds]
riker77_ is now known as riker77
jnn has quit [Read error: Connection reset by peer]
sajattack[m] has quit [Server closed connection]
sajattack[m] has joined #asahi-dev
psydroid[m]1 has quit [Server closed connection]
psydroid[m]1 has joined #asahi-dev
Eighth_Doctor has quit [Server closed connection]
Eighth_Doctor has joined #asahi-dev
PhilippvK has joined #asahi-dev
philhug has quit [Server closed connection]
philhug has joined #asahi-dev
Deewiant has quit [Server closed connection]
Deewiant has joined #asahi-dev
phiologe has quit [Ping timeout: 480 seconds]
kov has quit [Quit: Coyote finally caught me]
kov has joined #asahi-dev
<kevans91> marcan: yo, on 2021-05-04~ish, you floated the idea of implementing gdbstub in python. did you end up starting on that at all?
doggkruse has joined #asahi-dev
blazra[m] has quit [Server closed connection]
blazra[m] has joined #asahi-dev
<marcan> nope
MatrixTravelerbot[m] has quit [Server closed connection]
MatrixTravelerbot[m] has joined #asahi-dev
<kevans91> the underlying bits (you called it your protocol) landed, though? I might be interested in picking that up to figure out what I've got wrong
<kevans91> going to see if i can hit it with a debug-break over uart first, though
<kevans91> a bit stalled until my second m1 comes in to do any of that
Amey has quit [Server closed connection]
Amey has joined #asahi-dev
<kevans91> I had glanced through the wiki and didn't quite see anything describing what you'd already done there
abbas_faiz[m] has quit [Server closed connection]
abbas_faiz[m] has joined #asahi-dev
VinDuv_ has joined #asahi-dev
VinDuv has quit [Ping timeout: 480 seconds]
VinDuv_ is now known as VinDuv
foxlet has quit [Server closed connection]
foxlet has joined #asahi-dev
user982492 has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
user982492 has joined #asahi-dev
user982492 has quit []
nicolas17 has quit [Ping timeout: 480 seconds]
doggkruse has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
user982492 has joined #asahi-dev
<chadmed> i wish people wouldnt try to lint wiki pages with automated tools
<chadmed> the developer tethered boot guide now has a couple of dead links, some inappropriate formatting that hinders readability, and worst of all, American English spelling "corrections" :/
the_lanetly_052 has joined #asahi-dev
user982492 has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
chadmed has quit [Quit: Konversation terminated!]
chadmed has joined #asahi-dev
kenzie35 has quit []
kenzie has joined #asahi-dev
<rqou_> hi, i've been doing a bunch of reverse engineering of the JPEG encode/decode hardware, and i currently have it figured out to the point where i have proofs of concept of encoding/decoding, and i've started writing up documentation of my current understanding of the hardware. what can/should i do next in order to enable other people to start poking at it and possibly write drivers for it?
<rqou_> i have read and understood the RE policy, and my current WIP notes are stored in a github gist at https://gist.github.com/rqou/2dafd40cfe0362cc84c3ee26c68b2b36
kita99 has quit [Ping timeout: 480 seconds]
<marcan> rqou_: is that all from driver RE, or hypervisor traces, or both?
<rqou_> it is a mix of driver RE, hypervisor traces, and ad-hoc manual poking of the hardware
<marcan> the actual docs you have are just register docs and none of that worries me
<rqou_> the parts that are most dependent on driver RE have to do with calculating various parameters related to macroblock sizes/strides and chroma subsampling
<marcan> and the script is mostly a pile of writes, which follows from the docs and an HV trace
<rqou_> because they all interact with each other in complicated ways
<rqou_> the script mostly comes from driver RE
<rqou_> but has been hacked up with tweaks as i experimented with what various registers do, so it's now a complete mess
<marcan> it looks like it could've come from traces though, which implies there isn't really anything copyrightable in there
<marcan> move to -re
<marcan> jannau: can you paste the t6002 adt somewhere?
<marcan> there's runtime stuff in there I'm interested in
<marcan> (I only have the templates)
chadmed has quit [Quit: Konversation terminated!]
chadmed has joined #asahi-dev
chadmed has quit []
chadmed has joined #asahi-dev
kaygalle[m] has joined #asahi-dev
sl_ has joined #asahi-dev
<j`ey> is clock-gates in ADT what we call power-domains?
rowang077[m] has quit [Server closed connection]
rowang077[m] has joined #asahi-dev
<sl_> Hello everyone! Has anybody had success _compiliing_ gcc _inside_ `alarm` using the binary arch gcc? Any tips / makefiles / PKGBUILDS would be appreciated. FIY working on using gentoo-prefix :o
alicela1n has quit [Server closed connection]
alicela1n has joined #asahi-dev
andytest[m] has joined #asahi-dev
kameks has joined #asahi-dev
<VinDuv> marcan: I was wondering, did you manage to get sshd working in macOS recovery? I remember getting it working in 10.15 by adding the sshd user, but on 11.x/12.x it fails to chroot for some reason
<marcan> I don't remember it ever working for me
<marcan> IIRC there was always the chroot issue
<VinDuv> okay, thanks
the_lanetly_052 has quit [Remote host closed the connection]
andytest[m] has left #asahi-dev [#asahi-dev]
andytest[m] has joined #asahi-dev
sl_ has quit [Remote host closed the connection]
andytest[m] has left #asahi-dev [#asahi-dev]
andytest[m] has joined #asahi-dev
andytest[m] has left #asahi-dev [#asahi-dev]
perigoso[m] has quit [Server closed connection]
perigoso[m] has joined #asahi-dev
andytest[m] has joined #asahi-dev
the_lanetly_052 has joined #asahi-dev
<maz> jannau: small nit on the t6002 DT: the PMU nodes should be per CPU types, not per node (you should only have two PMU nodes in total).
<maz> similarly, the PMU affinities in the AIC node should reflect all the CPUs (you only have the t6001 ones atm).
megalokafes_ has quit [Quit: Connection closed for inactivity]
N3ros[m] has quit [Server closed connection]
N3ros[m] has joined #asahi-dev
amarioguy has joined #asahi-dev
<jannau> maz: thanks, fixed
<maz> marcan: do you have any information about the CPUs on Ultra? they seem to be of a different model compared to the previous ones (0x28/0x29 vs 0x22/0x23).
<jannau> marcan will probably redo the devicetree anyway
<maz> jannau: sure. but since I had my eyes on that... ;-)
kita99 has joined #asahi-dev
<jannau> maz: same model as the m1 max. the m1 pro uses 0x24/0x25 init for the high performnce cores differs. see https://github.com/AsahiLinux/m1n1/blob/main/src/chickens.c
<jannau> that is afaik the only place where the part numners are used
<maz> jannau: KVM uses that to work out which CPUs need to have workarounds applied.
<maz> so at the moment, we only mitigate on t8103, and a guest could take down the machine otherwise (assuming the other cores are equally broken).
kameks has quit [Ping timeout: 480 seconds]
amarioguy has quit [Ping timeout: 480 seconds]
chadmed has quit [Remote host closed the connection]
amarioguy has joined #asahi-dev
amarioguy has quit [Ping timeout: 480 seconds]
amarioguy has joined #asahi-dev
doggkruse has joined #asahi-dev
yuyichao_ has quit [Ping timeout: 480 seconds]
amarioguy has quit [Ping timeout: 480 seconds]
yuyichao_ has joined #asahi-dev
amarioguy has joined #asahi-dev
<kettenis> So the situation is that M1, M1 Pro and M1 Max all have different MIDR pairs
<kettenis> but M1 Ultra reuses the M1 Max MIDR pair
<maz> sounds like it indeed. it feels like Apple abuses the MIDR to also designate the SoC used.
<maz> there were discussion of an architected SOCIDR at some point, but nobody could agree on what that would return...
<kettenis> that's what POWER ended up with
<maz> yeah. instead, we have ended up with a DOC_ID firmware service, which of course cannot be implemented on M1.
<maz> SOC_ID*
<kettenis> which reminds me; I should have a go at implementing that EFI PSCI service in U-Boot
<j`ey> kettenis: I've been playing with that a bit, but it'll be in m1n1, not u-boot
<maz> j`ey: you'll need u-boot to expose the service, no matter where it is implemented.
<maz> at least if you want it to appear as a runtime service, that is.
<j`ey> yeah, I meant the actual impl is in m1n1
<kettenis> so the first step (for me) would be to implement a dummy implementation in u-boot
<j`ey> need to figure out some mechanism to pass regions from m1n1 to u-boot, such that it can create regions in the efi memory map
<kettenis> then we'd add code that does the hand-off to m1n1
<_jannau_> My understanding was that M1 Ultra is literally 2 M1 Max' so I expected them to have the same MIDR
<kettenis> yes, but some of us expected M1, M1 Pro and M1 Max to all share the same MIDRs
<kettenis> because it is supposed to be the same core on all the SoCs
<kettenis> but maybe apple made some subtle changes to the system registers and decided they needed different MIDRs to distinguish
<_jannau_> m1n1's init code (based on macos) differs between M1, Pro and Max for the performance cores
<kettenis> _jannau_: did you see https://github.com/AsahiLinux/linux/issues/21
<kettenis> it seems that Apple consistently swaps two keys on the ISO keyboard layout
<kettenis> we do something similar in OpenBSD (but not in my aplhidev(4) driver yet)
<kettenis> so maybe we have a use for that USB HID country code after all
<_jannau_> I've seen it but haven't looked the code yet. I have check if it is correct though since on my iso international keyboard iirc all keys produced the expected keys
<_jannau_> I'll test when I prepare the input code for upstream submission (planning to start this weekend)
<kettenis> hmm, you're right
<j`ey> _jannau_: yay
<kettenis> OpenBSD prints the right characters for the ~/` key
doggkruse has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
doggkruse has joined #asahi-dev
<j`ey> last weekend when I tried PSCI, the system reset after a minute or so of the second CPU coming up. I disabled the WDT in u-boot and linux today, and it's booted up and working for the past few minutes
amarioguy has quit [Ping timeout: 480 seconds]
foxtrot has quit [Quit: Goodbye]
foxtrot has joined #asahi-dev
auhk[m] has left #asahi-dev [#asahi-dev]
auhk[m] has joined #asahi-dev
foxtrot is now known as Guest325
<j`ey> I can CPU_ON, then CPU_OFF, but a CPU_ON again crashes :)
auhk[m] has left #asahi-dev [#asahi-dev]
auhk[m] has joined #asahi-dev
auhk[m] has left #asahi-dev [#asahi-dev]
amarioguy has joined #asahi-dev
amarioguy has quit [Ping timeout: 480 seconds]
unrelentingtech has quit [Server closed connection]
unrelentingtech has joined #asahi-dev
amarioguy has joined #asahi-dev
amarioguy has quit [Ping timeout: 480 seconds]
amarioguy has joined #asahi-dev
Dementor[m] has quit [Server closed connection]
Dementor[m] has joined #asahi-dev
kita99 has quit [Ping timeout: 480 seconds]
abilash1994[m] has quit [Server closed connection]
abilash1994[m] has joined #asahi-dev
AdryzzOLEDEdition[m] has quit [Server closed connection]
AdryzzOLEDEdition[m] has joined #asahi-dev
ah-[m] has quit [Server closed connection]
ah-[m] has joined #asahi-dev
petermlyon[m] has quit [Server closed connection]
petermlyon[m] has joined #asahi-dev
arnidg[m] has quit [Server closed connection]
arnidg[m] has joined #asahi-dev
Augur[m] has quit [Server closed connection]
Augur[m] has joined #asahi-dev
Bastian[m] has quit [Server closed connection]
Bastian[m] has joined #asahi-dev
bngs[m] has quit [Server closed connection]
BenPetterborg[m] has quit [Server closed connection]
bngs[m] has joined #asahi-dev
BenPetterborg[m] has joined #asahi-dev
brentr123[m] has quit [Server closed connection]
brentr123[m] has joined #asahi-dev
butterfly[m] has quit [Server closed connection]
butterfly[m] has joined #asahi-dev
citruscitrus[m] has quit [Server closed connection]
citruscitrus[m] has joined #asahi-dev
CristianMgheruan-Stanciu[m] has quit [Server closed connection]
CristianMgheruan-Stanciu[m] has joined #asahi-dev
daftfrog[m] has quit [Server closed connection]
daftfrog[m] has joined #asahi-dev
DanielHuisman[m] has quit [Server closed connection]
DanielHuisman[m] has joined #asahi-dev
djk121[m] has quit [Server closed connection]
djk121[m] has joined #asahi-dev
Liam[m] has quit [Server closed connection]
Liam[m] has joined #asahi-dev
user982492 has joined #asahi-dev
ey3ball[m] has quit [Server closed connection]
ey3ball[m] has joined #asahi-dev
facez[m] has quit [Server closed connection]
facez[m] has joined #asahi-dev
faiz_abbas[m] has quit [Server closed connection]
faiz_abbas[m] has joined #asahi-dev
fetsorn[m] has quit [Server closed connection]
fetsorn[m] has joined #asahi-dev
DiscoPenguin[m] has quit [Server closed connection]
DiscoPenguin[m] has joined #asahi-dev
fried_dede[m] has quit [Server closed connection]
fried_dede[m] has joined #asahi-dev
h_ro[m] has quit [Server closed connection]
h_ro[m] has joined #asahi-dev
houlton[m] has quit [Server closed connection]
houlton[m] has joined #asahi-dev
IanPlatt[m] has quit [Server closed connection]
IanPlatt[m] has joined #asahi-dev
joerosenberg[m] has quit [Server closed connection]
joerosenberg[m] has joined #asahi-dev
katatafjsh[m] has quit [Server closed connection]
katatafjsh[m] has joined #asahi-dev
kdrag0n[m] has quit [Server closed connection]
kdrag0n[m] has joined #asahi-dev
kjm99[m] has quit [Server closed connection]
kjm99[m] has joined #asahi-dev
mofux[m] has quit [Server closed connection]
mofux[m] has joined #asahi-dev
konr-72[m] has quit [Server closed connection]
konr-72[m] has joined #asahi-dev
krirogn[m] has quit [Server closed connection]
krirogn[m] has joined #asahi-dev
NotHere[m] has quit [Server closed connection]
long[m] has quit [Server closed connection]
NotHere[m] has joined #asahi-dev
long[m] has joined #asahi-dev
lucifer178[m] has quit [Server closed connection]
lucifer178[m] has joined #asahi-dev
as400[m] has quit [Server closed connection]
as400[m] has joined #asahi-dev
fezhead[m] has quit [Server closed connection]
fezhead[m] has joined #asahi-dev
NightRaven[m] has quit [Server closed connection]
NightRaven[m] has joined #asahi-dev
NightsOnly[m] has quit [Server closed connection]
NightsOnly[m] has joined #asahi-dev
nilsi[m] has quit [Server closed connection]
nilsi[m] has joined #asahi-dev
notyou[m] has quit [Server closed connection]
notyou[m] has joined #asahi-dev
obflv[m] has quit [Server closed connection]
obflv[m] has joined #asahi-dev
ograff has quit [Server closed connection]
ograff has joined #asahi-dev
HaoYanQi[m] has quit [Server closed connection]
HaoYanQi[m] has joined #asahi-dev
ponkey364[m] has quit [Server closed connection]
ponkey364[m] has joined #asahi-dev
BingDennis[m] has quit [Server closed connection]
BingDennis[m] has joined #asahi-dev
retonlage[m] has quit [Server closed connection]
retonlage[m] has joined #asahi-dev
rkjnsn has quit [Server closed connection]
rkjnsn has joined #asahi-dev
roxiun[m] has quit [Server closed connection]
roxiun[m] has joined #asahi-dev
rusty-nail[m] has quit [Server closed connection]
ryanhrob[m] has quit [Server closed connection]
rusty-nail[m] has joined #asahi-dev
ryanhrob[m] has joined #asahi-dev
spot[m] has quit [Server closed connection]
spot[m] has joined #asahi-dev
nicolas17 has joined #asahi-dev
steffen[m] has quit [Server closed connection]
steffen[m] has joined #asahi-dev
thebigbossch[m] has quit [Server closed connection]
thebrinkoftomorrow[m] has quit [Server closed connection]
thebigbossch[m] has joined #asahi-dev
thebrinkoftomorrow[m] has joined #asahi-dev
GregoryRWarnes[m] has quit [Server closed connection]
GregoryRWarnes[m] has joined #asahi-dev
Xichao[m] has quit [Server closed connection]
Xichao[m] has joined #asahi-dev
user982492 has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
user982492 has joined #asahi-dev
<jannau> nvme and the two front facing usb-c ports work as well without kernel code changes
user982492 has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
the_lanetly_052 has quit [Ping timeout: 480 seconds]
user982492 has joined #asahi-dev
amarioguy has quit [Ping timeout: 480 seconds]
<jannau> u-boot doesn't like the devices on the second die, looks like it fails to power them on
<jannau> ah, the powerdomains for the second die are broken, I wonder why linux was working
m6wiq has joined #asahi-dev
Denver has joined #asahi-dev
<kaygalle[m]> Hello, is anyone here working on GPU support?
Denver has quit [Read error: Connection reset by peer]
<AdryzzOLEDEdition[m]> <kaygalle[m]> "Hello, is anyone here working on..." <- https://matrix.to/#/#_oftc_#asahi-re:matrix.org
<AdryzzOLEDEdition[m]> s/re/gpu/
<kaygalle[m]> Thanks, I saw it but there are no messages in this thread)
<j`ey> #asahi-gpu
<AdryzzOLEDEdition[m]> oh you can't see the pervious messages
<AdryzzOLEDEdition[m]> well usermode passes 96% of OpenGL ES while kernel driver still has some work to do afaik
<AdryzzOLEDEdition[m]> * OpenGL ES 2 while kernel
<kaygalle[m]> Okey, I will move to asahi-gpu and ask about it
jn has joined #asahi-dev
CME has quit [Server closed connection]
CME has joined #asahi-dev
___nick___ has joined #asahi-dev
___nick___ has quit []
___nick___ has joined #asahi-dev
doggkruse has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
user982492 has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
Denver has joined #asahi-dev
user982492 has joined #asahi-dev
Denver has quit [Quit: My MacBook Air has gone to sleep. ZZZzzz…]
___nick___ has quit [Ping timeout: 480 seconds]
m6wiq has quit []
luxio_39[m] has joined #asahi-dev
user982492 has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
yuyichao_ has quit [Ping timeout: 480 seconds]
user982492 has joined #asahi-dev