SuccessChanges

Summary

  1. QEMU: imported scnprintf/vscnprintf from Linux kernel and fixed incorrect usage in previous code (adapted commit e8bb011b)
  2. QEMU: fixed indentation of multiline debug strings (-d debugmsg)
  3. QEMU: fixed Thumb code disassembly with qdisas This used to work in earlier versions, but target_disas changed its syntax in 2.5.0. Useful for debugging io_trace on DIGIC 6 (with CONFIG_QEMU=y).
  4. QEMU: fixed TCM size info (broken in df56963); simplified condition for 946_PRBS size info
  5. QEMU: better description for DRSR, useful for emulating io_trace on DIGIC 6: - enable bit (similar to PRBS on DIGIC 5 and earlier) - consistency check for base address and size (base address must be multiple of size - Cortex R4 TRM p.178) - subregion disable bits (if used) Useful for emulating io_trace. Note: QEMU already calls tlb_flush when writing to DRSR, DRBAR or DRACR. No need to apply e4fd44e on DIGIC 6.
  6. QEMU: print PC when taking an exception
  7. QEMU install: option to to keep or replace existing sd.img and cf.img, if any
  8. QEMU install: always use qemu-eos as username
  9. QEMU: updated SD/CF image with the latest portable display test (19f18f0 from recovery branch)
  10. QEMU test suite: updated for latest ROM dumper - now working on all EOS models - always update to latest version - allow RESCUE.LOG alongside with the ROM dumps - report extra files on the SD card, if any
  11. QEMU: make sure all models have correct ROM sizes defined - do not allow ROM files with duplicate data - most models do not have ROM0; only define where it is actually used - ROM0/1, where present, should be defined with the right size (too low - won't boot; too high - will fail the duplication test) - test results: context changed in some models without ROM0 (noise from the ROM dump was sometimes pointing to strings in ROM1) https://www.magiclantern.fm/forum/index.php?topic=5601.msg212692#msg212692
  12. GDB scripts: workaround to prevent GDB from crashing on 5D It appears to be a bug in GDB, e.g. trying to access guest memory when setting a convenience variable. Reprogramming the MPU to allow memory access where GDB expects it appears to do the trick for now.
  13. GDB scripts: fixed CURRENT_ISR on A1100
  14. QEMU: defined CURRENT_ISR on VxWorks models (5D, 40D, 400D, 450D, 1000D) The interrupt ID is only stored the stack, but the address appears to be repeatable for the first nesting level. Better than nothing.
  15. QEMU: fixed CURRENT_TASK for 5D (both GDB script and model_list.c)
  16. QEMU: updated CURRENT_ISR for EOS M5; workaround for current_task_addr
  17. GDB scripts: updated formatting of CURRENT_ISR on 200D, 800D, 77D, 6D2, 750D (non-functional)
  18. GDB scripts: updated CURRENT_ISR for 100D and 1300D to use the latest hypothesis (right before the interrupt ID, there is a counter telling whether we are running from interrupt or not, on all models so far)
  19. MPU spells: fix possible buffer overflow when interpreting messages
  20. QEMU test suite: use larger GUI timeouts for 70D, 1100D, 1200D, 1300D, EOSM and EOSM2, alongside 100D Fixes some intermittent failures in GUI tests, narrowed down to first button press being sent before starting Canon's GuiMainTask.
  21. QEMU test suite: minor fix (colors incorrect if QEMU was already running)
  22. QEMU: experimental SD/CF clock tests (some DIGIC 3/4 models; working only in bootloader context; disabled by default) These were used to fix/test the portable ROM dumper on old models. FIXME: with these changes, main firmware does not boot, so they were disabled.
  23. QEMU: log all unhandled MMIO events, even if they repeat (this "feature" interferes with debugging; was present since the first commit, in 2013)
  24. QEMU: fix overflow in eos_ml_helpers.c (qprintf)
  25. QEMU: fixed shift warning in logging.c (found with UBSan)
  26. QEMU: fixed shift warnings in disas.c (found with UBSan)
  27. QEMU: fixed buffer overflow warning in serial_flash.c (found with ASan; not affecting well-behaved code)
  28. QEMU: fixed underflow in logging.c (found with ASan)
  29. QEMU: fixed underflow in debugmsg.c (found with ASan)
  30. QEMU: fixed shift warnings in logging.c (found with UBSan)
  31. QEMU: fixed shift warnings in eos.c (found with UBSan)
  32. QEMU: workaround for compiling with -fsanitize=undefined in digic.c (possibly gcc bug)
  33. QEMU: imported https://github.com/qemu/qemu/commit/30628cb12de Fixes compilation with -fsanitize=undefined
  34. QEMU: imported https://github.com/qemu/qemu/commit/9005774b27b Fixes crash with long GDB requests on Mac - https://www.magiclantern.fm/forum/index.php?topic=2864.msg210189#msg210189
  35. configure_eos.sh: fix passing arguments containing spaces
  36. QEMU: debug message for sd_blk_write, similar to sd_blk_read (not compiled by default; uncomment DEBUG_SD in sd.c to enable)
  37. 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
  38. 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
  39. annotate_mpu_log: allow operation with button codes from another camera model
  40. annotate_mpu_log: also label unknown GUI events
  41. 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
  42. QEMU: unified 650D and 700D button definitions
  43. QEMU: removed rear scrollwheel emulation from Rebel models (they were auto-generated)
  44. QEMU: GMT_GUICMD_CLOSE_SLOT_COVER, GMT_GUICMD_CLOSE_BATT_COVER, GMT_GUICMD_LOCK_ON (common to all models; definitions only for now)
  45. QEMU: comments for Q button on 60D, 600D, 1100D, 550D (600D/1100D use a different button code in LiveView; emulation is not fully correct)
  46. QEMU: enabled old-style zoom button events for 5D3 and 6D (apparently still used internally, during GUI mode changes)
  47. 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.
  48. QEMU: fix RATE and PicStyle buttons for 5D3
  49. GDB scripts: log calls to named functions (useful for initial porting experiments; stubs for 5D3, 5D4, 80D, 200D)
  50. GDB scripts: misc cosmetic tweaks
  51. GDB scripts: silence all tbreak messages (with helpers to silence any other messages)
  52. GDB scripts: export state object definitions as Python code (useful to create state machine diagrams and other automated analysis)
  53. 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.
  54. GDB scripts: xxd wrapper https://stackoverflow.com/questions/9233095/memory-dump-formatted-like-xxd-from-gdb
  55. GDB scripts: ADTG/CMOS/ENGIO logging helpers (stubs for 60D and EOSM2)
  56. GDB scripts: moved whitespace placeholder to a function; fixed alignment on multi-core models
  57. 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)
  58. QEMU: CF bit in ClockEnable register
  59. backtrace: redirect debug messages to QEMU console, rather than discarding them
Changeset 18087:22b8a70f7687 by alex@thinkpad:
QEMU: imported scnprintf/vscnprintf from Linux kernel and fixed incorrect usage in previous code<br>(adapted commit e8bb011b)
The file was addedcontrib/qemu/eos/scnprintf.c
The file was addedcontrib/qemu/eos/scnprintf.h
The file was modifiedcontrib/qemu/eos/Makefile.objs (diff)
The file was modifiedcontrib/qemu/eos/dbi/debugmsg.c (diff)
The file was modifiedcontrib/qemu/eos/dbi/logging.c (diff)
The file was modifiedcontrib/qemu/eos/eos.h (diff)
The file was modifiedsrc/backtrace.c (diff)
Changeset 18086:880b848bb628 by alex@thinkpad:
QEMU: fixed indentation of multiline debug strings (-d debugmsg)
The file was modifiedcontrib/qemu/eos/dbi/debugmsg.c (diff)
The file was modifiedcontrib/qemu/eos/dbi/logging.c (diff)
Changeset 18085:ea90e9af2d78 by alex@thinkpad:
QEMU: fixed Thumb code disassembly with qdisas<br><br>This used to work in earlier versions, but target_disas changed its syntax in 2.5.0.<br>Useful for debugging io_trace on DIGIC 6 (with CONFIG_QEMU=y).
The file was modifiedcontrib/qemu/eos/eos_ml_helpers.c (diff)
Changeset 18084:58b1e47fa975 by alex@thinkpad:
QEMU: fixed TCM size info (broken in df56963);<br>simplified condition for 946_PRBS size info
The file was modifiedcontrib/qemu/qemu-2.5.0.patch (diff)
Changeset 18083:217383c7494a by alex@thinkpad:
QEMU: better description for DRSR, useful for emulating io_trace on DIGIC 6:<br><br>- enable bit (similar to PRBS on DIGIC 5 and earlier)<br>- consistency check for base address and size (base address must be multiple of size - Cortex R4 TRM p.178)<br>- subregion disable bits (if used)<br><br>Useful for emulating io_trace.<br><br>Note: QEMU already calls tlb_flush when writing to DRSR, DRBAR or DRACR. No need to apply e4fd44e on DIGIC 6.
The file was modifiedcontrib/qemu/qemu-2.5.0.patch (diff)
Changeset 18082:52c4d1e96333 by alex@thinkpad:
QEMU: print PC when taking an exception
The file was modifiedcontrib/qemu/qemu-2.5.0.patch (diff)
Changeset 18081:5868055e95c2 by alex@thinkpad:
QEMU install: option to to keep or replace existing sd.img and cf.img, if any
The file was modifiedcontrib/qemu/install.sh (diff)
Changeset 18080:ea00f066e8ec by alex@thinkpad:
QEMU install: always use qemu-eos as username
The file was modifiedcontrib/qemu/install.sh (diff)
Changeset 18079:c5edd35e5b66 by alex@thinkpad:
QEMU: updated SD/CF image with the latest portable display test<br>(19f18f0 from recovery branch)
The file was modifiedcontrib/qemu/sd.img.xz (diff)
The file was modifiedcontrib/qemu/tests/1000D/calls-main.md5 (diff)
The file was modifiedcontrib/qemu/tests/1000D/disp.md5 (diff)
The file was modifiedcontrib/qemu/tests/100D/calls-main.md5 (diff)
The file was modifiedcontrib/qemu/tests/1100D/calls-main.md5 (diff)
The file was modifiedcontrib/qemu/tests/1100D/disp.md5 (diff)
The file was modifiedcontrib/qemu/tests/1200D/calls-main.md5 (diff)
The file was modifiedcontrib/qemu/tests/1200D/disp.md5 (diff)
The file was modifiedcontrib/qemu/tests/1300D/calls-main.md5 (diff)
The file was modifiedcontrib/qemu/tests/1300D/disp.md5 (diff)
The file was modifiedcontrib/qemu/tests/200D/disp.md5 (diff)
The file was modifiedcontrib/qemu/tests/400D/disp.md5 (diff)
The file was modifiedcontrib/qemu/tests/40D/calls-main.md5 (diff)
The file was modifiedcontrib/qemu/tests/450D/calls-main.md5 (diff)
The file was modifiedcontrib/qemu/tests/450D/disp.md5 (diff)
The file was modifiedcontrib/qemu/tests/500D/calls-main.md5 (diff)
The file was modifiedcontrib/qemu/tests/500D/disp.md5 (diff)
The file was modifiedcontrib/qemu/tests/50D/calls-main.md5 (diff)
The file was modifiedcontrib/qemu/tests/550D/calls-main.md5 (diff)
The file was modifiedcontrib/qemu/tests/550D/disp.md5 (diff)
The file was modifiedcontrib/qemu/tests/5D/disp.md5 (diff)
The file was modifiedcontrib/qemu/tests/5D2/calls-main.md5 (diff)
The file was modifiedcontrib/qemu/tests/5D3/calls-main.md5 (diff)
The file was modifiedcontrib/qemu/tests/5D4/calls-main.md5 (diff)
The file was modifiedcontrib/qemu/tests/600D/calls-main.md5 (diff)
The file was modifiedcontrib/qemu/tests/600D/disp.md5 (diff)
The file was modifiedcontrib/qemu/tests/60D/calls-main.md5 (diff)
The file was modifiedcontrib/qemu/tests/650D/calls-main.md5 (diff)
The file was modifiedcontrib/qemu/tests/6D/calls-main.md5 (diff)
The file was modifiedcontrib/qemu/tests/6D2/disp.md5 (diff)
The file was modifiedcontrib/qemu/tests/700D/calls-main.md5 (diff)
The file was modifiedcontrib/qemu/tests/70D/calls-main.md5 (diff)
The file was modifiedcontrib/qemu/tests/760D/calls-main.md5 (diff)
The file was modifiedcontrib/qemu/tests/77D/disp.md5 (diff)
The file was modifiedcontrib/qemu/tests/7D/disp.md5 (diff)
The file was modifiedcontrib/qemu/tests/7D2M/disp.md5 (diff)
The file was modifiedcontrib/qemu/tests/800D/disp.md5 (diff)
Changeset 18078:19b151321cb5 by alex@thinkpad:
QEMU test suite: updated for latest ROM dumper<br><br>- now working on all EOS models<br>- always update to latest version<br>- allow RESCUE.LOG alongside with the ROM dumps<br>- report extra files on the SD card, if any
The file was modifiedcontrib/qemu/tests/run_tests.sh (diff)
Changeset 18077:c4d7af4fab89 by alex@thinkpad:
QEMU: make sure all models have correct ROM sizes defined<br><br>- do not allow ROM files with duplicate data<br>- most models do not have ROM0; only define where it is actually used<br>- ROM0/1, where present, should be defined with the right size (too low - won&#039;t boot; too high - will fail the duplication test)<br>- test results: context changed in some models without ROM0 (noise from the ROM dump was sometimes pointing to strings in ROM1)<br><br>https://www.magiclantern.fm/forum/index.php?topic=5601.msg212692#msg212692
The file was modifiedcontrib/qemu/eos/eos.c (diff)
The file was modifiedcontrib/qemu/eos/model_list.c (diff)
The file was modifiedcontrib/qemu/tests/1100D/calls-main.md5 (diff)
The file was modifiedcontrib/qemu/tests/600D/calls-main.md5 (diff)
The file was modifiedcontrib/qemu/tests/650D/calls-main.md5 (diff)
The file was modifiedcontrib/qemu/tests/700D/calls-main.md5 (diff)
The file was modifiedcontrib/qemu/tests/EOSM/calls-main.md5 (diff)
Changeset 18076:86d6d9f225ee by alex@thinkpad:
GDB scripts: workaround to prevent GDB from crashing on 5D<br><br>It appears to be a bug in GDB, e.g. trying to access guest memory when setting a convenience variable.<br>Reprogramming the MPU to allow memory access where GDB expects it appears to do the trick for now.
The file was modifiedcontrib/qemu/scripts/5D/debugmsg.gdb (diff)
Changeset 18075:96b787a2697a by alex@thinkpad:
GDB scripts: fixed CURRENT_ISR on A1100
The file was modifiedcontrib/qemu/scripts/A1100/debugmsg.gdb (diff)
Changeset 18074:bdc957bb7985 by alex@thinkpad:
QEMU: defined CURRENT_ISR on VxWorks models<br>(5D, 40D, 400D, 450D, 1000D)<br><br>The interrupt ID is only stored the stack, but the address appears to be repeatable for the first nesting level. Better than nothing.
The file was modifiedcontrib/qemu/scripts/1000D/debugmsg.gdb (diff)
The file was modifiedcontrib/qemu/scripts/400D/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)
Changeset 18073:3b117918c844 by alex@thinkpad:
QEMU: fixed CURRENT_TASK for 5D (both GDB script and model_list.c)
The file was modifiedcontrib/qemu/eos/model_list.c (diff)
The file was modifiedcontrib/qemu/scripts/5D/debugmsg.gdb (diff)
The file was modifiedcontrib/qemu/tests/5D/calls-main.md5 (diff)
Changeset 18072:cf53760e0886 by alex@thinkpad:
QEMU: updated CURRENT_ISR for EOS M5; workaround for current_task_addr
The file was modifiedcontrib/qemu/eos/model_list.c (diff)
The file was modifiedcontrib/qemu/scripts/EOSM5/debugmsg.gdb (diff)
Changeset 18071:51dbcd035eea by alex@thinkpad:
GDB scripts: updated formatting of CURRENT_ISR on 200D, 800D, 77D, 6D2, 750D<br>(non-functional)
The file was modifiedcontrib/qemu/scripts/200D/debugmsg.gdb (diff)
The file was modifiedcontrib/qemu/scripts/6D2/debugmsg.gdb (diff)
The file was modifiedcontrib/qemu/scripts/750D/debugmsg.gdb (diff)
The file was modifiedcontrib/qemu/scripts/77D/debugmsg.gdb (diff)
The file was modifiedcontrib/qemu/scripts/800D/debugmsg.gdb (diff)
Changeset 18070:1ddaef36c368 by alex@thinkpad:
GDB scripts: updated CURRENT_ISR for 100D and 1300D to use the latest hypothesis<br>(right before the interrupt ID, there is a counter telling whether we are running from interrupt or not, on all models so far)
The file was modifiedcontrib/qemu/scripts/100D/debugmsg.gdb (diff)
The file was modifiedcontrib/qemu/scripts/1300D/debugmsg.gdb (diff)
Changeset 18069:675e0e0aa2aa by alex@thinkpad:
MPU spells: fix possible buffer overflow when interpreting messages
The file was modifiedcontrib/qemu/eos/mpu.c (diff)
Changeset 17961:25a911d251a8 by alex@thinkpad:
QEMU test suite: use larger GUI timeouts for 70D, 1100D, 1200D, 1300D, EOSM and EOSM2, alongside 100D<br><br>Fixes some intermittent failures in GUI tests, narrowed down to first button press being sent before starting Canon&#039;s GuiMainTask.
The file was modifiedcontrib/qemu/tests/run_tests.sh (diff)
Changeset 17960:f012b40c292b by alex@thinkpad:
QEMU test suite: minor fix<br>(colors incorrect if QEMU was already running)
The file was modifiedcontrib/qemu/tests/run_tests.sh (diff)
Changeset 17959:27b1a38ea911 by alex@thinkpad:
QEMU: experimental SD/CF clock tests (some DIGIC 3/4 models; working only in bootloader context; disabled by default)<br><br>These were used to fix/test the portable ROM dumper on old models.<br><br>FIXME: with these changes, main firmware does not boot, so they were disabled.
The file was modifiedcontrib/qemu/eos/eos.c (diff)
Changeset 17958:7a021eae020c by alex@thinkpad:
QEMU: log all unhandled MMIO events, even if they repeat<br>(this &quot;feature&quot; interferes with debugging; was present since the first commit, in 2013)
The file was modifiedcontrib/qemu/eos/eos.c (diff)
Changeset 17957:313d5bd76bae by alex@thinkpad:
QEMU: fix overflow in eos_ml_helpers.c (qprintf)
The file was modifiedcontrib/qemu/eos/eos_ml_helpers.c (diff)
Changeset 17945:97682a0b1b7f by alex@thinkpad:
QEMU: fixed shift warning in logging.c<br>(found with UBSan)
The file was modifiedcontrib/qemu/eos/dbi/logging.c (diff)
Changeset 17944:bfdf904b05cb by alex@thinkpad:
QEMU: fixed shift warnings in disas.c<br>(found with UBSan)
The file was modifiedcontrib/qemu/qemu-2.5.0.patch (diff)
Changeset 17943:7726454ad704 by alex@thinkpad:
QEMU: fixed buffer overflow warning in serial_flash.c<br>(found with ASan; not affecting well-behaved code)
The file was modifiedcontrib/qemu/eos/serial_flash.c (diff)
Changeset 17942:f973fe125b1c by alex@thinkpad:
QEMU: fixed underflow in logging.c<br>(found with ASan)
The file was modifiedcontrib/qemu/eos/dbi/logging.c (diff)
Changeset 17941:629e0ae8dd31 by alex@thinkpad:
QEMU: fixed underflow in debugmsg.c<br>(found with ASan)
The file was modifiedcontrib/qemu/eos/dbi/debugmsg.c (diff)
Changeset 17940:5aad324b3ef2 by alex@thinkpad:
QEMU: fixed shift warnings in logging.c<br>(found with UBSan)
The file was modifiedcontrib/qemu/eos/dbi/logging.c (diff)
Changeset 17939:f5d3610d1466 by alex@thinkpad:
QEMU: fixed shift warnings in eos.c<br>(found with UBSan)
The file was modifiedcontrib/qemu/eos/eos.c (diff)
Changeset 17938:338e9f2e6d34 by alex@thinkpad:
QEMU: workaround for compiling with -fsanitize=undefined in digic.c<br>(possibly gcc bug)
The file was modifiedcontrib/qemu/qemu-2.5.0.patch (diff)
Changeset 17937:98e953f11d82 by alex@thinkpad:
QEMU: imported https://github.com/qemu/qemu/commit/30628cb12de<br><br>Fixes compilation with -fsanitize=undefined
The file was modifiedcontrib/qemu/qemu-2.5.0.patch (diff)
Changeset 17936:71876dc47cac by alex@thinkpad:
QEMU: imported https://github.com/qemu/qemu/commit/9005774b27b<br><br>Fixes crash with long GDB requests on Mac - https://www.magiclantern.fm/forum/index.php?topic=2864.msg210189#msg210189
The file was modifiedcontrib/qemu/qemu-2.5.0.patch (diff)
Changeset 17935:31dc31c27e00 by alex@thinkpad:
configure_eos.sh: fix passing arguments containing spaces
The file was modifiedcontrib/qemu/scripts/configure_eos.sh (diff)
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)