#
…

2023-09-22

00:59weitcis has quit [Quit: https://quassel-irc.org - Chat comfortably. Anywhere.]
01:08weitcis has joined #asahi-dev
01:26elros has quit [Quit: WeeChat 4.0.4]
02:00gabuscus_ has quit []
02:09marcanand now it's starting to look like something in 6.5.4 stable (or some other prior version) regressed PCIe for us
02:09marcansince my 6.5.0 merge works, but the Fedora 6.5.4 rebase is all kinds of broken with PCIe IRQs
02:27weitcis has quit [Quit: https://quassel-irc.org - Chat comfortably. Anywhere.]
02:34crabbedhaloablut has joined #asahi-dev
02:34weitcis has joined #asahi-dev
02:35gabuscus has joined #asahi-dev
03:02jeisom has quit [Ping timeout: 480 seconds]
03:27VinDuv has quit [Ping timeout: 480 seconds]
04:03tristan2 has joined #asahi-dev
04:05tristan2_ has quit [Ping timeout: 480 seconds]
04:29weitcis has quit [Quit: https://quassel-irc.org - Chat comfortably. Anywhere.]
04:30weitcis has joined #asahi-dev
05:42lena6 has quit [Ping timeout: 480 seconds]
06:00lewurm`` has joined #asahi-dev
06:00DarkShadow4444 has joined #asahi-dev
06:01lewurm has quit [Read error: Connection reset by peer]
06:06DarkShadow44 has quit [Ping timeout: 480 seconds]
06:07VinDuv has joined #asahi-dev
06:20lena6 has joined #asahi-dev
06:27mf54 has joined #asahi-dev
06:31malfunction54 has quit [Ping timeout: 480 seconds]
07:33cylm has quit [Ping timeout: 480 seconds]
07:49mazaxboe: 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!
07:50maz(and we should probably take this somewhere else, as this is quite OT)
08:34kujeger has quit [Remote host closed the connection]
08:35kujeger has joined #asahi-dev
08:47mutilenka has joined #asahi-dev
09:07jeisom has joined #asahi-dev
09:31chadmed has quit [Remote host closed the connection]
09:32chadmed has joined #asahi-dev
10:39elros has joined #asahi-dev
10:47cylm has joined #asahi-dev
10:58cylm_ has joined #asahi-dev
11:00cylm has quit [Ping timeout: 480 seconds]
11:00eilnlina: estimated time of the sekrit work stream (if any)? I really don't wanna miss that one ;)
11:08elros has quit [Quit: WeeChat 4.0.4]
11:22compassion1785 has quit [Read error: Connection reset by peer]
11:24compassion1785 has joined #asahi-dev
11:45cyrozap has quit [Quit: ZNC 1.8.2+deb3.1 - https://znc.in]
11:50elros has joined #asahi-dev
11:50elros has quit []
12:04skippypaws has quit [Quit: Connection closed for inactivity]
12:11cyrozap has joined #asahi-dev
12:34skipwich has quit [Ping timeout: 480 seconds]
12:48skipwich has joined #asahi-dev
13:54cyrozap has quit [Quit: ZNC 1.8.2+deb3.1 - https://znc.in]
13:59cyrozap has joined #asahi-dev
14:01cyrozap has quit []
14:05cyrozap has joined #asahi-dev
14:51cyrozap has quit [Quit: ZNC 1.8.2+deb3.1 - https://znc.in]
14:56cyrozap has joined #asahi-dev
15:01derzahl has quit [Ping timeout: 480 seconds]
15:04jeisom has quit [Ping timeout: 480 seconds]
15:05cylm_ has quit [Ping timeout: 480 seconds]
15:13linaeiln: I was planning to do it today, but I had a weirdly busy day again... maybe tomorrow (sunday) 3PM JST?
15:14linaI mean saturday
15:34cyrozap has quit [Quit: ZNC 1.8.2+deb3.1 - https://znc.in]
15:35jacksonchen666 has joined #asahi-dev
15:56jacksonchen666 has quit [Ping timeout: 480 seconds]
15:57cyrozap has joined #asahi-dev
15:59mutilenka has quit [Quit: Leaving]
16:24jacksonchen666 has joined #asahi-dev
16:43jeisom has joined #asahi-dev
16:47cyrozap has quit [Quit: ZNC 1.8.2+deb3.1 - https://znc.in]
16:52cyrozap has joined #asahi-dev
16:52flatz has joined #asahi-dev
16:56flatz has quit []
17:25leioAny 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
17:26j`eywhat are you trying to do? run u-boot/linux?
17:27leiochain-load patched m1n1
17:28j`eythat worked didn't it?
17:28leiothere's no HDMI output - am I not supposed to see any picture until u-boot?
17:28j`eywhat command have you run?
17:29j`eyso youve rebuilt boot.bin? with the patched m1n1?
17:29leioI ran make on m1n1 off the branch and `proxyclient/tools/chainload.py -r build/m1n1.bin`
17:30j`eyyeah, that just runs m1n1, there's no u-boot there
17:30leioand that won't output any picture either way?
17:33j`eym1n1 *should* write a framebuffer (TTY> fb init: 1920x1080 (30) [s=1920] @0x12fc6b54000)
17:34j`ey(but this is now outside of what I know, I was just trying to figure out exactly what you tried / expected)
17:37Vivi has joined #asahi-dev
17:38leioyeah, 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
18:05jacksonchen666 has quit [Ping timeout: 480 seconds]
18:14Cyrinux9474 has quit []
18:14Cyrinux9474 has joined #asahi-dev
18:35leiothere'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?
18:35leioand also "M2 Ultra support is untested and broken due to the wrong clock-gate."
18:37j`eyah, didnt see that in the commit messages (didnt look)
18:37j`ey(I saw the SMC support added, so assumed it was used)
18:39leiothe pull request mentions it should work, so maybe outdated commit msg
18:40j`eyI think the commits have been updated, but not the PR
18:53janneg has joined #asahi-dev
18:54jannegPR/and commit messages were outdated, refreshed
18:55jannegleio: your log looks to me like everything works. does the display sees that 1920x1080@60 is used as mode?
18:56jannegwhat happens if you chainload m1n1 again
19:03Cyrinux9474 has quit []
19:03Cyrinux9474 has joined #asahi-dev
19:15leiojanneg: should I be seeing any logo on it?
19:16leiojanneg: uh, and now running it again I see stuff
19:16leiopretty sure it was the third run of the patched m1n1.bin
19:22leiook, shut down and tried again
19:22jannegthird chainload or 3rd run after reboots?
19:22leiofirst nothing, as it's old m1n1
19:22leiothen chainloaded patched m1n1.bin - no picture
19:22leiothen chainloaded it again - picture now
19:23jannegok, that sounds as if there's an issue with rendering after the display config
19:23jannegthe second chainload shouldn't touch the display
19:24jannegor maybe it does. please paste the log of the second chainload
19:24leiohttps://dpaste.com/8D7KS6TPR has the first and second chainload
19:25leio(second chainload at line 201)
19:26jannegthe second chainload reconfigures the display
19:26jannegmaybe there's an issue with not updating the framebuffer address fully/correctly in 1st chainload
19:27leiolooks like to get further I need to patch the kernel too - ERROR: Kernel found but no devicetree for apple,j475d available.
19:28leiohttps://dpaste.com/G33AZYEKC is the fedora minimal installed m1n1 initial boot, fwiw
19:31janneglooks like display_map_fb() misses to update video.base. I'll prepare a patch to test
19:32gabuscus_ has joined #asahi-dev
19:32leioeh, 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
19:33leioweird to have an extra one - I'd understand the swapping between them otherwise
19:35leioright, so the first run with patched m1n1 does make the monitor do something too
19:35gabuscus has quit [Ping timeout: 480 seconds]
19:36leioand second run I start seeing picture since "TTY> USB2: initialized at 0x10004f71690" or so, with the rest scrolling by
19:43leiodo there happen to be any docs about how the installer images need to be like?
19:45janneghmm, no I think
19:45leioor 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
19:46leiothe previous question was for seeing about that approach for gentoo installing
19:47jannegthe 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
19:48leioand then with patched m1n1 it resets the monitor, while it lights up on second run
19:50leiolights up = shows text and logos
19:54jannegbut I don't think there any tricky bits, in doubt read the installer source code
19:55leioyeah, no worries, just in case there was something in existence
19:57janneghmm, I think after the display init it should start printing the log from "fb console: max rows ..." on
19:57leioit's what I saw from my camera recording, the monitor might take a bit of time
19:59leio(or I need a slow motion camera instead of a phone :)
20:00jannegI'd recommend to install fedora-asahi-remix, that images already support 13.5
20:01leiokernel needs patching for it to boot and I am putting gentoo on here, at least eventually
20:02leiobut that's why I asked, if I will need to do something special for such a gentoo image zip
20:02jannegafter 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)
20:03leioso boot.bin is the kernel and the lack of it will allow to load one from the m1n1 usb?
20:04j`eyboot.bin is m1n1+u-boot
20:04jannegno boot.bin is the 2nd stage m1n1 holding m1n1, dtbs and u-boot
20:04leiook, didn't get the purpose of the rename on the ESP then
20:05maximbaz has quit [Quit: bye]
20:05jannegah, yes not necessary if it misses the dtb for the mac studio anyway
20:06leioright, 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)
20:06jannegotherwise it will result in a fallback to proxy mode in the 1st stage m1n1
20:06leioand I can access the ESP to do so from mac OS I guess?
20:06j`eyyeah, since it's some kinda FAT partition
20:07maximbaz has joined #asahi-dev
20:07jannegyes, but I think it's atm not necessary for the m2 ultra mac studio
20:07midou has joined #asahi-dev
20:07leiothat's right, and why I could just chainload the patched m1n1 then
20:07jannegthe 2nd stage m1n1 falls back to proxy mode sionce there is no devicetree
20:08leiootherwise I was reading something about needing `nvram boot-args=-v`, crsutil disable and some such that I didn't do yet
20:08jannegrenaming boot.bin seems esier than that
20:23SalimTer- has joined #asahi-dev
20:26SalimTerryLi has quit [Ping timeout: 480 seconds]
20:29jacksonchen666 has joined #asahi-dev
20:40nela has quit [Quit: bye!]
20:41nela has joined #asahi-dev
20:47jacksonchen666 has quit [Quit: WeeChat 4.0.4]
22:16eilnignore that
22:18cylm has joined #asahi-dev
22:29eiln has quit [Quit: WeeChat 4.0.4]
22:58lena6 has quit [Remote host closed the connection]
22:59lena6 has joined #asahi-dev
23:03crabbedhaloablut has quit []
…