Skip to content
  • alex@thinkpad's avatar
    QEMU: option to export MMIO reads as dm-spy entries (dm-spy-experiments branch) · 726806f3bc35
    alex@thinkpad authored
    this allows cross-checking the values with the ones from actual hardware
    usage:
    - ./run_canon_fw.sh 5D3 [...] -d io,nochain -singlestep
    - copy/paste some entries into dm-spy-extra.c (grep for mmio_log to find them)
    - get logs from both camera and QEMU (dm-spy-experiments branch, CONFIG_DEBUG_INTERCEPT_STARTUP=y, maybe also CONFIG_QEMU=y)
    - adjust the emulation until the logs match
    
    --HG--
    branch : qemu
    726806f3bc35