#
✕ nick:leio
#asahi-dev · 2023-09-24 21:41
leiowaiting on fedora kernel config to pair better with the initramfs and such too, lots of unused modules to build to be able to try again :)
#asahi-dev · 2023-09-24 21:41
leiowhoops, thought #192 might have made that not needed and then forgot to try that option regardless
#asahi-dev · 2023-09-24 20:56
leionow last thing is "[drm] initialized simpledrm 1.0.0 20200625 for 12fc6b54000.framebuffer on minor 1"
#asahi-dev · 2023-09-24 20:50
leiogot further after fixing CONFIG_DRM_APPLE=m to y, but still goes black
#asahi-dev · 2023-09-24 20:41
leio(I'm sure the root path is wrong)
#asahi-dev · 2023-09-24 20:41
leioran patched m1n1 twice, then proxyclient/tools/linux.py -b 'earlycon debug rootwait root=/dev/nvme0n1p5' /path/to/Image.gz /path/to/dts/apple/t6022-j475d.dtb /path/to/initramfs-6.5.4-402.asahi.fc38.aarch64+16k.img
#asahi-dev · 2023-09-24 20:39
leiohttps://github.com/AsahiLinux/linux/pull/180 and https://github.com/AsahiLinux/linux/pull/192 are included
#asahi-dev · 2023-09-24 20:38
leiowhen it does "Console: switching to colour framebuffer device 240x67"
#asahi-dev · 2023-09-24 20:35
leiook, saw some tuxes for a moment, but then black
#asahi-dev · 2023-09-24 20:03
leioasahi-6.5-4 linux tag should be good now re the trouble that was there?
#asahi-dev · 2023-09-24 12:58
leiothough would need to patch stage1 too
#asahi-dev · 2023-09-24 12:58
leiooh, so once I have things going beyond chainloading, it doesn't matter anyhow as there'll be two m1n1 too
#asahi-dev · 2023-09-24 12:48
leioand without it, would it light up anyways at u-boot, grub or kernel time and it's not really critical
#asahi-dev · 2023-09-24 12:47
leiojanneg: any updates on that display_map_fb video base update patch or think I could pull that off myself based on existing code if not yet?
#asahi-dev · 2023-09-22 20:08
leiootherwise I was reading something about needing `nvram boot-args=-v`, crsutil disable and some such that I didn't do yet
#asahi-dev · 2023-09-22 20:07
leiothat's right, and why I could just chainload the patched m1n1 then
#asahi-dev · 2023-09-22 20:06
leioand I can access the ESP to do so from mac OS I guess?
#asahi-dev · 2023-09-22 20:06
leioright, 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)
#asahi-dev · 2023-09-22 20:04
leiook, didn't get the purpose of the rename on the ESP then
#asahi-dev · 2023-09-22 20:03
leioso boot.bin is the kernel and the lack of it will allow to load one from the m1n1 usb?
#asahi-dev · 2023-09-22 20:02
leiobut that's why I asked, if I will need to do something special for such a gentoo image zip
#asahi-dev · 2023-09-22 20:01
leiokernel needs patching for it to boot and I am putting gentoo on here, at least eventually
#asahi-dev · 2023-09-22 19:59
leio(or I need a slow motion camera instead of a phone :)
#asahi-dev · 2023-09-22 19:57
leioit's what I saw from my camera recording, the monitor might take a bit of time
#asahi-dev · 2023-09-22 19:55
leioyeah, no worries, just in case there was something in existence
#asahi-dev · 2023-09-22 19:50
leiolights up = shows text and logos
#asahi-dev · 2023-09-22 19:48
leioand then with patched m1n1 it resets the monitor, while it lights up on second run
#asahi-dev · 2023-09-22 19:46
leiothe previous question was for seeing about that approach for gentoo installing
#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: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: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: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: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: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
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:39
leiothe pull request mentions it should work, so maybe outdated commit msg
#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:30
leioand that won't output any picture either way?

plus ›