#
#asahi-dev · 2024-01-17 16:15
eilnwe're not even at the aop part yet (stacktraces say AppleA7IOP). added support for splitting endpoint bitmap init into top/bottom half (LAST=0, BASE=1, MORE=1) to even boot it
#asahi-dev · 2024-01-17 16:15
eilnstarting to understand mailbox now
#asahi-dev · 2024-01-17 16:15
eiln[mgmt] IOP power state is now 0x20
#asahi-dev · 2024-01-17 16:15
eiln< 00:0x70000000000020
#asahi-dev · 2024-01-17 16:15
eiln> 04:0x80000000000000 (TYPE=0x8)
#asahi-dev · 2024-01-17 16:15
eiln[iorep] report!
#asahi-dev · 2024-01-17 16:15
eilnaop brought up for real
#asahi-dev · 2024-01-16 11:55
leiook, not sure what the error is then, doesn't seem presented
#asahi-dev · 2024-01-16 11:54
j`eyleio: looks like theyre trying to build the macOS mesa wrap layer that alyssa made when she first started out doing RE
#asahi-dev · 2024-01-16 11:53
leioor building on macOS
#asahi-dev · 2024-01-16 11:53
leiodylib looks suspicious - this is building for macOS or something?
#asahi-dev · 2024-01-16 11:27
j`eyazsxdcz: best bet to is to ask alyssa in #asahi-gpu
#asahi-dev · 2024-01-16 11:25
azsxdcz?
#asahi-dev · 2024-01-16 11:12
kettenishmm, is marcan ever going to hang out here again?
#asahi-dev · 2024-01-16 11:06
svenI'm using a similar setup with tmux, so I don't really need such a feature <-- same here
#asahi-dev · 2024-01-16 11:06
azsxdczAny help?
#asahi-dev · 2024-01-16 11:06
azsxdczfind . -name "*dylib" ./installdir/lib/libGLESv1_CM.1.dylib ./installdir/lib/libGL.dylib ./installdir/lib/libGLESv1_CM.dylib ./installdir/lib/libglapi.0.dylib ./installdir/lib/libOSMesa.dylib ./installdir/lib/libglapi.dylib ./installdir/lib/libOSMesa.8.dylib ./installdir/lib/libGLESv2.2.dylib ./installdir/lib/libGL.1.dylib ./installdir/lib/libGLESv2.dylib ./build/src/mapi/shared-glapi/libglapi.0.dylib ./build/src/mapi/shared-glapi/libglapi.dylib ./bui
#asahi-dev · 2024-01-16 11:06
azsxdczmeson compile -C build
#asahi-dev · 2024-01-16 11:06
azsxdczmeson setup build --native-file custom-llvm.ini -Dtools=asahi -Dprefix='/Users/igorg/git/mesa/installdir' -Dgallium-drivers=swrast -Dlibunwind=disabled -Dosmesa=true -Degl=disabled -Dgles1=disabled -Dgles2=disabled -Dglx=disabled -Dvalgrind=disabled -Dc_std=c11 -Dshared-llvm=false -Dshared-glapi=enabled
#asahi-dev · 2024-01-16 11:06
azsxdczHey I trying to build asahi's wrap lib from mesa on my m2 and no mater what I did i wasn't able to generate it
#asahi-dev · 2024-01-16 11:01
mazright. the only use case I could come up with was to preserve messages across a reboot of the console server (which is a vanishingly rare event).
#asahi-dev · 2024-01-16 10:49
kettenisI'm using a similar setup with tmux, so I don't really need such a feature
#asahi-dev · 2024-01-16 10:41
mazI don't really need this (I constantly log everything with conserver), but maybe it would fit other work flows?
#asahi-dev · 2024-01-16 10:40
mazquestion to the couple of CS users here: would there be an appetite for a sort of "replay" function that would keep the last x KB worth of serial output and replay it on demand? some sort of HW-assisted scrollback, for the lack of a better description?
#asahi-dev · 2024-01-15 18:59
austriancodernicolas17: thanks.. I should have everything to run MacOS under the hypervisor. I will give this option a try and I will come back to your offer if I run into troubles
#asahi-dev · 2024-01-15 18:51
nicolas17austriancoder: maybe I can give you access to M2 but I never tried m1n1 tracing from another machine...
#asahi-dev · 2024-01-15 14:42
austriancodereiln: thx
#asahi-dev · 2024-01-15 14:34
eilncoreml is the only way https://apple.github.io/coremltools/index.html
#asahi-dev · 2024-01-15 14:31
austriancodereiln: if you give me a hint want simple re application you used on MacOS to see how it interacts with ane I will look into it
#asahi-dev · 2024-01-15 14:24
eilnit for sure wont work unless you can trace macos and adjust the offsets (also hope there wasn't a significant change). I do not have an m2 so I can't tell
#asahi-dev · 2024-01-15 14:20
austriancodereiln: I only have access to m2 pro
#asahi-dev · 2024-01-15 14:15
eilnand curl -LJO https://www.dropbox.com/scl/fi/99dl7utieycw9gt113eno/add_64x64.hwx?rlkey=4t0bpssad87y8qj5g93bfzg76&dl=0
#asahi-dev · 2024-01-15 14:15
eilnaustriancoder: works on baseline m1 after s/DARTRegs/DART8020Regs && s/dart.regs/dart.dart.regs
#asahi-dev · 2024-01-15 14:07
austriancodereiln: I want to get the experiment working before I start looking into the userspace. From reading the ane docs and code it looks like it could fit the wip TensorFlow Lite delegate in mesa called teflon.
#asahi-dev · 2024-01-15 13:23
eilnapple/ambient light sensor
#asahi-dev · 2024-01-15 13:23
svenALS?
#asahi-dev · 2024-01-15 13:21
eilnj`ey: I'm pretty sure ALS had a self-contained kext doing the actual hardware access. aop isn't doing it for sure. but then that makes the firmware depend on the kext which makes all this really odd
#asahi-dev · 2024-01-15 13:17
j`eyeiln: I might be interested in ALS if I can find the time for it, hopefully something small and self contained
#asahi-dev · 2024-01-15 13:13
eilnmost of it is povik's work but I haven't heard from him recently :(
#asahi-dev · 2024-01-15 13:12
eilnonly after asc boots endpoints 0x24-0x2c are then started. 0x24 is LAS (lid angle something; but wasn't that DCP?), 0x25 is wake hint, 0x26 is unk (maybe ALS), 0x27 is audio which is not currently working and I now get to work on
#asahi-dev · 2024-01-15 13:11
eilnhuh I can bring up aop. notably endpoints 0x20-0x23 have to be started before asc boots. endpts are spu, accel, gyro, and unk respectively. do these macs even have an accel/gyro? or are they idevice vestiges
#asahi-dev · 2024-01-15 13:11
eiln0x24a400000+000048 CPU_STATUS = 0xd (IDLE=0, FIQ_NOT_PEND=1, IRQ_NOT_PEND=1, STOPPED=0, RUNNING=1)
#asahi-dev · 2024-01-14 11:49
mpsif it was ever used much
#asahi-dev · 2024-01-14 11:49
mpsah yes, but u-boot truetype console is not used much nowadays
#asahi-dev · 2024-01-14 11:44
jannegnot console_truetype
#asahi-dev · 2024-01-14 11:42
mpsnew releases shows white text
#asahi-dev · 2024-01-14 11:41
mpsjanneg: older u-boot release?
#asahi-dev · 2024-01-14 11:10
jannegI was wondering why u-boot's truetype console was displaying cyan tinted text until I remembered that's how xrgb8888 white looks when rendered as xrgb2101010
#asahi-dev · 2024-01-13 17:53
jannegfor some reason though only in the efi console and not in u-boot's console
#asahi-dev · 2024-01-13 17:52
jannegand now with cursor support: https://github.com/jannau/u-boot-1/tree/asahi-vidconsole-fixes

plus ›