Guest User

trace_isp.py

a guest
Aug 11th, 2023
187
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.53 KB | None | 0 0
  1. from m1n1.utils import *
  2.  
  3. """
  4. # with bootargs += camLogging=0xffff
  5. # open red "Photo Booth" app, fetch a few frames, then close app
  6. # run command: log show --last 5m --info --debug --color=always | grep -iF AppleH13Camera
  7. """
  8.  
  9. trace_device("/arm-io/isp", mode=TraceMode.SYNC)
  10. trace_device("/arm-io/error-handler", False)
  11. hv.trace_range(irange(0x23b700000 + 0x4000, 0x80), mode=TraceMode.SYNC)
  12.  
  13. node = hv.adt["/arm-io/isp"]
  14. for irq in getattr(node, "interrupts"):
  15. hv.trace_irq(f"{node.name} {irq}", irq, 1, hv.IRQTRACE_IRQ)
  16.  
Advertisement
Add Comment
Please, Sign In to add comment