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
yrlf has joined #asahi-dev
codingkoopa has joined #asahi-dev
millenialhacker has joined #asahi-dev
millenialhacker has quit [Ping timeout: 480 seconds]
pcc has joined #asahi-dev
<pcc> hello, I was wondering about something. since macvdmtool knows how to mux UART out of the local end of the debug port, could we teach m1n1 to do the same thing before booting the OS? I think that should allow building a simpler serial cable without the Arduino or PD chip
<tpw_rules> i think it already knows how to?
<tpw_rules> it works great under linux at least, never tested it for macos
<pcc> I think that's for the emulated UART in the hypervisor, not the real one. it won't be compatible with running your OS at EL2
<tpw_rules> ah, not sure then, sorry
phiologe has joined #asahi-dev
PhilippvK has quit [Ping timeout: 480 seconds]
pseigo has joined #asahi-dev
millenialhacker has joined #asahi-dev
millenialhacker has quit [Ping timeout: 480 seconds]
pseigo has quit [Ping timeout: 480 seconds]
bisko has quit [Ping timeout: 480 seconds]
nicolas17 has quit [Quit: Konversation terminated!]
pseigo has joined #asahi-dev
bisko has joined #asahi-dev
jcole has quit [Ping timeout: 480 seconds]
jluthra has quit [Quit: WeeChat 1.9.1]
jluthra has joined #asahi-dev
millenialhacker has joined #asahi-dev
millenialhacker has quit [Ping timeout: 480 seconds]
pcc has quit [Quit: leaving]
<maz> pcc: I don't we know of any control on the AP side to generate mux the uart. AFAIK, this is only controlled externally.
<maz> s/we//
<maz> lack of coffee, let me rephrase that: I don't know of any control on the AP side to control the UART mux.
bfredl[m] has joined #asahi-dev
rustylerp has joined #asahi-dev
MajorBiscuit has joined #asahi-dev
<sven> you can talk to that CD321x chip via i2c from the AP and mux out UART
<sven> macvdmtool does just that. iirc the source code even contains the i2c commands you have to send
<maz> sven: really? damn. then pcc definitely has a point, and we should really try and do that.
<_jannau_> marcan said on stream that USB-PD negotiation might reset that, so it would have to be done in m1n1 and linux
<sven> yeah, i'm not sure how long that mode will survive
<maz> surely, on something like a mini, this should be a pretty long time.
<maz> otherwise I'd see some drops, even with an arduino-based hack.
<sven> https://github.com/AsahiLinux/macvdmtool/blob/main/main.cpp#L318 readRegister just sends a read register command over i2c and command just sends a command to that CD321x chip (https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/tree/drivers/usb/typec/tipd/core.c#n288)
<sven> and macvdmtool first switches the local mux to UART and then instructs that CD321x chip to talk to the remote chip and switch it to UART as well
millenialhacker has joined #asahi-dev
millenialhacker has quit [Ping timeout: 480 seconds]
pseigo has quit [Ping timeout: 480 seconds]
<maz> sven: do we have a way to reconstruct this 'unlock key' in m1n1? it seems to be built from the device name, but *which* name?
<sven> it's probably somewhere in the ADT
mps has quit [Ping timeout: 480 seconds]
rustylerp has quit [Ping timeout: 480 seconds]
mps has joined #asahi-dev
millenialhacker has joined #asahi-dev
millenialhacker has quit [Ping timeout: 480 seconds]
ChaosPrincess has quit [Quit: WeeChat 3.5]
ChaosPrincess has joined #asahi-dev
millenialhacker has joined #asahi-dev
millenialhacker has quit [Ping timeout: 480 seconds]
millenialhacker has joined #asahi-dev
millenialhacker has quit [Ping timeout: 480 seconds]
millenialhacker has joined #asahi-dev
millenialhacker has quit [Ping timeout: 480 seconds]
Gaspare has joined #asahi-dev
Gaspare has quit [Quit: Gaspare]
Gaspare has joined #asahi-dev
Gaspare has quit [Quit: Gaspare]
Gaspare has joined #asahi-dev
Gaspare has quit []
rustylerp has joined #asahi-dev
rustylerp has quit [Ping timeout: 480 seconds]
<sven> urhg... broadcom... why do they make the device2host queue index configurable but only for one packet type (HCI) but just hardcode it and ignore whatever I configure for another one?! (ACL)
nicolas17 has joined #asahi-dev
millenialhacker has joined #asahi-dev
millenialhacker has quit [Ping timeout: 480 seconds]
millenialhacker has joined #asahi-dev
millenialhacker has quit [Ping timeout: 480 seconds]
nickchan has joined #asahi-dev
nickchan has quit [Quit: nickchan]
nickchan has joined #asahi-dev
millenialhacker has joined #asahi-dev
nickchan has quit [Quit: nickchan]
nickchan has joined #asahi-dev
millenialhacker has quit [Ping timeout: 480 seconds]
Catyre_ has joined #asahi-dev
Catyre has quit [Ping timeout: 480 seconds]
pabloscloud[m] has joined #asahi-dev
nickchan has quit [Remote host closed the connection]
nickchan has joined #asahi-dev
millenialhacker has joined #asahi-dev
witchbutter has joined #asahi-dev
witchbutter has quit []
millenialhacker has quit [Ping timeout: 480 seconds]
<sven> *sigh*
<sven> at least this probably confirms that Bluetooth is mostly Broadcom. This is too disgusting for apple :D
nickchan has quit [Quit: nickchan]
nickchan has joined #asahi-dev
nickchan has quit [Quit: nickchan]
nickchan has joined #asahi-dev
nickchan has quit [Quit: nickchan]
Catyre_ has quit [Ping timeout: 480 seconds]
Catyre has joined #asahi-dev
<jannau> and with that linux boots with disabled pcie on my m2 as well
<j`ey> jannau: can you do some benchmarks at some point? (building the kernel i guess)
<jannau> dart-t6000 review \o/
Catyre_ has joined #asahi-dev
<j`ey> I saw robin in person a few days ago and prodded him :P
<jannau> thanks
witchbutter has joined #asahi-dev
<sven> :D
Catyre has quit [Ping timeout: 480 seconds]
rustylerp has joined #asahi-dev
<jannau> j`ey: ~220s for 5.15 defconfig with -j8
rustylerp has quit [Ping timeout: 480 seconds]
pseigo has joined #asahi-dev
<jannau> make -j10 is maybe 1% faster
MajorBiscuit has quit [Ping timeout: 480 seconds]
nickchan has joined #asahi-dev
rustylerp has joined #asahi-dev
witchbutter has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
nickchan has quit []
witchbutter has joined #asahi-dev
witchbutter has quit []
witchbutter has joined #asahi-dev
rustylerp has quit [Ping timeout: 480 seconds]
pseigo has quit [Read error: No route to host]
pseigo has joined #asahi-dev
pseigo has quit []
pseigo has joined #asahi-dev
pseigo has quit [Quit: left]
pseigo_ has joined #asahi-dev
witchbutter has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
millenialhacker has joined #asahi-dev
witchbutter has joined #asahi-dev
pseigo_ has quit [Ping timeout: 480 seconds]
millenialhacker has quit [Ping timeout: 480 seconds]
pseigo_ has joined #asahi-dev
gladiac has quit [Quit: k thx bye]
witchbutter has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
millenialhacker has joined #asahi-dev
Catyre has joined #asahi-dev
millenialhacker has quit [Ping timeout: 480 seconds]
Catyre_ has quit [Ping timeout: 480 seconds]
Catyre_ has joined #asahi-dev
Catyre has quit [Ping timeout: 480 seconds]
pseigo_ has quit [Ping timeout: 480 seconds]
bisko has quit [Read error: Connection reset by peer]
millenialhacker has joined #asahi-dev
boardwalk has quit [Ping timeout: 480 seconds]
jcole has joined #asahi-dev
jcole has quit []
Catyre has joined #asahi-dev
millenialhacker has quit [Ping timeout: 480 seconds]
boardwalk has joined #asahi-dev
Catyre_ has quit [Ping timeout: 480 seconds]
pseigo_ has joined #asahi-dev
Catyre_ has joined #asahi-dev
Catyre__ has joined #asahi-dev
c10l4 has quit []
Catyre has quit [Ping timeout: 480 seconds]
c10l4 has joined #asahi-dev
pseigo_ has quit [Ping timeout: 480 seconds]
Catyre_ has quit [Ping timeout: 480 seconds]
Catyre has joined #asahi-dev
Catyre has quit [Remote host closed the connection]
Catyre has joined #asahi-dev
Catyre__ has quit [Ping timeout: 480 seconds]
yamii has quit [Ping timeout: 480 seconds]
khilman has joined #asahi-dev
witchbutter has joined #asahi-dev