#
#asahi-dev · 2023-09-24 22:01
jannegthat 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
#asahi-dev · 2023-09-24 22:00
leioit's gzipped, it looks like, yes
#asahi-dev · 2023-09-24 22:00
leioarch/arm64/boot/dts/apple/t602x-pmgr.dtsi for the change then
#asahi-dev · 2023-09-24 21:59
jannegis the initramfs compressed? I thiink most of use use tools/run_guest_kernel.sh nowadays
#asahi-dev · 2023-09-24 21:57
leiofeels like proxyclient/tools/linux.py uploaded initramfs isn't getting used for some reason
#asahi-dev · 2023-09-24 21:57
jannegwe will need that anyway
#asahi-dev · 2023-09-24 21:56
jannegplease do
#asahi-dev · 2023-09-24 21:56
leioshould I test that?
#asahi-dev · 2023-09-24 21:56
jannegleio: I would have thought that #192 is sufficient but ps_dispext0_cpu0 might need 'apple,min-state = <4>;'
#asahi-dev · 2023-09-24 21:48
leiohow would I get it to load the initramfs, it seems to try to boot from the UUID based root itself
#asahi-dev · 2023-09-24 21:45
leioyes, the picture stays on with that option
#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 21:38
jannegmodule or built-in for CONFIG_DRM_APPLE shouldn't make a difference but in doubt disable it
#asahi-dev · 2023-09-24 21:37
jannegleio: try booting with the kernel cmdline parameter pd_ignore_unused
#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:19
jannegyes, you probably wouldn't even have run into the issue on 6.5-3 unless you copied the fedora kernel config
#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 17:42
jannegstek: asahi-${date} tags in https://gitlab.freedesktop.org/asahi/mesa not really a dev topic, in doubt look what the distro packages do
#asahi-dev · 2023-09-24 17:15
stekand if I can, what repo and install docs should I follow for it?
#asahi-dev · 2023-09-24 17:07
stekcan I compile the latest asahi edge mesa for myself?
#asahi-dev · 2023-09-24 15:49
linaThat's for text and rodata only
#asahi-dev · 2023-09-24 15:45
ChaosPrincesscan you even write into firmware memory after iboot? isnt there ctrr involved
#asahi-dev · 2023-09-24 15:35
linaThis is some really, really ugly hack they added for this version...
#asahi-dev · 2023-09-24 15:35
linaSo... either we make preset 0 work somehow, or we do something really evil like write directly into firmware memory somehow...
#asahi-dev · 2023-09-24 15:34
linaAnd I can't find a way to override the logic that goes from that to initializing the buffers when starting the channel...
#asahi-dev · 2023-09-24 15:33
linaeiln: I finally found the logic... It's literally if (preset != 0) { enable mlvnr }
#asahi-dev · 2023-09-24 13:00
jannegI would expect that u-boot and linux can use the framebuffer even if there is just a single m1n1 initializing the display
#asahi-dev · 2023-09-24 12:58
leiothough would need to patch stage1 too
#asahi-dev · 2023-09-24 12:58
jannegi.e. it will not be noticeable once the 1st stage m1n1 inits the display
#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:57
jannegleio: 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
#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-24 11:50
chadmedyeah i just dumped /dev/mtd0 earlier this evening and noticed it was odd
#asahi-dev · 2023-09-24 11:49
jannegOh, I've never looked at the nvram on m2 devices. Apple changed the nvram format: https://github.com/AsahiLinux/linux/issues/193
#asahi-dev · 2023-09-24 01:06
eilnlina: cleaned it up and PRed/pushed to isp-m1n1
#asahi-dev · 2023-09-23 16:09
linaAlright, let's go with that!
#asahi-dev · 2023-09-23 16:09
eilnyes!
#asahi-dev · 2023-09-23 16:09
linaIs 1PM a good time? My usual start time when things aren't going crazy... just on the wrong day ^^
#asahi-dev · 2023-09-23 16:09
eilnI'll actually clean that up rn
#asahi-dev · 2023-09-23 16:08
eilnsounds great :)
#asahi-dev · 2023-09-23 16:08
linaI think I can probably do another stream tomorrow then! ^^
#asahi-dev · 2023-09-23 16:08
eilnI'm free all of tomorrow, and usually past 6pm KST on weekdays

plus ›