2023-09-24
00:32the_sea_peoples has quit [Quit: WeeChat 2.8]
00:33the_sea_peoples has joined #asahi-dev
01:03midou has quit [Ping timeout: 480 seconds]
01:06midou has joined #asahi-dev
01:06jeisom has quit [Ping timeout: 480 seconds]
01:15as400 has quit [Remote host closed the connection]
01:16jacksonchen666 has quit [Remote host closed the connection]
01:20as400 has joined #asahi-dev
01:24jacksonchen666 has joined #asahi-dev
02:00gabuscus has quit []
02:36gabuscus has joined #asahi-dev
02:41eiln has quit [Quit: WeeChat 4.0.4]
03:11c10l9 has joined #asahi-dev
03:13c10l has quit [Ping timeout: 480 seconds]
03:51javier_varez has quit [Ping timeout: 480 seconds]
04:00javier_varez has joined #asahi-dev
04:01tristan2 has joined #asahi-dev
04:03tristan2_ has quit [Ping timeout: 480 seconds]
04:09javier_varez has quit [Ping timeout: 480 seconds]
04:17javier_varez has joined #asahi-dev
04:25javier_varez has quit [Ping timeout: 480 seconds]
04:34javier_varez has joined #asahi-dev
04:34jacksonchen666 has quit [Ping timeout: 480 seconds]
04:42javier_varez has quit [Ping timeout: 480 seconds]
04:50javier_varez has joined #asahi-dev
04:58javier_varez has quit [Ping timeout: 480 seconds]
05:06javier_varez has joined #asahi-dev
05:15javier_varez has quit [Ping timeout: 480 seconds]
05:17tobhe has joined #asahi-dev
05:21tobhe_ has quit [Ping timeout: 480 seconds]
05:25javier_varez has joined #asahi-dev
05:57javier_varez has quit [Ping timeout: 480 seconds]
06:05javier_varez has joined #asahi-dev
06:13javier_varez has quit [Ping timeout: 480 seconds]
06:19crabbedhaloablut has joined #asahi-dev
06:22javier_varez has joined #asahi-dev
06:26maximbaz has quit [Quit: Ping timeout (120 seconds)]
06:26maximbaz has joined #asahi-dev
06:28Retr0id has quit [Read error: Connection reset by peer]
06:28Retr0id has joined #asahi-dev
06:31javier_varez has quit [Ping timeout: 480 seconds]
06:35SalimTerryLi has quit [Quit: ZNC - https://znc.in]
06:37SalimTerryLi has joined #asahi-dev
06:39javier_varez has joined #asahi-dev
06:40qdot_ has joined #asahi-dev
06:40qdot has quit [Read error: Connection reset by peer]
06:44grange_c68 has quit [Remote host closed the connection]
06:44grange_c68 has joined #asahi-dev
06:47javier_varez has quit [Ping timeout: 480 seconds]
06:55javier_varez has joined #asahi-dev
07:08javier_varez has quit [Ping timeout: 480 seconds]
07:09javier_varez has joined #asahi-dev
07:24maximbaz has quit [Quit: Ping timeout (120 seconds)]
07:25maximbaz has joined #asahi-dev
08:17jacksonchen666 has joined #asahi-dev
08:35javier_varez has left #asahi-dev [WeeChat 3.8]
08:37javier_varez has joined #asahi-dev
09:29flom84 has joined #asahi-dev
09:32chadmed has quit [Remote host closed the connection]
09:35flom84 has quit [Quit: Leaving]
09:37flom84 has joined #asahi-dev
09:53mutilenka has joined #asahi-dev
10:00chadmed has joined #asahi-dev
10:04mutilenka has quit [Ping timeout: 480 seconds]
10:23mutilenka has joined #asahi-dev
10:45johey has quit [Ping timeout: 480 seconds]
10:45johey has joined #asahi-dev
11:02mutilenka has quit [Remote host closed the connection]
11:02mutilenka has joined #asahi-dev
11:22mutilenka has quit [Remote host closed the connection]
11:23mutilenka has joined #asahi-dev
11:33jacksonchen666 has quit [Remote host closed the connection]
11:34jacksonchen666 has joined #asahi-dev
11:34mutilenka has quit [Ping timeout: 480 seconds]
11:47eiln has joined #asahi-dev
11:49jeisom has joined #asahi-dev
11:49jannegOh, I've never looked at the nvram on m2 devices. Apple changed the nvram format: https://github.com/AsahiLinux/linux/issues/193
12:20hightower2 has quit [Ping timeout: 480 seconds]
12:20jacksonchen666 has quit [Remote host closed the connection]
12:20jacksonchen666 has joined #asahi-dev
12:27eiln has quit [Quit: WeeChat 4.0.4]
12:33yaboishady33 is now known as afeedhshaji
12:41mutilenka has joined #asahi-dev
12:43hightower2 has joined #asahi-dev
12:47leiojanneg: 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?
12:48leioand without it, would it light up anyways at u-boot, grub or kernel time and it's not really critical
12:57jannegleio: that's not the "problem". the video.base stays the same all the time. I'm not even sure this behavior differs from from m1 ultra. it's just usually hidden since we have 2 m1n1 instances initializing the display anyway
12:58leiooh, so once I have things going beyond chainloading, it doesn't matter anyhow as there'll be two m1n1 too
13:00jannegI would expect that u-boot and linux can use the framebuffer even if there is just a single m1n1 initializing the display
14:17flom84 has quit [Quit: Leaving]
14:19mutilenka has quit [Ping timeout: 480 seconds]
14:36cylm has joined #asahi-dev
15:00mutilenka has joined #asahi-dev
15:16jacksonchen666 has quit [Quit: WeeChat 4.0.4]
15:34linaAnd I can't find a way to override the logic that goes from that to initializing the buffers when starting the channel...
15:35linaSo... either we make preset 0 work somehow, or we do something really evil like write directly into firmware memory somehow...
15:38mutilenka has quit []
15:42rhysmdnz has quit [Quit: Bridge terminating on SIGTERM]
15:42Guest856 has quit [Quit: Bridge terminating on SIGTERM]
15:45rhysmdnz has joined #asahi-dev
15:45ChaosPrincesscan you even write into firmware memory after iboot? isnt there ctrr involved
15:46Guest1158 has joined #asahi-dev
16:03dylanchapell has quit [Remote host closed the connection]
16:11dylanchapell has joined #asahi-dev
16:46javier_varez has quit [Ping timeout: 480 seconds]
16:53jeisom has quit [Quit: Leaving]
16:55javier_varez has joined #asahi-dev
16:59jeisom has joined #asahi-dev
17:05javier_varez has quit [Ping timeout: 480 seconds]
17:06stek has joined #asahi-dev
17:09javier_varez has joined #asahi-dev
17:16systwi has quit [Read error: Connection reset by peer]
17:17systwi has joined #asahi-dev
17:18javier_varez has quit [Ping timeout: 480 seconds]
17:24javier_varez has joined #asahi-dev
17:42flom84 has joined #asahi-dev
17:42jannegstek: asahi-${date} tags in https://gitlab.freedesktop.org/asahi/mesa not really a dev topic, in doubt look what the distro packages do
17:45javier_varez has quit [Ping timeout: 480 seconds]
17:49javier_varez has joined #asahi-dev
17:59javier_varez has quit [Ping timeout: 480 seconds]
18:02javier_varez has joined #asahi-dev
18:04feliciss has joined #asahi-dev
18:04feliciss has left #asahi-dev [#asahi-dev]
18:32blazra has quit [Remote host closed the connection]
18:33blazra has joined #asahi-dev
18:51jeisom has quit [Remote host closed the connection]
18:52gladiac is now known as Guest1167
18:52gladiac has joined #asahi-dev
18:52jeisom has joined #asahi-dev
18:54javier_varez has quit [Ping timeout: 480 seconds]
18:55flom84 has quit [Quit: Leaving]
18:57javier_varez has joined #asahi-dev
18:57Guest1167 has quit [Ping timeout: 480 seconds]
19:16javier_varez has quit [Ping timeout: 480 seconds]
19:19flom84 has joined #asahi-dev
19:24javier_varez has joined #asahi-dev
19:33javier_varez has quit [Quit: WeeChat 3.8]
19:40flom_84 has joined #asahi-dev
19:45flom84 has quit [Ping timeout: 480 seconds]
19:51flom_84 has quit [Remote host closed the connection]
20:05midou has quit [Ping timeout: 480 seconds]
20:09gladiac is now known as Guest1173
20:09gladiac has joined #asahi-dev
20:12le_petit_segfault has joined #asahi-dev
20:15Guest1173 has quit [Ping timeout: 480 seconds]
20:19jannegyes, you probably wouldn't even have run into the issue on 6.5-3 unless you copied the fedora kernel config
20:21crabbedhaloablut has quit []
20:39leiohttps://github.com/AsahiLinux/linux/pull/180 and https://github.com/AsahiLinux/linux/pull/192 are included
20:41leioran 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
20:50le_petit_segfault has quit [Ping timeout: 480 seconds]
20:56leionow last thing is "[drm] initialized simpledrm 1.0.0 20200625 for 12fc6b54000.framebuffer on minor 1"
21:04cylm_ has joined #asahi-dev
21:06cylm has quit [Ping timeout: 480 seconds]
21:13stek has quit [Quit: Leaving]
21:26le_petit_segfault has joined #asahi-dev
21:38jannegmodule or built-in for CONFIG_DRM_APPLE shouldn't make a difference but in doubt disable it
21:41leiowhoops, thought #192 might have made that not needed and then forgot to try that option regardless
21:41leiowaiting 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 :)
21:48leiohow would I get it to load the initramfs, it seems to try to boot from the UUID based root itself
21:56jannegleio: I would have thought that #192 is sufficient but ps_dispext0_cpu0 might need 'apple,min-state = <4>;'
21:57leiofeels like proxyclient/tools/linux.py uploaded initramfs isn't getting used for some reason
21:58le_petit_segfault has quit [Ping timeout: 480 seconds]
22:01jannegthat will solve the double chainload annoyance. you need to chainload once before run_guest_kernel to ensure the HV interfaces matches and run_guest_kernel will exucute m1n1 in the hypervisor
22:04leioso run_guest_kernel would be doing some hypervisor stuff in the background too, which if I want to just run the thing doesn't sound the best I suppose
22:08jannegthe hypervisor has the advantage of proving a virtual serial on the second acm interface making debugging easier
22:09leiolooks like I need that initially, as it boots all nice and fine, but I don't get a login prompt nor a working keyboard (USB-A)
22:11jannegtry usb-c, usb-a is more complex and needs firmware (and firmware handling in the initrd)
22:13jannegbut that sounds that it neither finds the initrd or a rootfs. in the beginning it's easier to boot without initrd and modules and simply build everything into the kernel image
22:14leioso I now took the asahi-6.5-4 tag, the kernel config from that install, patched things and just trying to run it with the UUIDs and such that I found from the grub config
22:14jannegpossible that linux.py can only handle uncompressed initrd's. I only remember there was something special
22:14leiobut yeah, it can't find some uuid here, after I waited long enough. At a maintenance shell that I can't enter with my keyboard
22:20jannegappend "chosen.asahi,efi-system-partition=${ESP_PART_UUID}\n" to the m1n1.bin you're chainloading. use low case letters in the UUID
22:34leioafter a reboot from 1TR the chainloaded patched m1n1 doesn't bring up display at all, with 4+ tries; fine after shutdown