1. 27 Jul, 2018 1 commit
  2. 21 Jul, 2018 2 commits
  3. 20 Jul, 2018 1 commit
  4. 20 May, 2018 1 commit
  5. 30 Apr, 2018 1 commit
    • alex@thinkpad's avatar
      QEMU: initial support for DIGIC 7 EOS (200D, 77D, 6D2) · a20c79bcfe12
      alex@thinkpad authored
      - added ROMID; updated MemDiv, XDMAC, SDIO
      - emulation starts many tasks, talks to MPU, initializes SD, creates the DCIM directory on the virtual card
      - fails with ERROR WaitPU1 TimeOut
      - dumpf does not save any logs (figure out why)
      - note: M5 ROM should now be loaded as ROM0
      
      --HG--
      branch : qemu
      a20c79bcfe12
  6. 29 Apr, 2018 3 commits
  7. 27 Apr, 2018 1 commit
  8. 13 Mar, 2018 3 commits
  9. 21 Jan, 2018 1 commit
  10. 09 Jan, 2018 1 commit
  11. 07 Jan, 2018 1 commit
  12. 06 Jan, 2018 2 commits
    • alex@thinkpad's avatar
      QEMU tests: relaxed shutdown checks · 400b47a3b121
      alex@thinkpad authored
      (some false positives caused by non-deterministic emulation)
      (note: menu tests are executed non-determinstically, unlike the call trace, so each run is different)
      
      --HG--
      branch : qemu
      400b47a3b121
    • alex@thinkpad's avatar
      QEMU: attempt to get deterministic execution on CF models when using -icount · b7ddc01c92ed
      alex@thinkpad authored
      operations are slowed down to avoid timing variations
      default behavior (without -icount) is not affected
      on main firmware, the call/return trace test is now deterministic on all models!
      fixme: CF emulation in PIO mode is still non-deterministic
      
      --HG--
      branch : qemu
      b7ddc01c92ed
  13. 05 Jan, 2018 1 commit
  14. 02 Jan, 2018 1 commit
  15. 01 Jan, 2018 1 commit
  16. 30 Dec, 2017 1 commit
    • alex@thinkpad's avatar
      QEMU tests: reworked menu tests (including format) · 545a63e89193
      alex@thinkpad authored
      - use vncexpect whenever the md5 of the next screen is known (reduces timing sensitivity and also faster overall)
      - no more wait hacks required for format tests
      - use a single vncdotool command whenever possible (faster)
      - removed duplicate code (function for sending a menu sequence)
      - fine-tuned progress indicator
      
      --HG--
      branch : qemu
      545a63e89193
  17. 29 Dec, 2017 2 commits
    • alex@thinkpad's avatar
      MPU spells: allow changing various Canon properties that require confirmation from the MPU: · bda26e94b018
      alex@thinkpad authored
      ISO, shutter, aperture, EC, FEC, metering, drive, AF mode, picture style, WB, ExpSim, ALO, HTP, MLU
      all but WB were broken if changed from ML menu/scripts; they are working now (fixme: not included in tests)
      some of them were working from Canon UI before this patch (picture style, WB, ExpSim, metering and drive mode)
      WB was working before, but uses confirmation in logs; updated for consistency
      
      could not test on: 5D2, 40D, 50D, 550D, 650D, 700D, EOSM2
      not working: EOSM (breaks previous tests => disabled)
      
      --HG--
      branch : qemu
      bda26e94b018
    • alex@thinkpad's avatar
      QEMU: experimental mode dial emulation · 09403d4ea610
      alex@thinkpad authored
      works on most models to some extent, except 40D, could not test on 550D, 650D, 70D, EOSM2
      
      --HG--
      branch : qemu
      09403d4ea610
  18. 23 Dec, 2017 1 commit
    • alex@thinkpad's avatar
      QEMU: 40D GUI working! · 0bdb0619d0ee
      alex@thinkpad authored
      - MPU RX register was read 8 bits at a time (other models so far used 16-bit reads)
      - using 50D MPU spells
      - button codes found with extract_button_codes.py, from existing ML port
      - HotPlug: external monitor, USB, Toe, erase switch
      - CFDMA: new channel, protocol tweaks, enabled interrupts
      - Powersave workaround (GUI locked up after some seconds of inactivity, similar to 1300D)
      
      --HG--
      branch : qemu
      0bdb0619d0ee
  19. 22 Dec, 2017 1 commit
    • alex@thinkpad's avatar
      QEMU: 1300D GUI works! · 7f1a436c2040
      alex@thinkpad authored
      - this camera uses a different DryOS timer (totally unexpected!)
      - removed JPCORE patch (firmware expects this to be initialized properly)
      - generic MPU spells; button codes from 1100D
      - powersave workaround (without it, GUI would lock up after a few seconds of inactivity)
      - no patches required!
      
      --HG--
      branch : qemu
      7f1a436c2040
  20. 21 Dec, 2017 1 commit
  21. 18 Dec, 2017 1 commit
  22. 06 Dec, 2017 2 commits
  23. 10 Nov, 2017 1 commit
    • alex@thinkpad's avatar
      QEMU: 70D GUI works! · 5caccbb04383
      alex@thinkpad authored
      - GDB patch required (SIO locking up DisplayMgr task, probably touch screen not responding)
      - RTC (similar to 6D, but on different SIO channel)
      - updated tests (menu, format, call trace)
      - minor change to 100D call trace test (0xC022005C = 450D RTC CS; no impact on functionality)
      
      --HG--
      branch : qemu
      5caccbb04383
  24. 08 Nov, 2017 1 commit
  25. 10 Nov, 2017 2 commits
  26. 08 Nov, 2017 3 commits
    • alex@thinkpad's avatar
      QEMU tests: prepare for parallel execution (3) · 1536a34e624b
      alex@thinkpad authored
      - stop each QEMU instance from the monitor socket
      - two methods: shutdown (clean DryOS shutdown, for GUI tests) and quit (clean QEMU shutdown without turning off the guest OS, for all other tests)
      - check for any stale qemu-system-arm / arm-none-eabi-gdb only after each set of tests
      
      --HG--
      branch : qemu
      1536a34e624b
    • alex@thinkpad's avatar
      QEMU tests: prepare for parallel execution (2) · 2ffb654c590c
      alex@thinkpad authored
      - unique QEMU_JOB_ID for each job
      - unique GDB port and VNC display, derived from QEMU_JOB_ID
      
      --HG--
      branch : qemu
      2ffb654c590c
    • alex@thinkpad's avatar
      QEMU tests: prepare for parallel execution (1) · 01aa167b8f15
      alex@thinkpad authored
      - allow overriding GDB port for each instance (replaced '-s -S' with '-S -gdb tcp::$GDB_PORT'; gdb receives '-ex "set \$TCP_PORT=$GDB_PORT"')
      - allow overriding VNC display for each instance (replaced ':12345' with '$VNC_DISP')
      - indentation of qemu/gdb commands
      
      --HG--
      branch : qemu
      01aa167b8f15
  27. 07 Nov, 2017 1 commit
  28. 08 Nov, 2017 1 commit
  29. 05 Nov, 2017 1 commit
    • alex@thinkpad's avatar
      QEMU tests: speed optimizations · 93194296bffd
      alex@thinkpad authored
      - only restore SD/CF images if they were actually changed
      - do not wait for gdb if it's not running
      - overhead with no tests running: from ~30 seconds to ~10 seconds
      
      --HG--
      branch : qemu
      93194296bffd