2023-07-26 12:43:26 +00:00
|
|
|
#!/usr/bin/env python3
|
|
|
|
# SPDX-License-Identifier: MIT
|
2022-06-21 19:27:13 +00:00
|
|
|
from m1n1.trace.isp import ISPTracer
|
|
|
|
|
2023-07-26 12:43:26 +00:00
|
|
|
# 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
|