1. 28 Dec, 2017 5 commits
  2. 06 Dec, 2017 1 commit
  3. 27 Dec, 2017 5 commits
  4. 24 Dec, 2017 2 commits
    • alex@thinkpad's avatar
      QEMU install.sh: WSL fixes · 0a7e1da6cdb5
      alex@thinkpad authored
      - checking for Ubuntu (uname -a does not report Ubuntu)
      - hide 32-bit toolchain options
      
      --HG--
      branch : qemu
      0a7e1da6cdb5
    • alex@thinkpad's avatar
      run_canon_fw.sh: Mac fixes · eeacf80816df
      alex@thinkpad authored
      - use is_mounted (lsof checks are enough)
      - typo in osascript when trying to bring QEMU window to front
      
      --HG--
      branch : qemu
      eeacf80816df
  5. 23 Dec, 2017 4 commits
    • alex@thinkpad's avatar
      run_canon_fw.sh: fine-tuned checking of whether SD/CF image is in use · 54c02f65e81f
      alex@thinkpad authored
      - use lsof to detect whether another process opened the SD/CF image for writing
      - only allow multiple instances of QEMU if using -snapshot (read-only access to SD/CF image)
      - check all results returned by losetup (note: lsof does not show whether the image is mounted)
      - use alternate methods (grepping mount output) if losetup is not available
      - to be tested/refined on Mac and Windows 10 WSL
      
      --HG--
      branch : qemu
      54c02f65e81f
    • alex@thinkpad's avatar
      QEMU: RTC workaround to bring back 400D GUI · 44bce28e2993
      alex@thinkpad authored
      (broken in 0d654a083662, not covered by tests as it's very slow)
      
      --HG--
      branch : qemu
      44bce28e2993
    • 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
    • alex@thinkpad's avatar
      QEMU: fix USB CONNECT on 450D/1000D · ff562b6fe2b7
      alex@thinkpad authored
      (incidentally, this also fixes the card format dialog on these cameras - likely UILock issue)
      
      --HG--
      branch : qemu
      ff562b6fe2b7
  6. 22 Dec, 2017 2 commits
    • 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
    • alex@thinkpad's avatar
      QEMU: cleaned up serial flash handling on models that don't use one · 351f6deb24e5
      alex@thinkpad authored
      previously, they were called on unrelated SIO/SDIO channels, with little or no side effects,
      other than breaking a few function call trace tests
      
      --HG--
      branch : qemu
      351f6deb24e5
  7. 21 Dec, 2017 3 commits
  8. 19 Dec, 2017 4 commits
  9. 18 Dec, 2017 3 commits
  10. 17 Dec, 2017 1 commit
  11. 18 Dec, 2017 1 commit
  12. 17 Dec, 2017 1 commit
  13. 16 Dec, 2017 6 commits
  14. 06 Dec, 2017 2 commits
    • alex@thinkpad's avatar
      QEMU: fixed UART on DIGIC 6 (DryShell works!) · b97298434943
      alex@thinkpad authored
      fixme: tests are failing, but typing on the UI works fine
      note: DIGIC 4/5 emulation changed a bit (0xC0270000 was misinterpreted before)
      
      --HG--
      branch : qemu
      b97298434943
    • alex@thinkpad's avatar
      QEMU: found out why DIGIC 6 models were getting stuck at startup! · 2b0b39ae12ed
      alex@thinkpad authored
      The firmware was reading the memory layout from CP15 registers;
      most of them were emulated well in QEMU, except ATCM and BTCM, which were implemented as NOP.
      They are still NOP in current QEMU git.
      
      Patching the memory regions loop is no longer required!
      (keeping empty 80D patch for future use)
      
      --HG--
      branch : qemu
      2b0b39ae12ed