SuccessChanges

Summary

  1. QEMU: debug message for sd_blk_write, similar to sd_blk_read (not compiled by default; uncomment DEBUG_SD in sd.c to enable)
  2. QEMU: fixed some CPU ID registers to match CPUINFO logs on DIGIC 2..5 D5: https://www.magiclantern.fm/forum/index.php?topic=17714.msg170948#msg170948 (70D) D4: https://www.magiclantern.fm/forum/index.php?topic=17714.msg171742#msg171742 (1200D) D2/3: https://chdk.setepontos.com/index.php?topic=2139.0 (mostly identical to D4, except for slightly different MPU configurations) - removed the XSCALE hack to emulate DTCM/ITCM properly - using "arm946-eos5" to model the differences between DIGIC 5 and earlier models
  3. QEMU: fixed some CPU ID registers to match CPUINFO logs on DIGIC 6 and 7 - D6: https://www.magiclantern.fm/forum/index.php?topic=17714.0, https://www.magiclantern.fm/forum/index.php?topic=17360.msg202322#msg202322 - D7: https://www.magiclantern.fm/forum/index.php?topic=19737.msg200737#msg200737, https://chdk.setepontos.com/index.php?topic=13014.msg131109#msg131109
  4. annotate_mpu_log: allow operation with button codes from another camera model
  5. annotate_mpu_log: also label unknown GUI events
  6. QEMU: unified EOSM and EOSM2 button definitions Differences on previous definitions: - zoom events are internal; they should be enabled on both models - delete button should be checked in Canon menu with a MPU log, https://www.magiclantern.fm/forum/index.php?topic=2864.msg206275#msg206275 - no Av button
  7. QEMU: unified 650D and 700D button definitions
  8. QEMU: removed rear scrollwheel emulation from Rebel models (they were auto-generated)
  9. QEMU: GMT_GUICMD_CLOSE_SLOT_COVER, GMT_GUICMD_CLOSE_BATT_COVER, GMT_GUICMD_LOCK_ON (common to all models; definitions only for now)
  10. QEMU: comments for Q button on 60D, 600D, 1100D, 550D (600D/1100D use a different button code in LiveView; emulation is not fully correct)
  11. QEMU: enabled old-style zoom button events for 5D3 and 6D (apparently still used internally, during GUI mode changes)
  12. QEMU: Delete button emulation for 1100D/1200D This button code appears to be used only in Canon menu. Outside menus, i.e. in photo mode and LiveView, it works as Av. This change allows one to toggle the low-level format option in Canon menu.
  13. QEMU: fix RATE and PicStyle buttons for 5D3
  14. GDB scripts: log calls to named functions (useful for initial porting experiments; stubs for 5D3, 5D4, 80D, 200D)
  15. GDB scripts: misc cosmetic tweaks
  16. GDB scripts: silence all tbreak messages (with helpers to silence any other messages)
  17. GDB scripts: export state object definitions as Python code (useful to create state machine diagrams and other automated analysis)
  18. GDB scripts: documented every single user command in debug-logging.gdb From GDB prompt, run "help user-defined" to see these commands. Also included a test to make sure no other undocumented commands will be added in future.
  19. GDB scripts: xxd wrapper https://stackoverflow.com/questions/9233095/memory-dump-formatted-like-xxd-from-gdb
  20. GDB scripts: ADTG/CMOS/ENGIO logging helpers (stubs for 60D and EOSM2)
  21. GDB scripts: moved whitespace placeholder to a function; fixed alignment on multi-core models
  22. GDB scripts: updated register_func to handle model-specific quirks - D4 and newer: some functions are registered indirectly, using a wrapper - VxWorks models, except 400D: register_func takes only 2 arguments - fixed stub address on 77D and 5D3 113 - this change fixes auto-generated names (rather than naming the wrapper, it now identifies the right function)
  23. QEMU: CF bit in ClockEnable register
  24. backtrace: redirect debug messages to QEMU console, rather than discarding them
Changeset 17932:93273e8dfe40 by alex@thinkpad:
QEMU: debug message for sd_blk_write, similar to sd_blk_read<br>(not compiled by default; uncomment DEBUG_SD in sd.c to enable)
The file was modifiedcontrib/qemu/qemu-2.5.0.patch (diff)
Changeset 17931:df5696317de3 by alex@thinkpad:
QEMU: fixed some CPU ID registers to match CPUINFO logs on DIGIC 2..5<br><br>D5: https://www.magiclantern.fm/forum/index.php?topic=17714.msg170948#msg170948 (70D)<br>D4: https://www.magiclantern.fm/forum/index.php?topic=17714.msg171742#msg171742 (1200D)<br>D2/3: https://chdk.setepontos.com/index.php?topic=2139.0 (mostly identical to D4, except for slightly different MPU configurations)<br><br>- removed the XSCALE hack to emulate DTCM/ITCM properly<br>- using &quot;arm946-eos5&quot; to model the differences between DIGIC 5 and earlier models
The file was modifiedcontrib/qemu/eos/eos.c (diff)
The file was modifiedcontrib/qemu/qemu-2.5.0.patch (diff)
The file was modifiedcontrib/qemu/tests/1000D/calls-main.md5 (diff)
The file was modifiedcontrib/qemu/tests/400D/calls-main.md5 (diff)
The file was modifiedcontrib/qemu/tests/450D/calls-main.md5 (diff)
The file was modifiedcontrib/qemu/tests/5D/calls-main.md5 (diff)
Changeset 17930:22cba8019b97 by alex@thinkpad:
QEMU: fixed some CPU ID registers to match CPUINFO logs on DIGIC 6 and 7<br><br>- D6: https://www.magiclantern.fm/forum/index.php?topic=17714.0, https://www.magiclantern.fm/forum/index.php?topic=17360.msg202322#msg202322<br>- D7: https://www.magiclantern.fm/forum/index.php?topic=19737.msg200737#msg200737, https://chdk.setepontos.com/index.php?topic=13014.msg131109#msg131109
The file was modifiedcontrib/qemu/qemu-2.5.0.patch (diff)
The file was modifiedcontrib/qemu/tests/200D/calls-from.md5 (diff)
The file was modifiedcontrib/qemu/tests/200D/calls-main.md5 (diff)
The file was modifiedcontrib/qemu/tests/5D3eeko/calls-main.md5 (diff)
The file was modifiedcontrib/qemu/tests/5D4/calls-from.md5 (diff)
The file was modifiedcontrib/qemu/tests/5D4/calls-main.md5 (diff)
The file was modifiedcontrib/qemu/tests/5D4AE/calls-main.md5 (diff)
The file was modifiedcontrib/qemu/tests/6D2/calls-from.md5 (diff)
The file was modifiedcontrib/qemu/tests/6D2/calls-main.md5 (diff)
The file was modifiedcontrib/qemu/tests/750D/calls-from.md5 (diff)
The file was modifiedcontrib/qemu/tests/750D/calls-main.md5 (diff)
The file was modifiedcontrib/qemu/tests/760D/calls-from.md5 (diff)
The file was modifiedcontrib/qemu/tests/760D/calls-main.md5 (diff)
The file was modifiedcontrib/qemu/tests/77D/calls-from.md5 (diff)
The file was modifiedcontrib/qemu/tests/7D2M/calls-from.md5 (diff)
The file was modifiedcontrib/qemu/tests/7D2M/calls-main.md5 (diff)
The file was modifiedcontrib/qemu/tests/7D2S/calls-main.md5 (diff)
The file was modifiedcontrib/qemu/tests/800D/calls-from.md5 (diff)
The file was modifiedcontrib/qemu/tests/80D/calls-from.md5 (diff)
The file was modifiedcontrib/qemu/tests/80D/calls-main.md5 (diff)
Changeset 17929:c01f601793c0 by alex@thinkpad:
annotate_mpu_log: allow operation with button codes from another camera model
The file was modifiedcontrib/qemu/eos/mpu_spells/annotate_mpu_log.py (diff)
Changeset 17928:2431cd4664ec by alex@thinkpad:
annotate_mpu_log: also label unknown GUI events
The file was modifiedcontrib/qemu/eos/mpu_spells/annotate_mpu_log.py (diff)
Changeset 17927:8212087ce61c by alex@thinkpad:
QEMU: unified EOSM and EOSM2 button definitions<br><br>Differences on previous definitions:<br>- zoom events are internal; they should be enabled on both models<br>- delete button should be checked in Canon menu with a MPU log, https://www.magiclantern.fm/forum/index.php?topic=2864.msg206275#msg206275<br>- no Av button
The file was modifiedcontrib/qemu/eos/mpu.c (diff)
The file was modifiedcontrib/qemu/eos/mpu_spells/button_codes.h (diff)
Changeset 17926:6748598ac9f3 by alex@thinkpad:
QEMU: unified 650D and 700D button definitions
The file was modifiedcontrib/qemu/eos/mpu.c (diff)
The file was modifiedcontrib/qemu/eos/mpu_spells/button_codes.h (diff)
Changeset 17925:b2f3f87eb3e8 by alex@thinkpad:
QEMU: removed rear scrollwheel emulation from Rebel models<br>(they were auto-generated)
The file was modifiedcontrib/qemu/eos/mpu_spells/button_codes.h (diff)
Changeset 17924:73889a33b692 by alex@thinkpad:
QEMU: GMT_GUICMD_CLOSE_SLOT_COVER, GMT_GUICMD_CLOSE_BATT_COVER, GMT_GUICMD_LOCK_ON<br>(common to all models; definitions only for now)
The file was modifiedcontrib/qemu/eos/mpu.h (diff)
The file was modifiedcontrib/qemu/eos/mpu_spells/button_codes.h (diff)
Changeset 17923:7e6ecfb3fd47 by alex@thinkpad:
QEMU: comments for Q button on 60D, 600D, 1100D, 550D<br>(600D/1100D use a different button code in LiveView; emulation is not fully correct)
The file was modifiedcontrib/qemu/eos/mpu_spells/button_codes.h (diff)
Changeset 17922:0caa807b2243 by alex@thinkpad:
QEMU: enabled old-style zoom button events for 5D3 and 6D<br>(apparently still used internally, during GUI mode changes)
The file was modifiedcontrib/qemu/eos/mpu_spells/button_codes.h (diff)
Changeset 17921:40c5967cdd36 by alex@thinkpad:
QEMU: Delete button emulation for 1100D/1200D<br><br>This button code appears to be used only in Canon menu.<br>Outside menus, i.e. in photo mode and LiveView, it works as Av.<br><br>This change allows one to toggle the low-level format option in Canon menu.
The file was modifiedcontrib/qemu/eos/mpu_spells/button_codes.h (diff)
Changeset 17920:16b8bbace006 by alex@thinkpad:
QEMU: fix RATE and PicStyle buttons for 5D3
The file was modifiedcontrib/qemu/eos/mpu.c (diff)
The file was modifiedcontrib/qemu/eos/mpu.h (diff)
The file was modifiedcontrib/qemu/eos/mpu_spells/button_codes.h (diff)
Changeset 17796:6bae1d4081f4 by alex@thinkpad:
GDB scripts: log calls to named functions<br>(useful for initial porting experiments; stubs for 5D3, 5D4, 80D, 200D)
The file was modifiedcontrib/qemu/scripts/200D/debugmsg.gdb (diff)
The file was modifiedcontrib/qemu/scripts/5D3/debugmsg.gdb (diff)
The file was modifiedcontrib/qemu/scripts/5D4/debugmsg.gdb (diff)
The file was modifiedcontrib/qemu/scripts/80D/debugmsg.gdb (diff)
The file was modifiedcontrib/qemu/scripts/debug-logging.gdb (diff)
Changeset 17795:756c362c5a0a by alex@thinkpad:
GDB scripts: misc cosmetic tweaks
The file was modifiedcontrib/qemu/scripts/debug-logging.gdb (diff)
Changeset 17794:ec6c3bdb45c7 by alex@thinkpad:
GDB scripts: silence all tbreak messages<br>(with helpers to silence any other messages)
The file was modifiedcontrib/qemu/scripts/debug-logging.gdb (diff)
Changeset 17793:fc72f85e3e53 by alex@thinkpad:
GDB scripts: export state object definitions as Python code<br>(useful to create state machine diagrams and other automated analysis)
The file was modifiedcontrib/qemu/scripts/debug-logging.gdb (diff)
Changeset 17792:66a95761470a by alex@thinkpad:
GDB scripts: documented every single user command in debug-logging.gdb<br><br>From GDB prompt, run &quot;help user-defined&quot; to see these commands.<br>Also included a test to make sure no other undocumented commands will be added in future.
The file was modifiedcontrib/qemu/README.rst (diff)
The file was modifiedcontrib/qemu/scripts/debug-logging.gdb (diff)
The file was modifiedcontrib/qemu/tests/run_tests.sh (diff)
Changeset 17791:51a7a54a5c4c by alex@thinkpad:
GDB scripts: xxd wrapper<br>https://stackoverflow.com/questions/9233095/memory-dump-formatted-like-xxd-from-gdb
The file was modifiedcontrib/qemu/scripts/debug-logging.gdb (diff)
Changeset 17790:3fd9477c4966 by alex@thinkpad:
GDB scripts: ADTG/CMOS/ENGIO logging helpers<br>(stubs for 60D and EOSM2)
The file was modifiedcontrib/qemu/scripts/60D/debugmsg.gdb (diff)
The file was modifiedcontrib/qemu/scripts/EOSM2/debugmsg.gdb (diff)
The file was modifiedcontrib/qemu/scripts/debug-logging.gdb (diff)
Changeset 17789:ad01f5fd45a8 by alex@thinkpad:
GDB scripts: moved whitespace placeholder to a function; fixed alignment on multi-core models
The file was modifiedcontrib/qemu/scripts/debug-logging.gdb (diff)
Changeset 17788:a37510f9dc80 by alex@thinkpad:
GDB scripts: updated register_func to handle model-specific quirks<br>- D4 and newer: some functions are registered indirectly, using a wrapper<br>- VxWorks models, except 400D: register_func takes only 2 arguments<br>- fixed stub address on 77D and 5D3 113<br>- this change fixes auto-generated names (rather than naming the wrapper, it now identifies the right function)
The file was modifiedcontrib/qemu/scripts/1000D/debugmsg.gdb (diff)
The file was modifiedcontrib/qemu/scripts/40D/debugmsg.gdb (diff)
The file was modifiedcontrib/qemu/scripts/450D/debugmsg.gdb (diff)
The file was modifiedcontrib/qemu/scripts/5D/debugmsg.gdb (diff)
The file was modifiedcontrib/qemu/scripts/5D3/debugmsg.gdb (diff)
The file was modifiedcontrib/qemu/scripts/77D/debugmsg.gdb (diff)
The file was modifiedcontrib/qemu/scripts/debug-logging.gdb (diff)
Changeset 17787:9bd773daf736 by alex@thinkpad:
QEMU: CF bit in ClockEnable register
The file was modifiedcontrib/qemu/eos/eos.c (diff)
Changeset 17786:3c7a2ce0d543 by alex@thinkpad:
backtrace: redirect debug messages to QEMU console, rather than discarding them
The file was modifiedsrc/backtrace.c (diff)