#asahi · 2022-01-26 19:50
VinDuvGlanzmann: https://github.com/AsahiLinux/m1n1#usage#asahi · 2022-01-25 19:14
VinDuvbut AFAIK iboot in < 12.0 did the same so it’s not sure whether larger resolutions would work reliably#asahi · 2022-01-25 19:13
VinDuv1080p probably, this is a hard coded limit in m1n1#asahi · 2022-01-20 20:32
VinDuvand I can “fix” it by waiting 2 seconds after dcp_ib_swap_begin and calling dcp_ib_set_mode again.#asahi · 2022-01-20 20:31
VinDuvIf I call dcp_ib_get_hpd in a loop after dcp_ib_swap_begin I can see connected going back to 0 then to 1. DCP syslog also says “display HPD removed” then “display HPD asserted”#asahi · 2022-01-20 20:30
VinDuvokay, I figured out why my monitor doesn’t work in m1n1: it looks like it briefly disconnects itself while going out of sleep mode#asahi · 2022-01-17 12:41
VinDuvRebuilt m1n1 with RTKIT_SYSLOG enabled: https://paste.debian.net/hidden/2c8254dc/ It looks like DCP doesn’t like something about my monitor?#asahi · 2022-01-17 11:49
VinDuvGot the logs for my 1080p monitor: https://paste.debian.net/hidden/b4bb9fcd/ (both cold boot and chainload; when chainloading, the screens powers up briefly as well)#asahi · 2022-01-17 11:07
VinDuv(I mean with the 11 installer on a USB stick, not the DFU restore)#asahi · 2022-01-17 11:07
VinDuvI actually installed 11 on the mini after the fact (via USB), but I don’t thing that downgraded iBoot#asahi · 2022-01-17 08:25
VinDuv(I always had some odd issues with that monitor so I wouldn’t be surprised if it didn’t work…)#asahi · 2022-01-17 08:23
VinDuvjannau: I never had a chance to try the old iBoot, unfortunately. (When I got the mini, 12.0.1 was already out and I installed it right away). Will try the chainload later.#asahi · 2022-01-17 07:56
VinDuvI did a test of jannau's branch on my 1080p monitor. It now lights up, but says “no signal” and goes back to sleep. I’ll get the serial output in a few hours.#asahi · 2022-01-16 22:02
VinDuvjannau: Thanks! It’s getting a bit late here but I’ll test it tomorrow.#asahi · 2022-01-16 22:01
VinDuvI added COMPARE(modes[i].height <= 1080, best->height <= 1080); to limit the vertical resolution as well and it seems to work.#asahi · 2022-01-16 21:53
VinDuvmodified display.c to dump the modes: https://paste.debian.net/hidden/92e9158a/#asahi · 2022-01-16 21:49
VinDuvso that makes sense#asahi · 2022-01-16 21:49
VinDuvAh, looks like it’s using 1920x2160 as resolution#asahi · 2022-01-16 21:46
VinDuvIt almost works on my 4K monitor; the image seems squished vertically#asahi · 2022-01-16 21:38
VinDuvright! it works after chainloading#asahi · 2022-01-16 21:28
VinDuvI just upgraded the Asahi volume on my mini to 12.1 and installed m1n1.bin. It doesn’t seem to detect the display: https://paste.debian.net/hidden/1f51c07e/#asahi · 2021-12-24 09:13
VinDuvnon-journaled case-sensitive HFS+ may work though#asahi · 2021-12-24 09:09
VinDuvit may work but probably not very well#asahi · 2021-11-11 07:30
VinDuvok, will do once I stop messing up with the MBP and go back to the mini :)#asahi · 2021-11-11 06:43
VinDuvjannau: does it still work in m1n1 if you install it on a macOS 11 base?#asahi · 2021-11-11 06:18
VinDuvbut that seems like something that only Apple can fix and and since the screen does work in macOS (even in the boot picker, after a few seconds) I’m not sure how I could report it as a bug :-/#asahi · 2021-11-11 06:16
VinDuv“no HDMI signal” => I actually have this problem on my Mini with both of my displays and I think it’s because the minimal framebuffer set up by iBoot doesn’t like them somehow#asahi · 2021-11-08 20:01
VinDuvThe only small annoyance is that MacPorts puts clang in /opt/local/bin, but since it’s in the PATH I just set TOOLCHAIN=''#asahi · 2021-11-08 20:00
VinDuvmarcan: I tried building and running m1n1 under macOS with clang 11 from MacPorts and it worked fine, thanks! I ran chainload.py it twice without issues.#asahi · 2021-11-08 07:11
VinDuvmarcan: I think you didn’t push your changes to asm.py#asahi · 2021-11-06 11:25
VinDuvIt wouldn’t surprise me that the USB-PD stuff all occurs in the cable itself and that the Mac just sees the MagSafe interface (probably identical to older MagSafe)#asahi · 2021-11-06 11:22
VinDuv(hmm that’s confusing, MagSafe 2 is actually a minor revision of MagSafe back in 2012, the M1 Macs are actually MagSafe 3)#asahi · 2021-11-06 11:16
VinDuvaccording to WP 1 and 5 are GND, 2 and 4 are V+ and 3 is sense (on MagSafe 1)#asahi · 2021-11-06 11:11
VinDuvI think there is a sense pin to make sure there is no short circuit before delivering power#asahi · 2021-11-06 11:10
VinDuvthey always had 5 pins afaik#asahi · 2021-11-04 07:13
VinDuvsven: I can confirm that building a custom debug kernelcache without AppleSerialShim makes cu.debug-console works in 12.0.1. I think I’ll also try to rename "uart0" in the ADT with the hypervisor, given how AppleSerialShim matches devices it might also work…#asahi · 2021-11-03 18:04
VinDuvsven: yes, macvdmtool still works fine on Monterey. I’d guess the switch to serial mode works too and it’s just the serial port that’s inaccessible#asahi · 2021-11-03 06:46
VinDuvjannau: it worked, thanks! I’ll add it to the wiki#asahi · 2021-11-03 06:13
VinDuvIs it possible to revert back to macOS after installing m1n1 on a partition with kmutil configure-boot?#asahi · 2021-10-31 17:51
VinDuvmy only guess is that programs that use serial ports (like the Arduino IDE for instance) were detecting it and that was confusing#asahi · 2021-10-31 16:43
VinDuvLooking at the Info.plist of both extensions, it looks like AppleSerialShim matches on "uart0" and (or?) property "boot-console" while AppleSamsungSerial matches on "uart-1,samsung" which is in the compatible of uart0 in the adt. I guess that’s how the shim takes precedence#asahi · 2021-10-31 16:06
VinDuvhttps://paste.debian.net/plain/1217485 14" MBP uart0 dt#asahi · 2021-10-31 16:02
VinDuvmaybe we just need to kill this driver?#asahi · 2021-10-31 16:02
VinDuvlooks like the mini on 12 also has this AppleSerialShim thing#asahi · 2021-10-31 15:59
VinDuvhmm https://paste.debian.net/plain/1217482#asahi · 2021-10-31 15:52
VinDuvlet me check ioreg on 12#asahi · 2021-10-31 15:51
VinDuvon both 11 and 12#asahi · 2021-10-31 15:51
VinDuvInterestingly com.apple.driver.AppleOnboardSerial and com.apple.driver.AppleSamsungSerial are listed by kextstat#asahi · 2021-10-31 15:50
VinDuvon the mini I did a diff of /dev/ between macOS 11 and 12 and didn’t find anything relevant (other than cu.debug-console disappearing)#asahi · 2021-10-31 15:40
VinDuvyes