mirror of
https://github.com/AsahiLinux/m1n1
synced 2024-12-01 10:39:10 +00:00
51b6dd8701
Add initial stream demo + patched tracer Signed-off-by: Eileen Yoon <eyn@gmx.com>
13 lines
484 B
Python
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
|