m1n1/proxyclient/hv/trace_isp.py
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

13 lines
484 B
Python

#!/usr/bin/env python3
# SPDX-License-Identifier: MIT
from m1n1.trace.isp import ISPTracer
# bootargs += camLogging=0xfffffffffffff
# all opcodes: https://pastebin.com/F8h7eDRB
dev_name = [node.name for node in u.adt["/arm-io"] if node.name.startswith("isp")][0]
dev_path = "/arm-io/%s" % (dev_name)
dart_dev_path = "/arm-io/dart-%s" % (dev_name)
print(dev_path, dart_dev_path)
tracer = ISPTracer(hv, dev_path, dart_dev_path, verbose=4)
tracer.start()
dart = tracer.dart_tracer.dart