mirror of
https://github.com/AsahiLinux/m1n1
synced 2024-11-22 22:53:04 +00:00
404ab21fe4
Image Signal Processor is a co-processor in charge of Facetime camera in Apple laptops. This tracer is based on ISP found in M1 processor. The ISP in M1 SoC exposes seven inter-process communication channels. Using those channels Application Processor (AP) can perform a variety of task in the ISP and viceversa. All channels seems to be bidirectional, with unique exception of TERMINAL channel. DART translation is used often to translate control structures passed over IPC channels to IO virtual addresses. How those channels are used is still unclear but tracer should allow us to dive deep on high-level protocol to communicate with Facetime camera. ISP exposes also some I2C peripheral and SPMI registers but I haven't dive into their working or purpose. Signed-off-by: Kellerman Rivero <krsloco@gmail.com>
5 lines
No EOL
182 B
Python
5 lines
No EOL
182 B
Python
from m1n1.trace.isp import ISPTracer
|
|
|
|
hv.log('ISP: Registering ISP ASC tracer...')
|
|
isp_asc_tracer = ISPTracer(hv, "/arm-io/isp", "/arm-io/dart-isp", verbose=4)
|
|
isp_asc_tracer.start() |