Started 11 mo ago
Took 1 min 28 sec

Success Build #13 (Dec 24, 2018 8:47:56 PM)

Build Artifacts
magiclantern-Nightly.2018Dec24.70D112.zip1.79 MB view
Changes
  1. 70D: updated GUIMODE_ML_MENU definition to match 700D, 650D, 100D and EOS M (see commit e65c0e3)

    This should allow scrollwheel controls when browsing ML menu while recording H.264. Tested only in QEMU. (detail / bitbucket)
  2. Merged lua_fix into 70D.112 (detail / bitbucket)
  3. printf: limit buffer size only when running from init_task
    (fixes memory backend messages truncated during startup) (detail / bitbucket)
  4. Memory backend: some models use AllocateMemory rather than malloc for RscMgr data structures

    Fixes small memory test on 50D and 5D2.
    Thanks aprofiti, https://www.magiclantern.fm/forum/index.php?topic=18083.msg207261#msg207261 (detail / bitbucket)
  5. 1100D: enabled FEATURE_BEEP
    (beeps were enabled by default, with no way to turn them off; no crashes reported yet) (detail / bitbucket)
  6. api_test.lua: moved log file into ML/LOGS (detail / bitbucket)
  7. api_test.lua: skip FPS override test on cameras without this feature
    (currently 70D) (detail / bitbucket)
  8. api_test.lua: 50D has no video playback functionality; skipping this test
    https://www.magiclantern.fm/forum/index.php?topic=14828.msg206376#msg206376 (detail / bitbucket)
  9. 600D, 1100D: these models are using two button codes for Q
    (one in photo mode, another in LiveView) (detail / bitbucket)
  10. NotifyBox: minor fixes/cleanups (detail / bitbucket)
  11. Lua dryos.directory.children: exclude "." and ".." from directory listings.

    Added API test for recursively listing directory contents. (detail / bitbucket)
  12. lua_dryos: minor doc updates (detail / bitbucket)
  13. gui_common: allow simulated key events when half-shutter is UI-locked
    (fixes movie.stop on 50D: https://www.magiclantern.fm/forum/index.php?topic=14828.msg206343#msg206343) (detail / bitbucket)
  14. Merged allocate-raw-lv-buffer into lua_fix (detail / bitbucket)
  15. Merged qemu into lua_fix (detail / bitbucket)
  16. Merged 100D_merge_fw101 into lua_fix (detail / bitbucket)
  17. 500D: experimental workaround for ERR70, issue #1468
    (only enabled when recording H.264 with sound) (detail / bitbucket)
  18. 500D: removed old workarounds for ERR70
    (still experimenting) (detail / bitbucket)
  19. VRAM: recompute LUTs only when display parameters actually change
    (appears to help with 500D's ERR70 while recording; to be tested with external monitors) (detail / bitbucket)
  20. selftest: info screen toggling test
    (crashes 500D) (detail / bitbucket)
  21. Lua: fix printing pointer values
    (no %p in Canon's vsnprintf) (detail / bitbucket)
  22. Lua: minor stack fix
    (apparently never triggered) (detail / bitbucket)
  23. Lua: simple stack checking when yielding to other tasks (detail / bitbucket)
  24. Lua: stack dump function for debugging
    http://www.lua.org/pil/24.2.3.html (detail / bitbucket)
  25. Lua: dryos.directory.__tostring() (detail / bitbucket)
  26. Lua dryos: removed card.cluster_size
    (too low-level to be useful for Lua) (detail / bitbucket)
  27. Lua dryos: refactored card functions for consistency with directory functions (detail / bitbucket)
  28. Lua: moved dryos.dcim_dir to dryos.shooting_card:dcim_dir
    (or dryos.<other_card>.dcim_dir) (detail / bitbucket)
  29. Lua dryos: fix card free_space field
    (never worked) (detail / bitbucket)
  30. Lua: added dryos.cf_card and dryos.sd_card
    (just for consistency) (detail / bitbucket)
  31. 6D DEFAULT_RAW_BUFFER_SIZE

    https://www.magiclantern.fm/forum/index.php?topic=5601.msg196632#msg196632 (detail / bitbucket)
  32. 650D DEFAULT_RAW_BUFFER_SIZE is the same as on the 700D
    https://www.magiclantern.fm/forum/index.php?topic=5601.msg196632#msg196632 (detail / bitbucket)
  33. Lua: added dryos.shooting_card.get_image_path to fix edge cases
    from api_test.lua when image number wrapped around at 9999->0001

    (this replaced the hardcoded logic from api_test.lua for getting previous/future still image paths) (detail / bitbucket)
  34. Merged img_name into lua_fix
    (required to test the file number updates, i.e. wrapping around at 9999->0001) (detail / bitbucket)
  35. shoot.c: Canon wraps around from IMG_9999 to IMG_0001, not 0000
    (affected: fast pictures, intervalometer/bracketing scripts) (detail / bitbucket)
  36. api_test.lua: Canon wraps around from IMG_9999 to IMG_0001, not 0000 (detail / bitbucket)
  37. api_test.lua: limit ISO tests to 3200
    (max value on 500D) (detail / bitbucket)
  38. Modules: enabled img_name by default
    (works reasonably well, also tested on 5D2 and 500D) (detail / bitbucket)
  39. img_name: misc GUI fixes (detail / bitbucket)
  40. img_name: option to customize DCIM folder number (detail / bitbucket)
  41. img_name: fix file number getting out of sync when taking pictures (detail / bitbucket)
  42. close_liveview: also handle the "paused" LiveView state (detail / bitbucket)
  43. menu: do not draw on the screen when using menu.get/set from scripts
    (some update functions may use custom drawing code; this should not run) (detail / bitbucket)
  44. api_test.lua: fix movie mode tests on 5D2
    (unusual movie mode "definition"; hopefully the fix also applies to 50D) (detail / bitbucket)
  45. Lua: also print free memory after unloading a script or after starting to run it in background (detail / bitbucket)
  46. Lua: experiment - limit small allocations to UMM heap only

    This forces the garbage collection to run, and appears to be enough even for large scripts.

    Without this, api_test.lua could end up allocating the entire AllocateMemory buffer from ML core, leaving the system without RAM. (detail / bitbucket)
  47. Focus backend: fine-tuned waiting workaround for models with CONFIG_FOCUS_COMMANDS_PROP_NOT_CONFIRMED
    Fixes crash on 5D2 with 50/1.8 STM. Also applied on 50D and 500D.
    550D and 7D might require the same workaround with certain lenses, to be tested. (detail / bitbucket)
  48. lens.autofocus: fix operation in LiveView for 5D2 and 500D, likely also 50D
    (use PROP_REMOTE_AFSTART_BUTTON rather than half-shutter) (detail / bitbucket)
  49. 500D: found a way to disable the "Perform autofocus with AE lock <*> button" message in LiveView
    (minor annoyance; it was also interferring with LiveView tests from api_test.lua) (detail / bitbucket)
  50. Properties: fixed name of PROP_LV_AF_RESULT (was PROP_LV_FOCUS_BAD)
    and made it available for modules. (detail / bitbucket)
  51. api_test.lua: additional checks for paused LiveView (detail / bitbucket)
  52. api_test.lua: when requesting a different video mode, wait for user to finish navigating menus
    (e.g. on 5D2, switching between movie and photo mode is done from Canon menu) (detail / bitbucket)
  53. api_test.lua: skip testing with focus step size 1
    (too slow and may fail on certain lenses) (detail / bitbucket)
  54. api_test.lua: leave Canon overlays disabled at the end of the test (detail / bitbucket)
  55. api_test.lua: do not fail the autofocus tests right away
    (use retries and ask the user to make sure the camera has something to focus on) (detail / bitbucket)
  56. api_test.lua: beeps and screen flashes where user input is expected (detail / bitbucket)
  57. api_test.lua: relaxed half-shutter checks (replaced some assertions with warnings)

    5D2: there may be spurious half-shutter events, e.g. if scene brightness is changed during the test
    50D: https://www.magiclantern.fm/forum/index.php?topic=14828.msg197548#msg197548 (detail / bitbucket)
  58. api_test.lua: log the error message on failure (detail / bitbucket)
  59. menu.set: relaxed conditions for trying every single string value
    (arbitrary durations now working with intervalometer) (detail / bitbucket)
  60. menu.set: reworked to fix issues with certain menus, e.g. FPS override
    https://www.magiclantern.fm/forum/index.php?topic=14828.msg199771#msg199771 (detail / bitbucket)
  61. close_liveview: fix "exiting" movie mode, including special case for 5D2/50D (detail / bitbucket)
  62. 700D, 650D, 100D: updated GUIMODE_ML_MENU definition to allow scrollwheel controls when browsing ML menu while recording H.264
    EOS M: updated GUIMODE_ML_MENU to use the same underlying dialogs

    https://www.magiclantern.fm/forum/index.php?topic=7473.msg205350#msg205350
    https://www.magiclantern.fm/forum/index.php?topic=9741.msg205358#msg205358
    https://www.magiclantern.fm/forum/index.php?topic=16040.msg205389#msg205389 (detail / bitbucket)
  63. 650D, 700D, EOSM: fix interference between ML menu and Canon overlays in LiveView
    https://www.magiclantern.fm/forum/index.php?topic=7473.msg198464#msg198464
    https://www.magiclantern.fm/forum/index.php?topic=9741.msg205361#msg205361 (detail / bitbucket)
  64. Follow focus: fix apparently random stops when using LCD sensor (detail / bitbucket)
  65. Follow focus: removed top icon when using LCD sensor
    (was redundant and conflicting with ML top bar) (detail / bitbucket)
  66. Focus tools: refuse to run if continuous AF is enabled in Canon menu (detail / bitbucket)
  67. Lua lens.focus: warn if continuous AF / movie servo AF are enabled in Canon menu (detail / bitbucket)
  68. Menu: dependency flags for continuous AF
    (used for rack/stack/follow focus, as these requires it turned off in Canon menu) (detail / bitbucket)
  69. focus.h: added is_continuous_af() (detail / bitbucket)
  70. Updated some LiveView AF properties for newer models
    (tested on 700D) (detail / bitbucket)
  71. SET+MainDial: another workaround for issue #2901

    (TODO: find a way to reproduce in QEMU) (detail / bitbucket)
  72. SET+MainDial: workaround for issue #2901

    Issue: touchscreen stops working after pressing SET in PLAY mode (700D, maybe others).

    This workaround only covers pressing SET from some playback dialog, such as erasing an image. (detail / bitbucket)
  73. VRAM: workaround from 03c5f43 apparently required only on 5D3 1.2.3 and has some side effects (issue #2901)

    To test: play Arkanoid right after powering up the camera, without going to PLAY mode or LiveView.
    If you get artifacts in background, your camera requires this workaround. (detail / bitbucket)
  74. QEMU: fix handling replies of duplicate MPU messages
    (encountered in 80D, maybe others) (detail / bitbucket)
  75. MPU spells: comment out photo capture from startup logs
    (affects 450D and 1000D) (detail / bitbucket)
  76. 7D: FEATURE_HEADPHONE_OUTPUT_VOLUME needs to be undefined - like the 500D (detail / bitbucket)
  77. MPU spells: documented PROP_BOARD_TEMP and renamed PROP_AF_DURING_RECORD/PROP_MOVIE_REC_AF to PROP_SHUTTER_AF_DURING_RECORD (detail / bitbucket)
  78. QEMU tests: retry screenshots if there apparently was a successful match
    followed by a (possibly transient) difference (detail / bitbucket)
  79. QEMU tests: fixed some transient screenshots
    (optional double-checking code to autodetect them) (detail / bitbucket)
  80. GDB scripts: register_cmd (for DryOS shell functions)

    Useful for naming a few more functions, but requires entering the DryOS shell to trigger them. Stubs for 5D3. (detail / bitbucket)
  81. GDB scripts: make sure all EOS models have CreateStateObject defined
    (only test models with this string present in the ROM) (detail / bitbucket)
  82. GDB scripts: make sure all models have register_func (RegisterEventProcedure) defined

    Exception: Eeko. (detail / bitbucket)
  83. QEMU: workaround for running GDB tests on 7D (detail / bitbucket)
  84. QEMU: fix 7D LED assertion (detail / bitbucket)
  85. QEMU tests: fix race condition when checking GDB scripts
    (shared file) (detail / bitbucket)
  86. GDB scripts: 800D comments, for consistency with other platforms (detail / bitbucket)
  87. GDB scripts: print "(null)" in other places where string arguments might be optional (detail / bitbucket)
  88. GDB scripts: 5D4 uses a new syntax for create_semaphore
    (name is the third argument) (detail / bitbucket)
  89. QEMU: 5D4 emulation updated for firmware 1.1.2

    - updated test results and GDB script
    - fixed serial flash read interrupt; file I/O working! (detail / bitbucket)
  90. GDB scripts: print "(null)" for empty semaphore / message queue names
    (auto-search the ROM for this string constant, as otherwise we'd need to define a malloc symbol for each camera model)

    If the "(null)" string is not found in the firmware, the GDB tests will fail with timeout. (detail / bitbucket)
  91. QEMU: disabled eos_handle_rom MMIO handlers
    (unused, only triggered incorrectly on Eeko, where they caused a crash) (detail / bitbucket)
  92. GDB scripts: fix pausing prompt on short terminals (detail / bitbucket)
  93. Removed some CONFIG_QEMU entries that are no longer needed
    - cache_hacks.h: these are now emulated reasonably well
    - 5D2: old leftover in gui.c (detail / bitbucket)
  94. Minimal targets: only compile subdirectories with a valid Makefile (detail / bitbucket)
  95. QEMU tests: FA_CaptureTestImage works on 1300D
    (prints "Image Power Failure", but the fix is not straightforward) (detail / bitbucket)
  96. Makefile: when running "make install", copy ML-SETUP.FIR only for the generic profile
    (not for minimal or other targets) (detail / bitbucket)
  97. Makefile: always check all minimal targets when running "make zip"
    (only check whether they compile without errors, just like with the installer) (detail / bitbucket)
  98. Minimal target: moved the Hello World example into its own directory and removed old platform folders (detail / bitbucket)
  99. Minimal targets: 5D3 1.1.3 hacks no longer needed (detail / bitbucket)
  100. GDB scripts: fix IDC names containing spaces (detail / bitbucket)
  101. QEMU: fix timeout in ImgPowDet emulation
    (there were nondeterministic errors in the FRSP test) (detail / bitbucket)
  102. QEMU: emulate ADTGDMA interrupt (used on 100D and EOS M2)

    - fixes FA_CaptureTestImage on 100D
    - some LiveView screenshots changed on 100D
    - color palette in LiveView changed on M2; can be worked around by pressing L (updated menu tests) (detail / bitbucket)
  103. QEMU tests: ignore nondeterministic screenshot on 6D
    (may appear with or without free space) (detail / bitbucket)
  104. GDB scripts: moved try_expand_ram_struct at the top (detail / bitbucket)
  105. GDB scripts: minor whitespace fix (detail / bitbucket)
  106. QEMU: ensure valid RAM address before executing EDMAC transfers
    (EOS M fails here when running FA_CaptureTestImage) (detail / bitbucket)
  107. QEMU: image sensor power emulation
    (fixes FA_CaptureTestImage on 5D2; tested on all other models able to run the FRSP test) (detail / bitbucket)
  108. QEMU: output dummy data (zeros) on read EDMAC connections

    Fixes FA_CaptureTestImage on 700D and 650D. (detail / bitbucket)
  109. qemu-frsp: fix compiling for 70D (detail / bitbucket)
  110. QEMU: allow reads to EDMAC CHSW registers
    (required for FA_CaptureTestImage emulation on 6D and others) (detail / bitbucket)
  111. qemu-frsp: ensure valid exposure settings before the test
    (exposure time not too long, ISO other than Auto; required on 600D and others) (detail / bitbucket)
  112. QEMU: fix YUV vertical scaling for 1100D
    (only the FRSP test uses it for now) (detail / bitbucket)
  113. qemu-frsp: allocate a YUV buffer if there isn't one already set up (only with CONFIG_QEMU)

    Fixes preview on 5D3 and 1100D, where Canon firmware does not allocate one at startup. (detail / bitbucket)
  114. QEMU tests: all models able to navigate Canon menu should pass the FRSP (FA_CaptureTestImage) test

    Most of them will fail; to be fixed. (detail / bitbucket)
  115. QEMU tests: handle models not yet in mainline
    (FRSP and HPTimer tests are using this for now) (detail / bitbucket)
  116. QEMU: updated gcc 7/8 patch for systems using virtio-9p (detail / bitbucket)
  117. QEMU: updated gcc 7.x patch to also work with gcc 8.x (detail / bitbucket)
  118. eos.c: fix gcc8 warnings (detail / bitbucket)
  119. Makefile: allow "make install*" without a FIR file
    (for minimal targets and new platforms) (detail / bitbucket)
  120. QEMU logging: attempt to identify tail calls by default
    (-d calls,notail to disable) (detail / bitbucket)
  121. QEMU tests: updated for 200D 1.0.1 (detail / bitbucket)
  122. QEMU logging: moved IDC files into model subdirectories
    (for consistency with romcpy shell files) (detail / bitbucket)
  123. QEMU logging: fix typo when using -d romcpy
    (output file path was not printed correctly) (detail / bitbucket)
  124. QEMU tests: initial support for 800D
    (fixme: call trace not deterministic, same as 77D) (detail / bitbucket)
  125. 800D: minor stub fixes in GDB script (detail / bitbucket)
  126. qemu: add 800D to model_list.c, and add 800D/debugmsg.gdb (detail / bitbucket)
  127. Config options: fix issue #2892
    (custom presets not appearing in menu) (detail / bitbucket)
  128. Merged config_var_refactor into lua_fix (detail / bitbucket)
  129. Merged unified into lua_fix (detail / bitbucket)
  130. Menu: fix config var incorrectly changed during fast toggles
    (e.g. 36 -> 35 without calling the CBR) (detail / bitbucket)
  131. Config variables: declare all internal structures static
    (minor refactor) (detail / bitbucket)
  132. Config variables: include the forward declaration in the CONFIG_INT_EX definition
    (no longer needed to declare CONFIG_VAR_CHANGE_FUNC's twice) (detail / bitbucket)
  133. Config variables: use CONFIG_VAR_CHANGE_FUNC (similar to MENU_SELECT_FUNC); minor renames (detail / bitbucket)
  134. Merged unified into config_var_refactor (detail / bitbucket)
  135. audio-ak: fix compiling for 500D (detail / bitbucket)
  136. menu: short joystick clicks should not be interpreted as SET outside ML menu
    (fixes incorrect trigger of Auto ETTR from joystick, for example) (detail / bitbucket)
  137. rename  xxx_update functions for config_vars to xxx_on_change (detail / bitbucket)
  138. rename CONFIG_INT_UPDATE to CONFIG_INT_EX and .update to .on_change to avoid confusion and name conflicts with MENU_UPDATE_FUNCs (detail / bitbucket)
  139. Merge (detail / bitbucket)
  140. config var: refactor audio-lapis to use new config var CBR (not tested -> I have none of these cameras) (detail / bitbucket)
  141. config var: refactor audio-ak and audio-common to use new config var CBR (TODO: audio-lapis) (detail / bitbucket)
  142. Ghost image: further cleanups and fixes (detail / bitbucket)
  143. Ghost image: fix crash (issues #2796, #2783, #2878, #2885) (detail / bitbucket)
  144. features.tmpl edited online with Bitbucket: use id in th section heading to allow for direct linking via anchor (detail / bitbucket)
  145. Merged in edmac (pull request #886)

    EDMAC module: fixes for DIGIC 4, connection map (detail / bitbucket)
  146. Merged in adv_int (pull request #907)

    Advanced intervalometer updates (detail / bitbucket)
  147. Merged in memory-backend (pull request #906)

    Memory backend improvements (detail / bitbucket)
  148. Makefile: fix "make install_qemu CONFIG_QEMU=y" for minimal targets (detail / bitbucket)
  149. QEMU: experimental support for gdb-multiarch
    (latest Ubuntu no longer has gdb-arm-none-eabi...) (detail / bitbucket)
  150. QEMU install: minor fixes (detail / bitbucket)
  151. QEMU install: on some systems, building GDB requires makeinfo; skip it
    https://sourceware.org/bugzilla/show_bug.cgi?id=18113
    Also show the last few lines from the compilation logs if there's an error. (detail / bitbucket)
  152. QEMU install: on older Ubuntu, gcc/gdb installation without package manager may be required (detail / bitbucket)
  153. QEMU install: minor fix for 32-bit Ubuntu
    (option 3: no 64-bit gcc available) (detail / bitbucket)
  154. QEMU installer: removed option to allow old 64-bit GDB
    (hopefully no longer needed) (detail / bitbucket)
  155. QEMU installer: minor fix regarding GDB installation
    (force compiling from source if a valid 64-bit gdb is already installed) (detail / bitbucket)
  156. QEMU installer: attempt to compile gdb 8.1 from source if a 32-bit version is not available (in particular, Mac and WSL)

    https://www.magiclantern.fm/forum/index.php?topic=2864.msg200954#msg200954 (thanks t3r4n) (detail / bitbucket)
  157. QEMU install: there's no DISPLAY variable on Mac (detail / bitbucket)
  158. QEMU: better emulation for cache patches

    (uninstalling works, at least for dm-spy-experiments) (detail / bitbucket)
  159. QEMU: fix CPU0 labels incorrectly appearing in DIGIC 6 logs
    (only DIGIC 7 should display these) (detail / bitbucket)
  160. QEMU: moved ARM946EOS-specific functions (cache lockdown and WFI) from cpu.c to helper.c (detail / bitbucket)
  161. 100D: fix INPUT_ENABLE_IMAGE_PHYSICAL_SCREEN_PARAMETER (display filters working)

    https://www.magiclantern.fm/forum/index.php?topic=16040.msg202397#msg202397 (detail / bitbucket)
  162. 100D: fix timer A limit in x5 zoom mode
    https://www.magiclantern.fm/forum/index.php?topic=16040.msg201809#msg201809

    TODO: double-check all other models (raw_diag OB zones screenshot in all LiveView modes, with FPS override maxed out) (detail / bitbucket)
  163. Minimal targets: CONFIG_QEMU no longer hardcoded in Makefile
    (should be specified on the command line if desired) (detail / bitbucket)
  164. Makefile: allow CONFIG_QEMU to work on all ML profiles, including minimal and installer

    By default, CONFIG options are only used for the generic profile.
    This enables qprintf for debugging DIGIC 6/7 ports using the minimal profile. (detail / bitbucket)
  165. QEMU: fix printing callstack from GDB scripts
    (broken in 1834cd8) (detail / bitbucket)
  166. GDB scripts: workaround for a crash occuring with 5D
    (possibly GDB bug; can't explain why it works) (detail / bitbucket)
  167. qemu-frsp: fix compiling on lua_fix codebase
    (1200D and soon all others) (detail / bitbucket)
  168. QEMU: updated expected test results for 1200D 1.0.2
    (no stubs changed in debugmsg.gdb) (detail / bitbucket)
  169. QEMU: removed bogus/unused BGMT_ISO (detail / bitbucket)
  170. QEMU: fix Q button code for 1200D

    - https://www.magiclantern.fm/forum/index.php?topic=12627.msg200889#msg200889
    - assuming the same applies to 1300D; unsure about 600D/1100D (detail / bitbucket)
  171. QEMU: fix compiling on 32-bit x86 hosts

    Caveat: -d romcpy not working on x86 (requires int128_t) (detail / bitbucket)
  172. QEMU README: initial notes on DIGIC 7 (detail / bitbucket)
  173. Merged in nikfreak/magic-lantern/unified_sf_dump_70D (pull request #853)

    sf_dump.mo: support for 70D (detail / bitbucket)
  174. Close branch (detail / bitbucket)
  175. add 70D stubs for sf_dump module (detail / bitbucket)
  176. Created new branch unified_sf_dump_70D (detail / bitbucket)
  177. Merged in es_as/magic-lantern (pull request #891)

    650D: sf_dump stubs (detail / bitbucket)
  178. 650D:sf_dump stubs (detail / bitbucket)
  179. Merged in daniel_fort/magic-lantern/unified_650D.104_stub_fix (pull request #923)

    Fix 650D PlayMovieGuideApp_handler (detail / bitbucket)
  180. Find the latest version of exiftool. (detail / bitbucket)
  181. Close branch (detail / bitbucket)
  182. Fixed stub. Discovered while running lua API tests.
    https://www.magiclantern.fm/forum/index.php?topic=7473.msg200626#msg200626 (detail / bitbucket)
  183. QEMU: initial support for DIGIC 7 EOS (200D, 77D, 6D2)
    - 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 (detail / bitbucket)
  184. QEMU logging: initial support for DIGIC 7
    (CPU0 only; exception vectors at nonzero address) (detail / bitbucket)
  185. QEMU tests: ROM dumper needs larger timeout on slower computers; undo unwanted changes from cb93334 (detail / bitbucket)
  186. QEMU tests: fix expected results for restore after format after updating SD image (detail / bitbucket)
  187. QEMU tests: reworked ROM dump test to wait as much or as little as each camera needs
    (fixme: 70D waits for some CFDMA messages that are for some other device) (detail / bitbucket)
  188. QEMU: usleep patching no longer required on M3 (detail / bitbucket)
  189. QEMU: updated ROM dump tests to check SFDATA.BIN too
    (currently only applies to DIGIC 6) (detail / bitbucket)
  190. QEMU: updated SD image with latest display test
    (changeset 9b37638) (detail / bitbucket)
  191. QEMU: experimental UTimer emulation
    - these look pretty much like regular timers (same offsets), but behave like HPTimers!
    - UTimer patches from DIGIC 6 no longer needed!
    - fine-tuned HPTimer messages (detail / bitbucket)
  192. QEMU: fix logging of MMIO registers from the same range as MREQ
    (eos_handle_mreq also receives a few other registers, unknown yet) (detail / bitbucket)
  193. QEMU: specify actual RAM size for each model, rather than using generic values
    (emulating with larger size usually works, but doesn't catch some edge cases) (detail / bitbucket)
  194. QEMU: reordered model definitions in model_list.c
    (grouped by DIGIC version and similarity) (detail / bitbucket)
  195. QEMU: renamed IO_MEM_START/SIZE to MMIO_ADDR/SIZE for consistency;
    added MMIO_ADDR to model_list.c (possibly needed for future models) (detail / bitbucket)
  196. QEMU: removed unused entries; moved ML helpers to a different GPIO range.

    Old range was not accessible on certain models, such as PowerShots and DIGIC 7.
    Old GPIOs are still accepted (debugging existing code from experimental branches is still possible without merging latest qemu). (detail / bitbucket)
  197. QEMU logging: -d romcpy now output a shell script for extracting the copied blocks (detail / bitbucket)
  198. QEMU: memfd patch to fix compilation with glibc 2.27
    https://patchwork.openembedded.org/patch/147682/ (detail / bitbucket)
  199. QEMU installer: minor updates
    - option to "make clean" before renaming the old folder (to save disk space)
    - exit if QEMU fails to compile
    - check for a valid DISPLAY (important for WSL)
    - updated help links (detail / bitbucket)
  200. QEMU: updated CPU definition for DIGIC 7; renamed for older models and reverted the HIVECS property back to false (detail / bitbucket)
  201. QEMU tests: updated checksums for EOS M/M2 screenshots displaying date/time
    (fix commit 8c575ef99b7f) (detail / bitbucket)
  202. QEMU tests: updated checksum for a screenshot affected by transparency - commit 5b274e3
    (Canon quirk - it's not even a LiveView screenshot) (detail / bitbucket)
  203. annotate_mpu_log.py: allow incomplete mpu_send/recv lines
    (such as the ones from 80D logs) (detail / bitbucket)
  204. MPU spells: documented some AF-related properties (detail / bitbucket)
  205. GDB scripts: also identify and name PTP handlers (detail / bitbucket)
  206. GDB scripts: identify named functions during execution and export as IDC

    Named functions identified from: task_create, register_func, register_interrupt, CreateStateObject
    Tested on 5D3 1.1.3, EOSM2 1.0.3 and 80D 1.0.2 (missing stubs added). (detail / bitbucket)
  207. QEMU: check whether the ROM contents are mirrored (whether dumped size is larger than actual ROM size)

    ```
    [EOS] loading './50D/ROM0.BIN' to 0xF0000000-0xF0FFFFFF
    [EOS] mirrored data; unique 0x400000 bytes repeated 0x4 times
    [EOS] loading './50D/ROM1.BIN' to 0xF8000000-0xF8FFFFFF
    [EOS] mirrored data; unique 0x800000 bytes repeated 0x2 times
    ```

    https://www.magiclantern.fm/forum/index.php?topic=2864.msg199837#msg199837 (detail / bitbucket)
  208. QEMU: SRM_SetBusy/ClearBusy emulation for 5D3/6D/70D (detail / bitbucket)
  209. annotate_mpu_log.py: mark unknown MPU messages with ???

    (this ensures all MPU messages are displayed to the terminal, including unknown ones) (detail / bitbucket)
  210. lua_task: task name must be allocated by caller (it's not copied, so we must not modify it afterwards)

    Easiest way: use the same name for all tasks started by Lua scripts. (detail / bitbucket)
  211. Lua: added sleep() with floating-point argument
    (similar to msleep) (detail / bitbucket)
  212. Lua: option to disable powersave while running tasks created from scripts

    Example: task.create(func, nil, nil, true) (detail / bitbucket)
  213. Powersave: experimental option to disable the 30-minute timer in LiveView (detail / bitbucket)
  214. Powersave: simplified the option to enable while recording;
    updated help; aligned menu definition (detail / bitbucket)
  215. menu: experimental fix for issue #1974 (timeout in LiveView, 6D/M/100D/70D)

    Hypothesis: https://bitbucket.org/hudson/magic-lantern/issues/1974/6df#comment-44206798
    Tested on 5D3 with GUI mode 41.
    Tested in QEMU on 6D (it keeps poking the MPU while ML menu is open). (detail / bitbucket)
  216. property.h: fix declaration of prop_deliver
    (first argument is a pointer to the property, unlike prop_request_change) (detail / bitbucket)
  217. boot-hack: no real reason to use short for magic_off
    ( (detail / bitbucket)
  218. boot-hack: make sure our relocation buffer is 32-bit aligned
    (it usually is, unless compiler decides otherwise) (detail / bitbucket)
  219. Lua: experimental camera.flash (get/set)
    shoot.h: added set_flash_firing (detail / bitbucket)
  220. boot-hack: fade-out LED feedback when bypassing ML at startup
    (by pressing or not pressing SET, depending on how it's configured)

    Should also fix https://www.magiclantern.fm/forum/index.php?topic=21765.msg198829#msg198829 (detail / bitbucket)
  221. Menu: QEMU hack 90f702c no longer needed for EOS M/M2
    (keeping changes to gui.h and button_codes.h) (detail / bitbucket)
  222. run_canon_fw.sh: fix printing GDB command line on systems where process name is limited to 15 chars;
    only look at processes started by the same parent as this script (to avoid false positives)
    to be tested on Mac and WSL (detail / bitbucket)
  223. QEMU: EOS M and M2 appear to handle the Q/SET button just like 100D
    https://www.magiclantern.fm/forum/index.php?topic=21765.msg198769#msg198769 (detail / bitbucket)
  224. QEMU: enabled MPU properties for EOS M (no more issues after LiveView emulation) (detail / bitbucket)
  225. QEMU: allow any argument for PROP_LEO_LENSID (EOSM); documented PROP_LEO_LENS*

    Should fix emulation with ROMs saved with a different lens (apparently lens ID goes into ROM - property 0xC000004)
    https://www.magiclantern.fm/forum/index.php?topic=9741.msg198847#msg198847 (detail / bitbucket)
  226. Experimental option to load ML only when holding SET pressed at startup
    https://www.magiclantern.fm/forum/index.php?topic=21765.msg198779#msg198779 (detail / bitbucket)
  227. config.h: require const char * for config_flag_file_setting_save/load (detail / bitbucket)
  228. EOS M: disabled long-press SET/Q (let's try PLAY for submenus) (detail / bitbucket)
  229. Menu: use PLAY (in addition to Q) for opening submenus (experiment)
    https://www.magiclantern.fm/forum/index.php?topic=4386.msg198669#msg198669 (detail / bitbucket)
  230. Menu: disabled Junkie mode; MENU key just goes back
    https://www.magiclantern.fm/forum/index.php?topic=4386.msg198720#msg198720

    Can be re-enabled by defining FEATURE_JUNKIE_MENU in features.h (detail / bitbucket)
  231. Auto ETTR: backout EOS M specific changes (pull request $428), hopefully no longer needed.
    Triggering by SET should now work just like on all other camera models.
    Not tested, please report back. (detail / bitbucket)
  232. EOSM: enable the SET/Q long-press trick from 100D
    (short press = SET, long press = Q) (detail / bitbucket)
  233. 100D, EOSM: attempt to fix pressing SET at startup to bypass ML
    https://www.magiclantern.fm/forum/index.php?topic=21765.msg198761#msg198761
    (the INFO key can now be used for config presets, just like with all other models)

    Change made generic, for any future models that might use a combined Q/SET button. (detail / bitbucket)
  234. QEMU: send PROP_LV_LENS message at initialization (5D3 1.1.3; 1.2.3 commented; the message is model-specific)

    Useful for LiveView emulation (display focal length, focus distance etc)
    Message sent in a different place (not as in the logs), as it interferes with our (broken) LiveView emulation (detail / bitbucket)
  235. QEMU: experimental bitmap transparency support
    (doesn't match the hardware exactly, but it's better than nothing) (detail / bitbucket)
  236. QEMU: experimental movie mode switch (V key)
    Some cameras have dedicated movie mode on the dial, others use a switch and can record video in any mode dial position. (detail / bitbucket)
  237. QEMU: key mapping for Zoom In / Zoom Out (they don't do anything interesing yet);
    allow defining different keybindings on the same physical key (5D3/6D: only one zoom button, unlike most others)
    cleaned up zoom button handling on 5D3 and 6D (unpress zoom out should not be sent from keyboard, for example) (detail / bitbucket)
  238. QEMU: fix copy/paste error in HPTimer emulation
    (no side effects) (detail / bitbucket)
  239. QEMU tests: large timeouts appear to help in some tricky cases
    (such as mode switches, which may be slower than usual) (detail / bitbucket)
  240. QEMU: updated GUI tests for LiveView.

    EOS M/M2: no more reason to start with the date/time dialog.
    Still some color palette issues; usually can be worked around by switching to other video mode and back.
    Minor call trace differences for 650D and 700D (missed from previous commit) (detail / bitbucket)
  241. QEMU: LiveView works!!! (GUI elements only, no image)
    Credits go to Greg for the first PoC https://www.magiclantern.fm/forum/index.php?topic=2864.msg179867#msg179867

    Tests not yet updated, just to check whether the implementation is really without side effects outside LV.
    Only one screenshot changed - on EOS M (that screenshot was already in LiveView).
    Note: 70D uses more EDMAC connections; increased number from 48 to 64. (detail / bitbucket)
  242. MPU spells: identified some more properties while looking into the EOSM shutter bug
    https://www.magiclantern.fm/forum/index.php?topic=21728.0 (detail / bitbucket)
  243. QEMU: validate calls to eos_trigger_int
    allow missing UART RX/TX interrupt and just print a warning
    (affected: Eeko and EOS M5; fix not obvious) (detail / bitbucket)
  244. QEMU: removed unnecessary assertion in interrupt controller
    (triggered very rarely under "normal" conditions, but happens very often with io_trace) (detail / bitbucket)
  245. QEMU tests: run the GDB test for 10 seconds
    (these logs will be used for building the interrupt map) (detail / bitbucket)
  246. QEMU: fix alignment of MMIO messages before starting tasks (-d io) (detail / bitbucket)
  247. QEMU: fix HPTimer handling of periodic triggers
    (VxWorks models use a HPTimer as heartbeat, unlike DryOS)

    No visible differences on the UI, but heartbeat is now triggering on all VxWorks models.

    Minor emulation differences on 60D, 600D, 650D, 700D, 100D, EOSM, 6D (besides VxWorks models). (detail / bitbucket)
  248. GDB scripts: EOSM.202 stubs for logging properties
    (related: af43d85) (detail / bitbucket)
  249. annotate_mpu_log.py: fix handling logs with Windows newlines
    https://www.magiclantern.fm/forum/index.php?topic=21728.msg198330#msg198330 (detail / bitbucket)
  250. QEMU: delay EDMAC reads by one timer step (apparently reads are supposed to finish after writes)

    Change required to pass the memory benchmark on 5D3 and 6D.
    700D gives the same error if writes are delayed.

    Minor changes to call/return trace on 60D, 600D, 1200D and 1300D (no visible effects). (detail / bitbucket)
  251. QEMU tests: updated EOSM2 call/return trace for latest SFDATA.BIN from dfort
    (previously, SFDATA.BIN for 100D was assumed; no visible changes) (detail / bitbucket)
  252. QEMU: declared silent control events for 5D3
    (not used; only for annotations) (detail / bitbucket)
  253. MPU spells: found PROP_LV_APERTURE and PROP_SILENT_CONTROL_STATUS (detail / bitbucket)
  254. QEMU: declared internal zoom in/out events for 5D3
    (they are sent by the MPU during GUI mode switches) (detail / bitbucket)
  255. QEMU: fix LV button code for 5D3 (detail / bitbucket)
  256. annotate_mpu_log.py: more output options (to stdout, to file, auto rename) (detail / bitbucket)
  257. MPU spells: script to annotate logs with mpu_send/recv events
    (known MPU messages moved to known_spells.py) (detail / bitbucket)
  258. Makefile: fix "make install_qemu CONFIG_QEMU=y" for minimal targets (detail / bitbucket)
  259. VRAM: enabled workaround from 03c5f43 on all models
    (fixes Arkanoid, benchmarks and others on fresh startup in photo mode, without any images on the card) (detail / bitbucket)
  260. Makefile: fix "make clean" for modules not enabled by default (detail / bitbucket)
  261. Merged memory-backend into lua_fix
    (memset32 fix) (detail / bitbucket)
  262. selftest: tests for model ID functions (is_camera etc) (detail / bitbucket)
  263. is_camera: extended to allow checking DIGIC version
    e.g. if (is_camera("DIGIC", "5")) { ... } (detail / bitbucket)
  264. memset64/memcpy64: use versions from b831cb1; fix calls from Magic Zoom to ensure proper alignment (detail / bitbucket)
  265. Backout b831cb1 (breaks Magic Zoom and CONFIG_MARK_UNUSED_MEMORY_AT_STARTUP, as memset64 is not the same as memset) (detail / bitbucket)
  266. 100D: disabled full-screen magic zoom (issue #2842) (detail / bitbucket)
  267. menu: fix typo regarding short unpress events
    (side effect: short joystick press also moved the menu selection up on 5D3) (detail / bitbucket)
  268. adv_int: ignore empty lines when loading keyframes (detail / bitbucket)
  269. adv_int: use strstr instead of my_strstr (fixes slow load) (detail / bitbucket)
  270. Include strstr in ML core (detail / bitbucket)
  271. adv_int: refactor keyframe time formatting (detail / bitbucket)
  272. adv_int: auto-load the saved sequence at startup (detail / bitbucket)
  273. adv_int: renamed menu entry to "Ramping options" (detail / bitbucket)
  274. Memory backend: drop timestamps from history; show last 1024 events (detail / bitbucket)
  275. Memory backend: show total allocations (number and amount), including untracked ones (detail / bitbucket)
  276. Memory backend: allow using shoot_malloc as a last resort, even for small blocks;
    allow small blocks (smaller than minimum_free_space / 64) to break the minimum_free_space limit (until minimum_free_space / 4)
    fine-tuned until the old set of Lua scripts were able to run on 1100D without umm_malloc (detail / bitbucket)
  277. Memory backend: a pointer to task names (rather than copying the full string) should be enough (detail / bitbucket)
  278. Memory backend: renamed memcheck_mallocbuf to memcheck_entries (detail / bitbucket)
  279. Moved memset64 and memcpy64 to bench.mo
    - simplified to accept only 32-bit aligned pointers
    - using regular memset for Magic Zoom
    - closing issue #1995 (detail / bitbucket)
  280. Memory backend: if shoot_malloc fails, try SRM next
    (poor man's autodetection, since we don't know how to query the available size in advance) (detail / bitbucket)
  281. exmem: reworked shoot_malloc to handle large requests better
    - moved autodetection to dedicated functions (for both fragmented and continuous allocations)
    - autodetect the max available size for large requests (slower, but when it fails, it fails gracefully) (detail / bitbucket)
  282. exmem: removed the "relaxed" checks introduced in 04f02a4
    (not sure why they were needed; we'll find out if it fails) (detail / bitbucket)
  283. exmem: speed-up shoot_malloc
    (1s timeout probably not needed) (detail / bitbucket)
  284. exmem: do not keep track of full shoot memory allocations
    (allows reserving some memory in advance and allocating all the remaining RAM afterwards) (detail / bitbucket)
  285. Memory backend: fix handling of untracked blocks
    (possible buffer overflow before this fix) (detail / bitbucket)
  286. Memory backend: figured out why AllocateContinuousMemoryResource may crash with many small blocks

    (todo: figure out where to keep 89e3b12 or not; adapt tests if not) (detail / bitbucket)
  287. Memory backend: when checking available memory, allocate both Shoot ans SRM at the same time
    (they may overlap) (detail / bitbucket)
  288. Memory backend: fix initialization (detail / bitbucket)
  289. mem.c: option to disable heap poisoning
    (useful when running in QEMU with -d memcheck - with this, overflowing reads will be caught as well) (detail / bitbucket)
  290. Memory backend: allow breaking minimum_free_space for small blocks
    (it was possible to fail the allocation for very small blocks that could not be covered by shoot_malloc) (detail / bitbucket)
  291. Memory backend: allow AllocateMemory as a last resort, even if free space is below limit
    (it was possible to fail the allocation for very small blocks that could not be covered by shoot_malloc) (detail / bitbucket)
  292. memory backend: reduce memcheck area (should reduce overhead a bit) (detail / bitbucket)
  293. memory backend: ignore null pointers passed to free (Lua does that) (detail / bitbucket)
  294. exmem: when autodetecting available memory, print all srm/shoot memory blocks to console (detail / bitbucket)
  295. Memory backend: drop timestamps from history; show last 1024 events (detail / bitbucket)
  296. Memory backend: show total allocations (number and amount), including untracked ones (detail / bitbucket)
  297. Memory backend: allow using shoot_malloc as a last resort, even for small blocks;
    allow small blocks (smaller than minimum_free_space / 64) to break the minimum_free_space limit (until minimum_free_space / 4)
    fine-tuned until the old set of Lua scripts were able to run on 1100D without umm_malloc (detail / bitbucket)
  298. Memory backend: a pointer to task names (rather than copying the full string) should be enough (detail / bitbucket)
  299. Memory backend: renamed memcheck_mallocbuf to memcheck_entries (detail / bitbucket)
  300. Moved memset64 and memcpy64 to bench.mo
    - simplified to accept only 32-bit aligned pointers
    - using regular memset for Magic Zoom
    - closing issue #1995 (detail / bitbucket)
  301. Memory backend: if shoot_malloc fails, try SRM next
    (poor man's autodetection, since we don't know how to query the available size in advance) (detail / bitbucket)
  302. exmem: reworked shoot_malloc to handle large requests better
    - moved autodetection to dedicated functions (for both fragmented and continuous allocations)
    - autodetect the max available size for large requests (slower, but when it fails, it fails gracefully) (detail / bitbucket)
  303. exmem: removed the "relaxed" checks introduced in 04f02a4
    (not sure why they were needed; we'll find out if it fails) (detail / bitbucket)
  304. exmem: speed-up shoot_malloc
    (1s timeout probably not needed) (detail / bitbucket)
  305. exmem: do not keep track of full shoot memory allocations
    (allows reserving some memory in advance and allocating all the remaining RAM afterwards) (detail / bitbucket)
  306. Memory backend: fix handling of untracked blocks
    (possible buffer overflow before this fix) (detail / bitbucket)
  307. Memory backend: figured out why AllocateContinuousMemoryResource may crash with many small blocks

    (todo: figure out where to keep 89e3b12 or not; adapt tests if not) (detail / bitbucket)
  308. Intervalometer: attempt to get sligthly better timing accuracy, to be tested
    http://www.magiclantern.fm/forum/index.php?topic=21617.msg197314#msg197314 (detail / bitbucket)
  309. Moved timer functions to timer.h (always included from dryos.h)
    Renamed get_ms_clock_value / get_us_clock_value to get_ms_clock / get_us_clock
    Replaced all hardcoded references to 0xC0242014 with GET_DIGIC_TIMER()
    ```
    find . -not -path '*/\.*' -type f -name '*.c' -o -name '*.h' -exec sed -i 's/get_ms_clock_value/get_ms_clock/g' {} +
    find . -not -path '*/\.*' -type f -name '*.c' -o -name '*.h' -exec sed -i 's/get_us_clock_value/get_us_clock/g' {} +
    sed -i 's/\*(volatile uint32_t \*)0xC0242014/GET_DIGIC_TIMER()/' */*.c
    ...
    ``` (detail / bitbucket)
  310. Reworked get_ms_clock_value / get_us_clock_value / get_seconds_clock
    - only update the 64-bit us_clock on each call (overhead from ~ 4us reduced to less than 1us)
    - lower-resolution clocks are always derived from the microsecond clock and computed only on request
    - dropped get_ms_clock_value_fast (detail / bitbucket)
  311. imath.h: fix comments for FMT_FIXEDPOINT*; added FMT_FIXEDPOINT6 (detail / bitbucket)
  312. QEMU: workaround to emulate io_trace
    (without it, many MMIO events are missed, apparently because of QEMU's TLB cache) (detail / bitbucket)
  313. NotifyBox: log messages to QEMU console (detail / bitbucket)
  314. GDB scripts: replaced *(int*)(x) with MEM(x)
    (for consistency with other ML code, and maybe slightly easier to read) (detail / bitbucket)
  315. QEMU: experimental Q button emulation for 100D
    (not 100% sure about it, but seems to emulate the long Q/SET press correctly) (detail / bitbucket)
  316. img_name.mo: added README (detail / bitbucket)
  317. img_name: moved options into a submenu
    (had to adjust menu callbacks a bit) (detail / bitbucket)
  318. img_name: experimental option to change image file number
    (fixme: requires restart) (detail / bitbucket)
  319. Properties: declared PROP_FILE_NUMBERING_MODE and PROP_NUMBER_OF_CONTINUOUS_MODE; allow changing the latter (detail / bitbucket)
  320. img_name: save the user-set prefix in config file (detail / bitbucket)
  321. img_name: make it clear whether the option is active or not;
    disable when user sets prefix back to original value (detail / bitbucket)
  322. img_name: misc small fixes
    - no strcpy
    - warn if IME modules are not loaded
    - fix changing the fourth character
    - fill with _ if user enters less than 4 characters
    - moved to Shoot menu (it only applies to still pictures)
    - menu appearance, help update
    - no symbols exported
    - fix warnings (detail / bitbucket)
  323. Renamed filepref.mo to img_name.mo
    (it only applies to still images, not to any kind of files, and "pref" could be misread as "preferences") (detail / bitbucket)

Started by user Alex

Revision: 7203e7199999d9b92bdf7439811d53327a98956d