#
#asahi · 2023-09-28 13:13
leioI ran csrutil disable and chose the fedora APFS out of the choices
#asahi · 2023-09-28 13:12
j`eywith csrutil
#asahi · 2023-09-28 13:12
leiook, I'll keep that in mind after I've got a patched u-boot binary
#asahi · 2023-09-28 13:12
j`eyhave you disabled SIP too?
#asahi · 2023-09-28 13:12
leioI understood nvram option should give me the opportunity to connect to ttyACM and not have to do the "delete boot.bin" dances
#asahi · 2023-09-28 13:11
jannegif you just boot the m1n1/boot.bin from the device via run_guest.py you will have the virtual serial through the whole stack
#asahi · 2023-09-28 13:11
j`eyif boot.bin starts it will try to load u-boot, and before it does that, it will disable usb
#asahi · 2023-09-28 13:10
leiogoes looking how u-boot is built for fedora
#asahi · 2023-09-28 13:10
leioright, so that explains why it doesn't boot, but not why I have no boot-args=-v honoring
#asahi · 2023-09-28 13:10
j`eyif you're using the u-boot from fedora, it doesnt have that
#asahi · 2023-09-28 13:09
leiothe nvram boot-args=-v stuff didn't work for me either - if boot.bin (stage2) is found, I never get any ttyACM* anymore
#asahi · 2023-09-28 13:09
leioso I need to check into that
#asahi · 2023-09-28 13:09
leioand it has M2 ultra support as last commit to board.c, which I'm not sure whether is included in my binary or not
#asahi · 2023-09-28 13:08
leiohmm, looking into it I clone the u-boot repo and looked at history
#asahi · 2023-09-28 13:08
j`eytrying to figure out what the stages of m1n1 are doing would be good, by connecting via USB
#asahi · 2023-09-28 13:04
leioI guess I should make sure m1n1 stage2 does go through the cur_boot_args.video.base conditional that sets up a bunch of framebuffer things with fdt_setprop calls
#asahi · 2023-09-28 13:02
j`eyI'm not sure how you can do that though
#asahi · 2023-09-28 13:00
leioI need to drop in some vars to get u-boot serial console?
#asahi · 2023-09-28 13:00
leio(that output and logo are from stage2 then, as the current m1n1 patches don't set up the framebuffer base or something, so only the stage2 gets that going to display stuff on monitor)
#asahi · 2023-09-28 12:58
leioI also installed a chainloading patched m1n1 as stage1 in the hope that the display is initialized (and that's why I see the logo now and some m1n1 output scroll by)
#asahi · 2023-09-28 12:58
leiofor update-m1n1 I modified the sysconfig file in fedora to point to a patched m1n1 instead and just re-ran it. The dtb's it picks up already come from the new kernel package and include the new dtb's. But afterwards I just get no output beyond some m1n1 scroll-through and the logo on anything to know what's wrong
#asahi · 2023-09-28 12:56
leioso my conundrum freshly summarized is: I have built a patched fedora kernel rpm (for j475d dtb and hdmi and other support on it) and installed it, but after update-m1n1 I'm not getting any output on anything and can't know what's going on. I see a asahi logo in the middle of the screen, I think it comes from m1n1
#asahi · 2023-09-28 12:56
j`eyhttps://github.com/AsahiLinux/u-boot/blob/a5b0fccb5b8b13f4ea730f5bacde2aae707386df/arch/arm/mach-apple/board.c#L472
#asahi · 2023-09-28 12:55
j`eyit can do
#asahi · 2023-09-28 12:54
leioand doesn't have any output support over a ttyACM thing like m1n1?
#asahi · 2023-09-28 12:54
j`eyyes, it shows the uboot logo and command prompt
#asahi · 2023-09-28 12:52
leiois u-boot supposed to show any output on monitors? I don't really have a comparison to know from other hardware
#asahi · 2023-09-28 12:50
j`eyleio: possibly with `binwalk`
#asahi · 2023-09-28 12:48
leiocan I somehow grab the Image.gz equivalent (to feed into linux.py or run_guest_kernel) out of a EFI UKI kernel image?
#asahi · 2023-09-27 23:17
jannegI think there was someone else with a flickering touchbar 1-2 years ago
#asahi · 2023-09-27 21:48
pitustthe touchbar strobing issues make asahi unusable
#asahi · 2023-09-27 21:47
pitustyeah but idk if i want to bother
#asahi · 2023-09-27 21:47
j`eyseems like ssway does have some support for non-desktop, but maybe you have to config that explicitly, not sure, dont know sway well
#asahi · 2023-09-27 21:43
pitustno digitizer (expected, didn't enable it in kconfig), touchbar strobes (hoped this would fix it), sway doesn't work (probably needs some hacks)
#asahi · 2023-09-27 21:39
pitusthonestly this touchbar issue makes asahi ~unusable
#asahi · 2023-09-27 21:37
pitusttiny-dfr is broken
#asahi · 2023-09-27 21:37
pitustik ik
#asahi · 2023-09-27 21:36
j`eyhttps://oftc.irclog.whitequark.org/asahi/2023-09-24#32512539
#asahi · 2023-09-27 21:35
pitustsway no like touchbar
#asahi · 2023-09-27 21:35
pitustmy system is fucked
#asahi · 2023-09-27 21:35
pitustokay so uh
#asahi · 2023-09-27 21:13
ydaltonlina was a programmer teddy bear all along?
#asahi · 2023-09-27 21:13
ydaltonomg lina face reveal?
#asahi · 2023-09-27 20:10
pitustso smart
#asahi · 2023-09-27 20:10
pitustim an idiot i built linux-asahi *and* linux-asahi-edge
#asahi · 2023-09-27 19:28
leiochainloading the u-boot binary yield the same result of no output on anything, I guess that's my problem (on top of for some reason not getting m1n1 output unless payload is missing), but can't be sure as maybe I need to load it dtb's or something too that I don't know how to
#asahi · 2023-09-27 19:01
leioif I move away boot.bin to force stage1 into proxy mode anyways, I get in there (due to no payload, etc). Chainloading with proxyclient that boot.bin makes it not able to reconnect afterwards, so I don't get any debug either. If I chainload only the m1n1 part (what I fed to update-m1n1), then it works fine
#asahi · 2023-09-27 18:53
leiomy stage1 isn't even a release build
#asahi · 2023-09-27 18:45
leio(because the hdmi output patches for M2 ultra Mac Studio only get picture visible on second run of m1n1 right now)
#asahi · 2023-09-27 18:44
leiowhich suggests that it does load stage2

plus ›