Asahi Lina
0db48488a9
m1n1.trace.isp: t8112 etc changes
...
Signed-off-by: Asahi Lina <lina@asahilina.net>
2023-10-06 21:09:17 +09:00
Hector Martin
595ecb423a
m1n1.adt: Fix the weird DAPF variant parsing
...
Looks like there is a flag bit for this...
Signed-off-by: Hector Martin <marcan@marcan.st>
2023-10-05 16:05:53 +09:00
Asahi Lina
5e2e537506
m1n1.adt: Add DAPF decoding
...
There's a weird thing with DCP DAPF entries being larger... but we don't
use them anyway?
Signed-off-by: Asahi Lina <lina@asahilina.net>
2023-10-05 14:21:13 +09:00
Asahi Lina
e1bb8e85a6
m1n1.adt: Fix dashes in __delattr__
...
Signed-off-by: Asahi Lina <lina@asahilina.net>
2023-10-05 14:21:13 +09:00
Asahi Lina
0e471529cc
m1n1.trace.isp: Hexdump to HV log
...
Signed-off-by: Asahi Lina <lina@asahilina.net>
2023-10-05 14:21:13 +09:00
Asahi Lina
204f6b8189
m1n1.fw.isp: Fix message validity check
...
Signed-off-by: Asahi Lina <lina@asahilina.net>
2023-10-05 14:21:13 +09:00
Hector Martin
e378605d70
hv/trace_wlan.py: Backplane tracing & more
...
Signed-off-by: Hector Martin <marcan@marcan.st>
2023-10-05 14:11:59 +09:00
Hector Martin
11748d6261
m1n1.hv: Make xnu_mode reflect if we used a macho or not
...
Signed-off-by: Hector Martin <marcan@marcan.st>
2023-10-05 14:11:59 +09:00
Asahi Lina
0b1c9d98b7
m1n1.hw.dart8110: 4-level support
...
Signed-off-by: Asahi Lina <lina@asahilina.net>
2023-10-05 14:11:59 +09:00
Eileen Yoon
51b6dd8701
isp: Initial commit
...
Add initial stream demo + patched tracer
Signed-off-by: Eileen Yoon <eyn@gmx.com>
2023-10-05 14:02:49 +09:00
Janne Grunau
fb6e035950
hv/trace_dcp: Support commands with retcode only replies
...
Seen with the SetProperty command of DCP's system EP.
Signed-off-by: Janne Grunau <j@jannau.net>
2023-09-20 22:33:45 +09:00
Janne Grunau
ea5c9be657
hv/trace_dcp: simplify tracing of dcpext*
...
It's now enough to change the variable dcp_name to dcpext[0-7].
'dcpext' on t8103/t8112 is handled by "/aliases" in the ADT.
Signed-off-by: Janne Grunau <j@jannau.net>
2023-09-20 22:33:45 +09:00
Janne Grunau
c11632947b
hv/trace_dcp: port dptxport commands to macos 13.5 fw
...
Signed-off-by: Janne Grunau <j@jannau.net>
2023-09-20 22:33:45 +09:00
Janne Grunau
161a96a06d
hv/trace_dcp: extend tracing of ap_std_calls
...
Signed-off-by: Janne Grunau <j@jannau.net>
2023-09-20 22:33:45 +09:00
Janne Grunau
1b10a51a51
hv/trace_dcp.py: import firmware vesrions from the HV
...
Signed-off-by: Janne Grunau <j@jannau.net>
2023-09-20 22:33:45 +09:00
Janne Grunau
ea063b6534
hv/trace_dcp.py: more verbose logging of AFK/EPIC endpoints
...
Signed-off-by: Janne Grunau <j@jannau.net>
2023-09-20 22:33:45 +09:00
Janne Grunau
1d46073077
hv/trace_dcp: Use 'elif' instead of 'if'
...
Signed-off-by: Janne Grunau <j@jannau.net>
2023-09-20 22:33:45 +09:00
Janne Grunau
34b0204c27
proxy: hv: Add trace_dptx.py for tracing dptx-phy on j473/t8112
...
Signed-off-by: Janne Grunau <j@jannau.net>
2023-09-20 22:33:45 +09:00
Janne Grunau
303d08382c
experiments/dcp: add system ep
...
Signed-off-by: Janne Grunau <j@jannau.net>
2023-09-20 22:33:45 +09:00
Janne Grunau
4965a954e2
m1n1.fw.dcp.ipc: Add D129 - allocate_bandwidth
...
Used on M2 Ultra with OS DCP firmware 13.5.
Signed-off-by: Janne Grunau <j@jannau.net>
2023-09-20 22:33:45 +09:00
Janne Grunau
8e5788123f
m1n1.fw.dcp.ipc: Clearly mark unknown Calls/Callbacks
...
Signed-off-by: Janne Grunau <j@jannau.net>
2023-09-20 22:33:45 +09:00
Janne Grunau
a823c311ab
m1n1.fw.dcp.ipc: Add support for the macOS 13.3 firmware
...
Signed-off-by: Janne Grunau <j@jannau.net>
2023-09-20 22:33:45 +09:00
Janne Grunau
c159c5bbfd
m1n1/fw/dcp/parse_log: Parse firmware version from log
...
Incomplete, needs to reload fw.dcp.ipc.
Signed-off-by: Janne Grunau <j@jannau.net>
2023-09-20 22:33:45 +09:00
Janne Grunau
635e046d56
m1n1.fw.dcp: Parse AVPropChunks in parse_log
...
Signed-off-by: Janne Grunau <j@jannau.net>
2023-09-20 22:33:45 +09:00
Janne Grunau
faec98b10c
m1n1.constructutils: Add 13.5 firmware symbol
...
Signed-off-by: Janne Grunau <j@jannau.net>
2023-09-20 22:33:45 +09:00
Mark Kettenis
ea64e7bda4
m1n1.asm: make it work again on OpenBSD
...
Using llvm from ports.
Signed-off-by: Mark Kettenis <kettenis@openbsd.org>
2023-09-07 19:19:38 +09:00
Hector Martin
6d0979e71e
m1n1.adt: Decode apcie tunables
...
Signed-off-by: Hector Martin <marcan@marcan.st>
2023-08-21 23:16:08 +09:00
Martin Povišer
526f81f51e
m1n1.hw.codecs: Add iMac codec
...
Signed-off-by: Martin Povišer <povik@cutebit.org>
2023-08-17 19:50:09 +09:00
Asahi Lina
37ad9f7df6
m1n1.fw.dcp.ipc: Fix assert
...
Signed-off-by: Asahi Lina <lina@asahilina.net>
2023-08-17 19:46:07 +09:00
Asahi Lina
31da584be8
m1n1.fw.agx: Helpers everywhere!
...
Signed-off-by: Asahi Lina <lina@asahilina.net>
2023-08-17 19:46:07 +09:00
Asahi Lina
7f94c7f39a
tools.chainload.py: Fixes for 13.5
...
Signed-off-by: Asahi Lina <lina@asahilina.net>
2023-08-17 19:46:07 +09:00
Alexis Deruelle
b2e5b3ef00
proxyclient:picocom-sec.sh:warn when overriding SECDEV
...
Add a warning message when overriding the target serial device with
SECDEV variable, just in case one is caught by surprise there.
Signed-off-by: Alexis Deruelle <alexis.deruelle@gmail.com>
2023-08-17 19:45:13 +09:00
Alexis Deruelle
21a403a163
proxyclient:tools:add default device name for macOS
...
Under macOS host, secondary UART device name is different from the linux
device name. Check OS name and chose default device name accordingly.
Signed-off-by: Alexis Deruelle <alexis.deruelle@gmail.com>
2023-08-17 19:45:13 +09:00
Alexis Deruelle
0673a226c9
proxyclient:m1n1:rely on UartInterface defaults when creating object
...
- in 'main' section, device name and baud values are redundant as the
UartInterface constructor handles it already
- Add a comment on how to run proxy.py as script
Signed-off-by: Alexis Deruelle <alexis.deruelle@gmail.com>
2023-08-17 19:45:13 +09:00
Alexis Deruelle
bd82c5f47a
proxyclient:m1n1:add macOS device name for m1n1 primary UART
...
m1n1 UART device names on macOS follow /dev/cu.usbmodemP_XX naming
convention. Check for platform name using platform.system() and use the
macOS device name instead of /dev/m1n1 if equals 'Darwin'
Signed-off-by: Alexis Deruelle <alexis.deruelle@gmail.com>
2023-08-17 19:45:13 +09:00
Davide Cavalca
6bca5f77e1
m1n1.asm: make it work again with gcc
...
Signed-off-by: Davide Cavalca <davide@cavalca.name>
2023-08-15 18:27:51 +09:00
Hector Martin
31930a25f7
m1n1.hv: Add t6022 cpustart
...
Signed-off-by: Hector Martin <marcan@marcan.st>
2023-08-07 19:27:47 +09:00
Hector Martin
33ef9cdaa8
m1n1.adt: Fix GPUPerfStates64 for T6022
...
Signed-off-by: Hector Martin <marcan@marcan.st>
2023-08-07 19:27:47 +09:00
Asahi Lina
538693a05a
hv/trace_agx{_defer}.py: Enable command dumps
...
Signed-off-by: Asahi Lina <lina@asahilina.net>
2023-07-11 01:49:13 +09:00
Asahi Lina
d437d04dd4
m1n1.trace.agx: Fix broken TA parsing
...
Signed-off-by: Asahi Lina <lina@asahilina.net>
2023-07-11 01:49:13 +09:00
Asahi Lina
d2cb85d048
m1n1.trace.agx: Add a missing UAT inval
...
Signed-off-by: Asahi Lina <lina@asahilina.net>
2023-07-11 01:49:13 +09:00
Asahi Lina
6e40dd9aaa
m1n1.trace.agx: Add AGXDECODE solib support & trace VDM
...
Signed-off-by: Asahi Lina <lina@asahilina.net>
2023-07-11 01:49:13 +09:00
Asahi Lina
825fbaf1ec
m1n1.agx.initdata: Split buffer manager mappings between GPU/FW
...
Signed-off-by: Asahi Lina <lina@asahilina.net>
2023-07-11 01:49:13 +09:00
Asahi Lina
817b48dbc9
m1n1.fw.agx & co: Unbork a bunch of stuff on <G14X
...
Signed-off-by: Asahi Lina <lina@asahilina.net>
2023-07-11 01:49:13 +09:00
Asahi Lina
b270f2f86c
m1n1.agx: Handle pending stamps properly for V13_5B4
...
Signed-off-by: Asahi Lina <lina@asahilina.net>
2023-07-11 01:49:13 +09:00
Asahi Lina
6761cd2d53
m1n1.fw.agx: Blit stuff for G14X
...
Just hacking on the structures to get it to dump, this probably broke
other firmware combinations...
Signed-off-by: Asahi Lina <lina@asahilina.net>
2023-07-11 01:49:13 +09:00
Asahi Lina
788a5b9866
m1n1.trace.agx: Changes to unbreak G14X tracing
...
Signed-off-by: Asahi Lina <lina@asahilina.net>
2023-07-11 01:49:13 +09:00
Asahi Lina
40c9dfe128
m1n1.trace.agx: Skip tracing the stats queue
...
This is spammy and sometimes so slow it blocks forever. Let's explicitly
remove these ranges from the GPUVM tracer.
Signed-off-by: Asahi Lina <lina@asahilina.net>
2023-07-11 01:49:13 +09:00
Asahi Lina
d743db30b6
m1n1.trace.agx: Add extra dumping around TVB control messages
...
Signed-off-by: Asahi Lina <lina@asahilina.net>
2023-07-11 01:49:13 +09:00
Asahi Lina
8ae5c219dc
m1n1.trace.agx: Add support for dumping commands as json
...
Signed-off-by: Asahi Lina <lina@asahilina.net>
2023-07-11 01:49:13 +09:00