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
riker77_ has joined #asahi-dev
riker77 has quit [Ping timeout: 480 seconds]
riker77_ is now known as riker77
PhilippvK has quit [Ping timeout: 480 seconds]
kov has quit [Quit: Coyote finally caught me]
pyropeter1 has joined #asahi-dev
PyroPeter_ has quit [Ping timeout: 480 seconds]
boardwalk has quit [Quit: Ping timeout (120 seconds)]
boardwalk has joined #asahi-dev
amarioguy has quit [Remote host closed the connection]
amarioguy has joined #asahi-dev
liszt has joined #asahi-dev
the_lanetly_052__ has joined #asahi-dev
jluthra has quit [Remote host closed the connection]
jluthra has joined #asahi-dev
Chainfire has joined #asahi-dev
<jannau> kettenis: I've pushed my nvme WIP state to https://github.com/jannau/u-boot-1/tree/macos13-nvme
<jannau> srt just got me 1 additional rtkit message
<jannau> https://github.com/AsahiLinux/m1n1/pull/218 could be handy if you look at it
<jannau> s/srt/sart/
the_lanetly_052__ has quit [Ping timeout: 480 seconds]
MajorBiscuit has joined #asahi-dev
os9 has joined #asahi-dev
os has quit [Read error: Connection reset by peer]
bps2 has joined #asahi-dev
voliteon has joined #asahi-dev
MajorBiscuit has quit [Ping timeout: 480 seconds]
MajorBiscuit has joined #asahi-dev
MajorBiscuit has quit [Ping timeout: 480 seconds]
MajorBiscuit has joined #asahi-dev
MajorBiscuit has quit [Ping timeout: 480 seconds]
MajorBiscuit has joined #asahi-dev
MajorBiscuit has quit [Ping timeout: 480 seconds]
MajorBiscuit has joined #asahi-dev
ChaosPrincess has quit [Quit: WeeChat 3.5]
ChaosPrincess has joined #asahi-dev
MajorBiscuit has quit [Ping timeout: 480 seconds]
kov has joined #asahi-dev
MajorBiscuit has joined #asahi-dev
opticron has quit [Ping timeout: 480 seconds]
<kettenis> jannau: thanks; I need to find some time to look into this a bit deeper
bps2 has quit [Remote host closed the connection]
<kettenis> but I was indeed thinking of folding sart into nvme_apple.c code like you did
<_jannau_> kettenis: it looks like the ioreport (0x4) endpoint might have different expectations, smc crashes after 3 ep 4 messages with the linux driver
<_jannau_> I folded it mostly into nvme since I didn't want to find the correct place for it and edit makefiles
<kettenis> so chainloading linux directly from m1n1 doesn't work either?
<_jannau_> nvme works, just smc crashes
<kettenis> ah
<sven> Ioreport is the endpoint I understand the least
<sven> I never figured out what those messages it sends during boot up actually mean
<j`ey> sven: https://github.com/konradybcio/linux-apple/commits/v5.18_a7 looks like the code changes are usb, and aic. pinctrl and i2c seem to work ootb!
<sven> j`ey: oh, interesting!
<sven> usb makes sense because the older iphones all had dwc2 instead of dwc3
<sven> they'll also need a driver for that older dart
<sven> or, well, teach apple-dart.c about the slightly different register layout
<kettenis> so i2c goes back all the way to s5l8960x
<sven> honestly wouldn't surprise me if it goes back even further
<kettenis> and so does pinctrl
millenialhacker has joined #asahi-dev
MajorBiscuit has quit [Ping timeout: 480 seconds]
derzahl has joined #asahi-dev
derzahl has quit [Remote host closed the connection]
derzahl has joined #asahi-dev
the_lanetly_052__ has joined #asahi-dev
derzahl has quit [Remote host closed the connection]
the_lanetly_052__ has quit [Ping timeout: 480 seconds]
<jannau> kettenis: one issue in my nvme u-boot change found, the get buffer ack had size 0 since I used the size in bytes
<jannau> and fixed
<kettenis> does that mean it works now?
<jannau> yes
<kettenis> cool
<kettenis> I don't think simply transplanting the m1n1 code will go down well with the u-boot maintainers
<kettenis> so that'll need some rewriting
<jannau> I think the issue was only not supplying buffers for crashlog (and ioreport). not necessary to start syslog
Gaspare has joined #asahi-dev
<jannau> fixing existing installations with macos 13 beta is a little annoying due to crashing smc
<jannau> just removing smc from the dt in the fixup m1n1 + u-boot bundle should be enough
vdanielmo has joined #asahi-dev
<povik> jannau: is there a version of the dcp driver that can be readily combined with current asahi branch?
<povik> i tried rebasing something yesterday but it didn't work: https://github.com/povik/linux/tree/bits/200-dcp-rebase-attempt
<povik> maybe i had the wrong m1n1
<jannau> povik: for which device? my pushed branches probably work only for t8103 and I would have to check for the matching m1n1
<jannau> my current WIP state is improved and might work on all devices (only tested on m1 max so far though)
<povik> t8103 mac mini
<povik> i am wondering if you have something published you can just point me to
vdanielmo has quit [Quit: vdanielmo]
<povik> thanks
<jannau> povik: not sure how well it rebases on asahi. m1n1 will be harder to rebase on main
<povik> will it work if the m1n1 is chainloaded by older m1n1?
<povik> or... err... other version of m1n1
<jannau> yes, chainloading m1n1-dcp-nb + dtb + linux should work with any previous m1n1
<povik> great!
<jannau> kettenis: working state pushed to https://github.com/jannau/u-boot-1/tree/macos13-nvme with of based sart init, only tested on m1 max
opticron has joined #asahi-dev
Gaspare has quit [Quit: Gaspare]
derzahl has joined #asahi-dev
opticron has quit [Read error: No route to host]
opticron has joined #asahi-dev
jackbijou[m] has joined #asahi-dev
derzahl has quit [Remote host closed the connection]
opticron has quit [Ping timeout: 480 seconds]
derzahl has joined #asahi-dev
opticron has joined #asahi-dev