#
#asahi-dev · 2023-09-25 05:01
linaNow it crahshes probably because the way I hacked up the buffer logic is wrong...
#asahi-dev · 2023-09-25 05:01
linaI think I got some frames... ^^;;
#asahi-dev · 2023-09-25 04:57
linaaaaaaa the top bits difference!!!!
#asahi-dev · 2023-09-25 04:56
linaI think there's another problem in the buffer callback logic
#asahi-dev · 2023-09-25 04:56
linaI tried making it submit more and now it looks like we don't get frames back...
#asahi-dev · 2023-09-25 04:52
linaeiln: I think it's just a bug in the buffer logic in the driver... it looks like we only submit one buffer on startup.
#asahi-dev · 2023-09-25 04:26
linaI found out the logic changed somewhere in 13.5 (vs 13.2 which I was looking at) and it only enables MLVNR for certain platforms... so I tried clobbering the platform ID in firmware data directly, and restoring it after the config set so we don't break too much, and it worked. Just like profile #0, no MLVNR, no buffer allocs... but still fails on the meta thing.
#asahi-dev · 2023-09-25 04:24
lina(the meta thing)
#asahi-dev · 2023-09-25 04:24
linaSooo.... we need to solve that either way...
#asahi-dev · 2023-09-25 04:24
linaeiln: OMG I got it to "work" with a horrible hack writing to firmware memory... except now I have exactly the same problem as profile #0
#asahi-dev · 2023-09-25 03:35
linaOn the other hand initializing ANE has a nice trivial arbitrary u32 write... so if we ever need to mess with firmware memory and can't do it directly... that's one way... ^^;;
#asahi-dev · 2023-09-25 03:30
linaeiln: Fake initializing ANE doesn't work. I got it to get through the buffer allocs, but then it actually tries to initialize the ML model and times out on ANE not actually replying...
#asahi-dev · 2023-09-25 01:24
derzahlcurious, are any redhat folks involved?
#asahi-dev · 2023-09-25 01:24
derzahli just saw the blog entry about switching to fedora
#asahi-dev · 2023-09-24 23:15
leioguess I get to reinstall tomorrow; ordered a USB-C to USB-A adapter cable too, but that takes at least a week to arrive. Thanks so far and good night
#asahi-dev · 2023-09-24 23:11
leiomeh, the ESP fails to mount in mac OS
#asahi-dev · 2023-09-24 23:04
leioit sees it, but doesn't help with either volume UUID nor disk/partition UUID (latter being the correct one presumably?) for the keyboard
#asahi-dev · 2023-09-24 22:35
leiothe append is just a echo ... >> build/m1n1.bin, I guess
#asahi-dev · 2023-09-24 22:34
leioafter a reboot from 1TR the chainloaded patched m1n1 doesn't bring up display at all, with 4+ tries; fine after shutdown
#asahi-dev · 2023-09-24 22:30
leioyeah, mustn't look at the synthesized stuff, but the disk0 physical only
#asahi-dev · 2023-09-24 22:29
leiomeh, I'm looking at the APFS stuff right now
#asahi-dev · 2023-09-24 22:28
leioit claims as if the rootfs volume of that is like 1MB size
#asahi-dev · 2023-09-24 22:22
jannegdiskutil (command line) should display it
#asahi-dev · 2023-09-24 22:21
leioif only I knew that UUID :)
#asahi-dev · 2023-09-24 22:20
jannegappend "chosen.asahi,efi-system-partition=${ESP_PART_UUID}\n" to the m1n1.bin you're chainloading. use low case letters in the UUID
#asahi-dev · 2023-09-24 22:20
leiobut no usb-a love from it
#asahi-dev · 2023-09-24 22:19
leiodracut is going and everything
#asahi-dev · 2023-09-24 22:19
leioyeah
#asahi-dev · 2023-09-24 22:19
jannegstill using linux.py?
#asahi-dev · 2023-09-24 22:16
leioI have a working initrd now
#asahi-dev · 2023-09-24 22:15
jannegfor UUIDs you need a warking initrd. use disk/partition numbers instead
#asahi-dev · 2023-09-24 22:15
leioI don't have any means to put any of my peripherals to anything but USB-A right now
#asahi-dev · 2023-09-24 22:14
leioyeah, I got that going after uncompressing
#asahi-dev · 2023-09-24 22:14
leiobut 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
#asahi-dev · 2023-09-24 22:14
jannegpossible that linux.py can only handle uncompressed initrd's. I only remember there was something special
#asahi-dev · 2023-09-24 22:14
leioso 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
#asahi-dev · 2023-09-24 22:13
leioI have a fedora asahi remix minimal install done by asahi-installer on there
#asahi-dev · 2023-09-24 22:13
jannegbut 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
#asahi-dev · 2023-09-24 22:12
leiolooks like it's unhappy with plymouth
#asahi-dev · 2023-09-24 22:11
jannegtry usb-c, usb-a is more complex and needs firmware (and firmware handling in the initrd)
#asahi-dev · 2023-09-24 22:09
leiolooks 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)
#asahi-dev · 2023-09-24 22:08
jannegthe hypervisor has the advantage of proving a virtual serial on the second acm interface making debugging easier
#asahi-dev · 2023-09-24 22:04
leioand the linux.py one I presume doesn't like the compression
#asahi-dev · 2023-09-24 22:04
leioso 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
#asahi-dev · 2023-09-24 22:04
leiothanks
#asahi-dev · 2023-09-24 22:03
jannegI'll try to emulate on the m2 pro tomorrow
#asahi-dev · 2023-09-24 22:03
leiowith https://dpaste.com/CPGAY64ZK
#asahi-dev · 2023-09-24 22:03
leiopicture still goes black
#asahi-dev · 2023-09-24 22:03
leioonly dtb updates (not kernel image), that's to be expected I guess
#asahi-dev · 2023-09-24 22:02
jannegyes, in t602x-pmgr.dtsi, for the change you can ignore the DIE_NODE stuff

plus ›