#
#asahi-dev · 2023-09-22 19:45
leioor 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
#asahi-dev · 2023-09-22 19:45
janneghmm, no I think
#asahi-dev · 2023-09-22 19:43
leiodo there happen to be any docs about how the installer images need to be like?
#asahi-dev · 2023-09-22 19:36
leioand second run I start seeing picture since "TTY> USB2: initialized at 0x10004f71690" or so, with the rest scrolling by
#asahi-dev · 2023-09-22 19:35
leioright, so the first run with patched m1n1 does make the monitor do something too
#asahi-dev · 2023-09-22 19:33
leioweird to have an extra one - I'd understand the swapping between them otherwise
#asahi-dev · 2023-09-22 19:33
jannegleio: see https://github.com/AsahiLinux/m1n1/blob/main/udev/80-m1n1.rules for stable symlinks
#asahi-dev · 2023-09-22 19:32
jannegyes, you need https://github.com/AsahiLinux/linux/pull/180 and https://github.com/AsahiLinux/linux/pull/192 for the kernel
#asahi-dev · 2023-09-22 19:32
leioeh, 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
#asahi-dev · 2023-09-22 19:31
janneglooks like display_map_fb() misses to update video.base. I'll prepare a patch to test
#asahi-dev · 2023-09-22 19:28
leiohttps://dpaste.com/G33AZYEKC is the fedora minimal installed m1n1 initial boot, fwiw
#asahi-dev · 2023-09-22 19:27
leiolooks like to get further I need to patch the kernel too - ERROR: Kernel found but no devicetree for apple,j475d available.
#asahi-dev · 2023-09-22 19:26
jannegmaybe there's an issue with not updating the framebuffer address fully/correctly in 1st chainload
#asahi-dev · 2023-09-22 19:26
jannegthe second chainload reconfigures the display
#asahi-dev · 2023-09-22 19:25
leio(second chainload at line 201)
#asahi-dev · 2023-09-22 19:24
leiohttps://dpaste.com/8D7KS6TPR has the first and second chainload
#asahi-dev · 2023-09-22 19:24
jannegor maybe it does. please paste the log of the second chainload
#asahi-dev · 2023-09-22 19:23
jannegthe second chainload shouldn't touch the display
#asahi-dev · 2023-09-22 19:23
jannegok, that sounds as if there's an issue with rendering after the display config
#asahi-dev · 2023-09-22 19:22
leiothen chainloaded it again - picture now
#asahi-dev · 2023-09-22 19:22
leiothen chainloaded patched m1n1.bin - no picture
#asahi-dev · 2023-09-22 19:22
leiofirst nothing, as it's old m1n1
#asahi-dev · 2023-09-22 19:22
jannegthird chainload or 3rd run after reboots?
#asahi-dev · 2023-09-22 19:22
leiook, shut down and tried again
#asahi-dev · 2023-09-22 19:16
leiopretty sure it was the third run of the patched m1n1.bin
#asahi-dev · 2023-09-22 19:16
leiojanneg: uh, and now running it again I see stuff
#asahi-dev · 2023-09-22 19:15
leiojanneg: should I be seeing any logo on it?
#asahi-dev · 2023-09-22 18:56
jannegwhat happens if you chainload m1n1 again
#asahi-dev · 2023-09-22 18:55
jannegleio: your log looks to me like everything works. does the display sees that 1920x1080@60 is used as mode?
#asahi-dev · 2023-09-22 18:54
jannegPR/and commit messages were outdated, refreshed
#asahi-dev · 2023-09-22 18:40
j`eyI think the commits have been updated, but not the PR
#asahi-dev · 2023-09-22 18:39
leiothe pull request mentions it should work, so maybe outdated commit msg
#asahi-dev · 2023-09-22 18:37
j`ey(I saw the SMC support added, so assumed it was used)
#asahi-dev · 2023-09-22 18:37
j`eyah, didnt see that in the commit messages (didnt look)
#asahi-dev · 2023-09-22 18:35
leioand also "M2 Ultra support is untested and broken due to the wrong clock-gate."
#asahi-dev · 2023-09-22 18:35
leiothere'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?
#asahi-dev · 2023-09-22 17:38
leioyeah, 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
#asahi-dev · 2023-09-22 17:34
j`ey(but this is now outside of what I know, I was just trying to figure out exactly what you tried / expected)
#asahi-dev · 2023-09-22 17:33
j`eym1n1 *should* write a framebuffer (TTY> fb init: 1920x1080 (30) [s=1920] @0x12fc6b54000)
#asahi-dev · 2023-09-22 17:30
leioand that won't output any picture either way?
#asahi-dev · 2023-09-22 17:30
j`eyyeah, that just runs m1n1, there's no u-boot there
#asahi-dev · 2023-09-22 17:29
leioI ran make on m1n1 off the branch and `proxyclient/tools/chainload.py -r build/m1n1.bin`
#asahi-dev · 2023-09-22 17:29
j`eyso youve rebuilt boot.bin? with the patched m1n1?
#asahi-dev · 2023-09-22 17:28
j`eywhat command have you run?
#asahi-dev · 2023-09-22 17:28
leiothere's no HDMI output - am I not supposed to see any picture until u-boot?
#asahi-dev · 2023-09-22 17:28
j`eythat worked didn't it?
#asahi-dev · 2023-09-22 17:27
leiochain-load patched m1n1
#asahi-dev · 2023-09-22 17:26
j`eywhat are you trying to do? run u-boot/linux?
#asahi-dev · 2023-09-22 17:25
leioAny 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
#asahi-dev · 2023-09-22 15:14
linaI mean saturday

plus ›