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
weitcis has quit [Quit: https://quassel-irc.org - Chat comfortably. Anywhere.]
weitcis has joined #asahi-dev
elros has quit [Quit: WeeChat 4.0.4]
gabuscus_ has quit []
<marcan> and now it's starting to look like something in 6.5.4 stable (or some other prior version) regressed PCIe for us
<marcan> since my 6.5.0 merge works, but the Fedora 6.5.4 rebase is all kinds of broken with PCIe IRQs
<Tramtrist> :(
weitcis has quit [Quit: https://quassel-irc.org - Chat comfortably. Anywhere.]
crabbedhaloablut has joined #asahi-dev
weitcis has joined #asahi-dev
gabuscus has joined #asahi-dev
jeisom has quit [Ping timeout: 480 seconds]
VinDuv has quit [Ping timeout: 480 seconds]
tristan2 has joined #asahi-dev
tristan2_ has quit [Ping timeout: 480 seconds]
weitcis has quit [Quit: https://quassel-irc.org - Chat comfortably. Anywhere.]
weitcis has joined #asahi-dev
lena6 has quit [Ping timeout: 480 seconds]
lewurm`` has joined #asahi-dev
DarkShadow4444 has joined #asahi-dev
lewurm has quit [Read error: Connection reset by peer]
DarkShadow44 has quit [Ping timeout: 480 seconds]
VinDuv has joined #asahi-dev
lena6 has joined #asahi-dev
mf54 has joined #asahi-dev
malfunction54 has quit [Ping timeout: 480 seconds]
cylm has quit [Ping timeout: 480 seconds]
<maz> axboe: sorry for stating the obvious, but these bugs *do* go undetected, all the time. there is no way the current level of kernel CI covers anything useful (it is usually limited to booting...). now, if you are prepared to dedicate significant resources to stress-test all RCs and to convince Linus to *gate* releases until these tests have completed, then I'm all ears!
<maz> (and we should probably take this somewhere else, as this is quite OT)
kujeger has quit [Remote host closed the connection]
kujeger has joined #asahi-dev
mutilenka has joined #asahi-dev
jeisom has joined #asahi-dev
chadmed has quit [Remote host closed the connection]
chadmed has joined #asahi-dev
elros has joined #asahi-dev
cylm has joined #asahi-dev
cylm_ has joined #asahi-dev
cylm has quit [Ping timeout: 480 seconds]
<eiln> lina: estimated time of the sekrit work stream (if any)? I really don't wanna miss that one ;)
elros has quit [Quit: WeeChat 4.0.4]
compassion1785 has quit [Read error: Connection reset by peer]
compassion1785 has joined #asahi-dev
cyrozap has quit [Quit: ZNC 1.8.2+deb3.1 - https://znc.in]
elros has joined #asahi-dev
elros has quit []
skippypaws has quit [Quit: Connection closed for inactivity]
cyrozap has joined #asahi-dev
skipwich has quit [Ping timeout: 480 seconds]
skipwich has joined #asahi-dev
cyrozap has quit [Quit: ZNC 1.8.2+deb3.1 - https://znc.in]
cyrozap has joined #asahi-dev
cyrozap has quit []
cyrozap has joined #asahi-dev
cyrozap has quit [Quit: ZNC 1.8.2+deb3.1 - https://znc.in]
cyrozap has joined #asahi-dev
derzahl has quit [Ping timeout: 480 seconds]
jeisom has quit [Ping timeout: 480 seconds]
cylm_ has quit [Ping timeout: 480 seconds]
<lina> eiln: I was planning to do it today, but I had a weirdly busy day again... maybe tomorrow (sunday) 3PM JST?
<lina> I mean saturday
cyrozap has quit [Quit: ZNC 1.8.2+deb3.1 - https://znc.in]
jacksonchen666 has joined #asahi-dev
jacksonchen666 has quit [Ping timeout: 480 seconds]
cyrozap has joined #asahi-dev
mutilenka has quit [Quit: Leaving]
jacksonchen666 has joined #asahi-dev
jeisom has joined #asahi-dev
cyrozap has quit [Quit: ZNC 1.8.2+deb3.1 - https://znc.in]
cyrozap has joined #asahi-dev
flatz has joined #asahi-dev
flatz has quit []
<leio> Any hints what to poke at for https://dpaste.com/FXN89AY6Z - this is https://github.com/AsahiLinux/m1n1/pull/329 on a M2 Ultra Mac Studio
<j`ey> what are you trying to do? run u-boot/linux?
<leio> chain-load patched m1n1
<j`ey> that worked didn't it?
<leio> there's no HDMI output - am I not supposed to see any picture until u-boot?
<j`ey> what command have you run?
<j`ey> so youve rebuilt boot.bin? with the patched m1n1?
<leio> I ran make on m1n1 off the branch and `proxyclient/tools/chainload.py -r build/m1n1.bin`
<j`ey> yeah, that just runs m1n1, there's no u-boot there
<leio> and that won't output any picture either way?
<j`ey> m1n1 *should* write a framebuffer (TTY> fb init: 1920x1080 (30) [s=1920] @0x12fc6b54000)
<j`ey> (but this is now outside of what I know, I was just trying to figure out exactly what you tried / expected)
Vivi has joined #asahi-dev
<leio> yeah, it says "TTY> fb: display logo" but I don't see any. I'm sure it's some stuff to do in the patch with actual access to such a device
jacksonchen666 has quit [Ping timeout: 480 seconds]
Cyrinux9474 has quit []
Cyrinux9474 has joined #asahi-dev
<leio> there's also the note of "Still missing but prepared is the SMC gpio support required to power the MCDP29xx DP to HDMI converter on." in the patch - maybe that?
<leio> and also "M2 Ultra support is untested and broken due to the wrong clock-gate."
<j`ey> ah, didnt see that in the commit messages (didnt look)
<j`ey> (I saw the SMC support added, so assumed it was used)
<leio> the pull request mentions it should work, so maybe outdated commit msg
<j`ey> I think the commits have been updated, but not the PR
janneg has joined #asahi-dev
<janneg> PR/and commit messages were outdated, refreshed
<janneg> leio: your log looks to me like everything works. does the display sees that 1920x1080@60 is used as mode?
<janneg> what happens if you chainload m1n1 again
Cyrinux9474 has quit []
Cyrinux9474 has joined #asahi-dev
<leio> janneg: should I be seeing any logo on it?
<leio> janneg: uh, and now running it again I see stuff
<leio> pretty sure it was the third run of the patched m1n1.bin
<leio> ok, shut down and tried again
<janneg> third chainload or 3rd run after reboots?
<leio> first nothing, as it's old m1n1
<leio> then chainloaded patched m1n1.bin - no picture
<leio> then chainloaded it again - picture now
<janneg> ok, that sounds as if there's an issue with rendering after the display config
<janneg> the second chainload shouldn't touch the display
<janneg> or maybe it does. please paste the log of the second chainload
<leio> https://dpaste.com/8D7KS6TPR has the first and second chainload
<leio> (second chainload at line 201)
<janneg> the second chainload reconfigures the display
<janneg> maybe there's an issue with not updating the framebuffer address fully/correctly in 1st chainload
<leio> looks like to get further I need to patch the kernel too - ERROR: Kernel found but no devicetree for apple,j475d available.
<leio> https://dpaste.com/G33AZYEKC is the fedora minimal installed m1n1 initial boot, fwiw
<janneg> looks like display_map_fb() misses to update video.base. I'll prepare a patch to test
gabuscus_ has joined #asahi-dev
<leio> eh, after another reboot try I have it shift to /dev/ttyACM0 - before I had ttyACM0 through 2 and M1N1DEVICE as ttyACM1, now that's ttyACM0
<leio> weird to have an extra one - I'd understand the swapping between them otherwise
<leio> right, so the first run with patched m1n1 does make the monitor do something too
gabuscus has quit [Ping timeout: 480 seconds]
<leio> and second run I start seeing picture since "TTY> USB2: initialized at 0x10004f71690" or so, with the rest scrolling by
<leio> do there happen to be any docs about how the installer images need to be like?
<janneg> hmm, no I think
<leio> or the json file or whatnot - basically why the arch ones don't work for me and is there more to it than just editing the json file to say 13.5 mac OS too
<leio> the previous question was for seeing about that approach for gentoo installing
<janneg> the black screen after the first chainload is just a side effect of starting with an uninitilized display and iboot not setting an apple logo in the framebuffer
<leio> and then with patched m1n1 it resets the monitor, while it lights up on second run
<leio> lights up = shows text and logos
<janneg> but I don't think there any tricky bits, in doubt read the installer source code
<leio> yeah, no worries, just in case there was something in existence
<janneg> hmm, I think after the display init it should start printing the log from "fb console: max rows ..." on
<leio> it's what I saw from my camera recording, the monitor might take a bit of time
<leio> (or I need a slow motion camera instead of a phone :)
<janneg> I'd recommend to install fedora-asahi-remix, that images already support 13.5
<leio> kernel needs patching for it to boot and I am putting gentoo on here, at least eventually
<leio> but that's why I asked, if I will need to do something special for such a gentoo image zip
<janneg> after that rename m1n1/boot.bin on the ESP and then start with the kernel booting sections on the bottom of https://github.com/AsahiLinux/docs/wiki/Tethered-Boot-Setup-(For-Developers)
<leio> so boot.bin is the kernel and the lack of it will allow to load one from the m1n1 usb?
<j`ey> boot.bin is m1n1+u-boot
<janneg> no boot.bin is the 2nd stage m1n1 holding m1n1, dtbs and u-boot
<leio> ok, didn't get the purpose of the rename on the ESP then
maximbaz has quit [Quit: bye]
<janneg> ah, yes not necessary if it misses the dtb for the mac studio anyway
<leio> right, ok, so renaming the boot.bin would make me not have stage2 and then I can load a kernel from the stage1 m1n1? (if kernel would otherwise boot)
<janneg> otherwise it will result in a fallback to proxy mode in the 1st stage m1n1
<leio> and I can access the ESP to do so from mac OS I guess?
<j`ey> yeah, since it's some kinda FAT partition
maximbaz has joined #asahi-dev
<janneg> yes, but I think it's atm not necessary for the m2 ultra mac studio
midou has joined #asahi-dev
<leio> that's right, and why I could just chainload the patched m1n1 then
<janneg> the 2nd stage m1n1 falls back to proxy mode sionce there is no devicetree
<leio> otherwise I was reading something about needing `nvram boot-args=-v`, crsutil disable and some such that I didn't do yet
<janneg> renaming boot.bin seems esier than that
SalimTer- has joined #asahi-dev
SalimTerryLi has quit [Ping timeout: 480 seconds]
jacksonchen666 has joined #asahi-dev
nela has quit [Quit: bye!]
nela has joined #asahi-dev
jacksonchen666 has quit [Quit: WeeChat 4.0.4]
<eiln> dw
<eiln> ignore that
cylm has joined #asahi-dev
eiln has quit [Quit: WeeChat 4.0.4]
lena6 has quit [Remote host closed the connection]
lena6 has joined #asahi-dev
crabbedhaloablut has quit []