View source

The 100D_merge_fw101 branch has multiple heads

100D_merge_fw101 (d86315680b8a)
  • Contributors
    1. Loading...
Author Commit Message Date Builds
20 commits behind unified.
Alex
100D: attempt to fix Q/SET regression (tested in QEMU, unsure about the exact hardware behavior) http://www.magiclantern.fm/forum/index.php?topic=16040.msg196769#msg196769 also reduced long-press delay to 0.5 seconds
Alex
Merged new_dryos_task_hooks into 100D_merge_fw101
Alex
100D: cleanup handling of the Q button (see b9e0b9e)
Alex
Merged qemu into new_dryos_task_hooks
Alex
run_ml_all_cams.sh: fix QEMU_DIR once more
Alex
run_ml_all_cams.sh: fix QEMU_DIR
Alex
Menu: hack to allow browsing ML menu on EOSM and EOSM2 (requires CONFIG_QEMU=y)
Alex
Merged makefile-updates into qemu (also updated README regarding "make install_qemu" on modules)
Alex
QEMU: moved default installation directory to qemu-eos Rationale: user is likely to have another qemu directory, unrelated to ML (such as the vanilla qemu repo) Can be changed by setting QEMU_DIR, e.g. "export QEMU_DIR=qemu" before running install.sh will install QEMU in the old path To be thoroughly tested.
Alex
QEMU: trim HTML logs to 10000 lines if higher (very slow to render; also, at these sizes, browsing/grepping plain text is way faster)
Alex
GDB scripts: logging hook for prop_deliver
Alex
GDB scripts: logging hooks for CreateStateObject useful to find all state objects created during the emulation http://www.magiclantern.fm/forum/index.php?topic=17969.msg196010#msg196010
Alex
QEMU installer: fine-tuned prompt when reinstalling
Alex
QEMU: fix Q button handling on 550D, 600D, 1100D (to be tested)
Alex
QEMU readme: table of contents; minor typos
g3gg0
QEMU readme: GPIO section update
Alex
6D: fix task_max
Alex
Merged new-dryos-task-hooks into 100D_merge_fw101 (enabled CONFIG_NEW_DRYOS_TASK_HOOKS in internals.h; added task_dispatch_hook comment)
Alex
boot-hack: use CONFIG_NEW_DRYOS_TASK_HOOKS to enable new-style DryOS hooks (undefining HIJACK_TASK_ADDR was not obvious)
Alex
dump_srec.py: updated to decode lens firmware updates (*.lfu) http://www.magiclantern.fm/forum/index.php?topic=20969
Alex
QEMU readme: misc updates (formatting, rephrasing); GPIO section
Alex
QEMU installer: make it clear the script expects user input when it's asking whether to compile QEMU
Daniel Fort
eject removes the disk image completely while unmount doesn't remove the disk image from /dev.
g3gg0
reworked description of the peripherals
Alex
QEMU install: fix mistakes
Alex
QEMU readme: typos, formatting
Alex
QEMU readme: note for Bitbucket not always rendering the RST (reloading the page usually works; apparently it doesn't need javascript, so what's going on?)
Alex
QEMU readme: some basic concepts related to how the DIGIC hardware works (some parts adapted from https://jsandler18.github.io/ )
Alex
QEMU readme: misc notes - tip to save SD images as qcow2 (they take less disk space) - instrumentation tools - history updates - minor formatting fixes
Alex
QEMU: use 600D MPU messages for 1300D fixes toggling drive mode, http://www.magiclantern.fm/forum/index.php?topic=17969.msg196013#msg196013
Alex
GDB scripts: hide warnings about undefined task addresses when running with patches.gdb (when running with debugmsg.gdb, full context info is printed)
Alex
GDB scripts: fix address in log_result (LR is no longer valid, as we are no longer at the beginning of a function call)
Alex
QEMU install.sh: recent git no longer accepts empty identities http://www.magiclantern.fm/forum/index.php?topic=20214.msg195892#msg195892
Alex
QEMU scripts: removed hardcoded references to ../magic-lantern and documented how the directories can be customized
Alex
QEMU readme: documented directory structure
Alex
boot-hack: uninstall cache hacks after booting (to be tested)
Alex
boot-hack: more debug messages regarding memory allocation (for HIJACK_CACHE_HACK and RSCMGR_MEMORY_PATCH_END)
Alex
boot-hack: fix CONFIG_HELLO_WORLD & friends when booting with HIJACK_CACHE_HACK (task_dispatch_hook should not be set in this case)
Alex
100D: enabled Sticky half-shutter (unlikely to cause issues) and Sticky DOF preview (to be tested)
Alex
boot-hack: fix task dispatch hook message missing when booting with HIJACK_CACHE_HACK
Alex
QEMU logging: cleaned up hacks around memory logging options (logging tools may require any memory logging backends, but in the logs, only those items specifically requested by user will be printed)
Alex
run_canon_fw.sh: hide osascript messages on Mac (when trying to bring the QEMU window in foreground, but there isn't any)
Alex
QEMU install: keep the 64-bit gdb warning prompt on Mac and WSL (to be tested)
Alex
QEMU install: attempt to fix warnings about 64-bit gdb on Mac and WSL (to be tested) the script should print warnings about them, but accept them as valid
Alex
QEMU install: fix path issue after compilation
Alex
QEMU install: fix warning about lsb_release on Mac or other systems without it
Alex
QEMU install: attempt to fix warnings about 64-bit GDB on Mac (to be tested)
Alex
QEMU install: fine-tuned QEMU compilation, to be tested (error handling, display the next steps after compilation finished)
Alex
QEMU install: on WSL and Mac, try the latest 64-bit toolchain (to be tested) Linux installation still uses the 32-bit one (older version) TODO: attempt to compile a 32-bit GDB for Mac Reworded warnings, as a 32-bit GDB is now only needed for development; it's no longer mandatory for running the examples, since http://www.magiclantern.fm/forum/index.php?topic=2864.msg190823#msg190823
Alex
QEMU: simplified SFDMA mapping by removing model-specific redirection (they are fairly consistent across all models)
Alex
QEMU tests: 40D call trace still not fully deterministic (CF uses some status polling, not just DMA) re-applying workaround (only check the "basic" call trace, without function arguments and extra info)
Alex
QEMU: documented SD detect registers on recent DIGIC 5 models (non-functional)
Alex
QEMU: refactored CFDMA/UartDMA handling to remove model-specific redirections enabled UartDMA on all models (including VxWorks), but it's not working yet 70D: IFE DMA handling moved from SDDMA to CFDMA (minor, no noticeable side effects other than breaking the tests)
Alex
QEMU: fix 5D3 CF emulation (disabled by default; can be enabled from mpu_spells/5D3.h)
Alex
QEMU: documented property groups ("complex" MPU messages) including GDB logging hooks to find them
Alex
QEMU tests: relaxed shutdown checks (some false positives caused by non-deterministic emulation) (note: menu tests are executed non-determinstically, unlike the call trace, so each run is different)
Alex
QEMU: attempt to get deterministic execution on CF models when using -icount operations are slowed down to avoid timing variations default behavior (without -icount) is not affected on main firmware, the call/return trace test is now deterministic on all models! fixme: CF emulation in PIO mode is still non-deterministic
Alex
GDB scripts: generic logging hooks
Alex
QEMU readme: example of identifying the location of an assertion using gdb and -d callstack; minor updates
Alex
QEMU: updated 750D/760D GDB scripts and tests; file I/O works! (using 750D SFDATA.BIN)
Alex
Merged in t3r4n/magic-lantern/qemu (pull request #894)
Alex
QEMU: fix some MPU spells (typos caught by automated checking)
t3r4n
Added the serial flash line for 750D and 760D into model_list. See https://www.magiclantern.fm/forum/index.php?topic=17627.msg195357#msg195357
Alex
QEMU readme: minor link updates
Alex
QEMU readme: moved developer and reverse engineering notes to a new file (reason: bitbucket seems to have trouble rendering large files)
Alex
QEMU readme, GDB scripts: info on debugging symbols; more symbol-file choices in comments (depending on what you are debugging - regular ML, reboot shim or Canon firmware)
Alex
QEMU readme, GDB scripts: recommend '-ex quit' after patches.gdb, but not after debugmsg.gdb reason: when running with patches.gdb, you may not want to type "quit" after stopping the emulation however, this trick removes the ability to use interactive breakpoints in GDB (it would quit as soon as reaching one), so don't recommend it for debugmsg.gdb
Alex
QEMU readme: fix typos; minor updates
Alex
QEMU: fix serial flash DMA on DIGIC 6 (tested on 80D, 5D4 and 750D with PR #894); refactored serial flash to use its own DMA (not shared with SD)
Alex
QEMU: updated 80D test results for actual serial flash contents http://www.magiclantern.fm/forum/index.php?topic=17360.msg195519#msg195519
Alex
QEMU readme: formatting
Alex
QEMU readme: GDB scripting examples, including callstack
Alex
QEMU readme: use em-dashes instead of simple dashes
Alex
QEMU: changed I/O logging behavior - "-d io" implies "-d nochain -singlestep" (this prints correct PC values, but emulation is slower) - "-d io_quick" to get the old behavior (faster, with incorrect PC values) - "-d io_log" to print mmio_log entries for dm-spy-experiments - "-d nochain" always implies "-singlestep" (easier to enable this mode on other kind of logs that may need it) - updated README
Alex
QEMU readme: moved the "Incorrect firmware version" section to Hacking (it's no longer an issue for regular users)
Alex
QEMU readme: started to document the steps needed to emulate Canon GUI
Alex
QEMU readme: minor updates, corrections
Alex
QEMU tests: updated after changing the SD image - format screenshots slightly different at free space (before only) - call/return traces are also different (different layout on the SD image)
Alex
QEMU: updated sd.img.xz with latest portable display test (main change: fix identification of firmware version - 7889972)
Alex
GDB scripts: fix assert handling on EOS M10
Alex
QEMU: moved 7D2 patches to GDB scripts; initial GDB script for 7D2 slave
Alex
QEMU: defined FPGA memory regions for 5D2 and 50D (just to prevent some warnings; nothing changed in functionality)
Alex
QEMU tests: run all cleanups on CTRL-C (stop all background tasks, make sure QEMU is no longer running, remove temporary files...)
Alex
QEMU: enabled serial flash emulation on 5D4 (emulation on main firmware doesn't go that far, but can be tested from bootloader menu)
Alex
QEMU: refactored serial flash CS handling to reduce duplicate code (moved CS register and tested value to model_list.c)
Alex
QEMU tests: reworked menu tests (including format) - use vncexpect whenever the md5 of the next screen is known (reduces timing sensitivity and also faster overall) - no more wait hacks required for format tests - use a single vncdotool command whenever possible (faster) - removed duplicate code (function for sending a menu sequence) - fine-tuned progress indicator
Alex
MPU spells: allow changing various Canon properties that require confirmation from the MPU: ISO, shutter, aperture, EC, FEC, metering, drive, AF mode, picture style, WB, ExpSim, ALO, HTP, MLU all but WB were broken if changed from ML menu/scripts; they are working now (fixme: not included in tests) some of them were working from Canon UI before this patch (picture style, WB, ExpSim, metering and drive mode) WB was working before, but uses confirmation in logs; updated for consistency could not test on: 5D2, 40D, 50D, 550D, 650D, 700D, EOSM2 not working: EOSM (breaks previous tests => disabled)
Alex
QEMU: experimental mode dial emulation works on most models to some extent, except 40D, could not test on 550D, 650D, 70D, EOSM2
Alex
MPU spells: comment out possible mode switches not required for the GUI, but will interfere later with the mode switching feature affected models: 6D (call/return trace changed), 70D, 700D (no side effects noticed)
Alex
Merged in t3r4n/magic-lantern/qemu_installer (pull request #893) Further automation in install script to compile directly at the end.
Alex
QEMU: more MPU properties identified by brute-forcing
Alex
QEMU: formatting fixes in extract_init_spells.py / known_spells.h
Alex
QEMU: added property IDs to known MPU spells also alternate names as comments
Alex
QEMU: identified more MPU spells, corrected a few others - experimentally (playing around in menus) - brute-forcing MPU messages to identify properties - cross-checked names and IDs in startup logs and ROM strings - still, it's impossible not to find a few incorrect ones
Alex
QEMU: experiment - brute-force MPU messages to find out their meaning
Alex
GDB scripts: hooks for logging properties (prop_request_change, MPU property functions) (example for 5D3.113 and 550D.109; useful for identifying properties)
Alex
qemu-util: fix compilation in bootloader context; sample boot messages in reboot.c, e.g. printing firmware signature or RESTARTSTART address (only present in the output binary when compiling with CONFIG_QEMU=y)
Alex
GDB scripts: disable serial flash version check patch on EOS M2 not really needed (the error message seems harmless and doesn't prevent GUI emulation) but changed ML firmware signature checking and won't be needed after getting a serial flash dump from a real camera anyway
Alex
QEMU install.sh: further Ubuntu/WSL cleanups (minor)
Alex
QEMU install.sh: fine-tuned messages and date format when renaming an older installation
Alex
Merged in t3r4n/magic-lantern/qemu_install_improvement (pull request #892) Option to rename or delete existing QEMU directory during installation
Alex
QEMU install.sh: WSL fixes - checking for Ubuntu (uname -a does not report Ubuntu) - hide 32-bit toolchain options
Alex
run_canon_fw.sh: Mac fixes - use is_mounted (lsof checks are enough) - typo in osascript when trying to bring QEMU window to front
Alex
run_canon_fw.sh: fine-tuned checking of whether SD/CF image is in use - 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
Alex
QEMU: RTC workaround to bring back 400D GUI (broken in 0d654a0, not covered by tests as it's very slow)
Alex
QEMU: 40D GUI working! - 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)
Alex
QEMU: fix USB CONNECT on 450D/1000D (incidentally, this also fixes the card format dialog on these cameras - likely UILock issue)
Alex
QEMU: 1300D GUI works! - 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!
Alex
QEMU: cleaned up serial flash handling on models that don't use one previously, they were called on unrelated SIO/SDIO channels, with little or no side effects, other than breaking a few function call trace tests
Alex
QEMU: updated 80D tests for 1.0.2; DCIM test also works!
Alex
QEMU: 80D file I/O support from main firmware (experimental, tested with "dumpf" in the serial console)
Alex
QEMU: enable card support on generic MPU spells (experimental, some models work better than others)
Alex
GDB scripts: some experimental 80D patches, to be fixed in the emulation
Alex
GDB scripts: log state object transitions (stubs for 550D and 80D)
Alex
GDB scripts: 80D logging hooks for semaphores and message queues (disabled by default; also updated assert_log for 1.0.2)
Alex
QEMU: RomRead DMA is actually XDMAC (up to 4 channels; 80D only uses 2)
Alex
Task hooks: disabled task switch debug messages by default (too verbose)
Alex
550D, 600D: fix memory allocation (amend 5b4fe18)
Alex
QEMU: experimental MPU support for 80D, 750D and 760D seems to work with generic spells - at least the emulation goes further also minor refactoring / comments on MPU registers for earlier models also enabled for 5D4 just to avoid a crash - emulation doesn't reach mpu_send yet, but it calls InitializeIntercom
Alex
QEMU tests: do not start if compilation fails (small nitpick that could result in false test results)
Alex
QEMU: updated tests after b75e1342711a (context info is now correctly printed when returning from msg_queue_receive, take_semaphore etc)
Alex
QEMU: generic MPU spells compatible with most EOS models (experimental)
Alex
QEMU logging: fix losing track of called functions when DryOS tasks are switched outside interrupts see the assertion error on 5D4 callstack consistency test (after 442b691) to be tested; there was a similar error was on 80D, non-deterministic (encountered when running with -d debugmsg,callstack,tail with all patches enabled)
Alex
6D: ADTG shutter addresses did not work, trying another set
Alex
QEMU: MPU status doesn't seem to matter much; simplified to prepare for DIGIC 6 compatibility todo: cross-check with actual hardware
Alex
6D: fix ADTG shutter addresses after memory layout change http://www.magiclantern.fm/forum/index.php?topic=5601.msg194754#msg194754 http://www.magiclantern.fm/forum/index.php?topic=5601.msg191914#msg191914 http://www.magiclantern.fm/forum/index.php?topic=15088.msg190890#msg190890 not tested, just confirmed the new addresses in QEMU fixme: are these deterministic? under what conditions?
Alex
QEMU: shared memory initialization for DIGIC 6 (MEMDIV messages) to try: SHM_SHOW_INFO / SHM_SHOW_DIST_INFO on serial console (only 80D, 750D and 760D reach this far) ( sleep 3; echo "akashimorino"; sleep 1; echo "SHM_SHOW_INFO"; sleep 1; echo "SHM_SHOW_DIST_INFO"; ) | ./run_canon_fw.sh 80D -serial stdio
Alex
QEMU: refactored serial flash SIO handler with io_log
Alex
QEMU: refactored serial flash connections to avoid hardcoding camera model names fixme: D3 models and 1300D still hardwired to serial flash handlers to pass the tests
Alex
QEMU: experimental serial flash support for 80D using SFDATA.BIN from 70D, patched at 0x10004 from 09 8B C1 20 to 00 00 01 20 meaning: size of 70D's property block at 0x10000 is 0x12BC98 (data is shifted by 4 bytes) but 80D expects a maximum size of 0x12000 in FE47BF40 ("Liar Valid Packages!!" if the size check fails) so we trim the property block at the expected size of 0x12000 this will lose a few properties, but at least the emulation goes f…
Alex
QEMU: RomRead DMA for DIGIC 6, used for initializing property blocks (very similar to regular DMA, slightly different register offsets)
Alex
QEMU: slow down UART input to work around race conditions (not exactly clean, but at least DryShell tests are now passing on all models)
Alex
QEMU: fixed UART on DIGIC 6 (DryShell works!) fixme: tests are failing, but typing on the UI works fine note: DIGIC 4/5 emulation changed a bit (0xC0270000 was misinterpreted before)
Alex
QEMU: found out why DIGIC 6 models were getting stuck at startup! 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)
Alex
Merged unified into 100D_merge_fw101
Alex
Merged new-dryos-task-hooks into 100D_merge_fw101
Alex
100D: MPU stubs (for dm-spy-experiments)
Alex
MPU spells: some names could not be identified (fixed)
Alex
QEMU tests: call mtools_setup.sh rather than duplicating its work (fixes some tests failing if mtools is configured to use lowercase by default)
Alex
run_canon_fw.sh: on Mac, bring QEMU window to foreground (by default, the window is opened behind the terminal, so one may not even notice it)
Alex
run_canon_fw.sh: print camera name in QEMU window title
Alex
run_canon_fw.sh: only clear the terminal if running in interactive mode https://serverfault.com/questions/146745/how-can-i-check-in-bash-if-a-shell-is-running-in-interactive-mode
Alex
QEMU logging: always log unmapped memory regions
Alex
GDB scripts: fix text alignment with "native" logging options (minor)
Alex
QEMU install.sh: fix null byte warning when parsing model list (bash 4.4 and newer? http://www.magiclantern.fm/forum/index.php?topic=2864.msg193118#msg193118 )
Alex
QEMU install: print fewer help details after installation; link to the online documentation
Alex
QEMU readme: formatting, typos
Alex
QEMU readme: more info regarding custom SD/CF images
Alex
QEMU readme: more ways to install ML to the virtual SD/CF images
Alex
QEMU readme: note about "make install_qemu" not available in all branches
Alex
QEMU readme: note about models using a serial flash
Alex
QEMU README: minor updates to 050a3cc
Alex
Merged unified into qemu
Alex
Merged makefile-updates into qemu
Alex
Makefile: backout 0b9b550 ?= not needed when overriding from command-line, e.g. make CONFIG_QEMU=y
Alex
Merged makefile-updates into qemu
Alex
run_canon_fw.sh: Mac compatibility fixes
Alex
QEMU: 5D3 1.2.3 GUI works! fixme: not covered by tests
Alex
QEMU: refactored RTC CS each model now uses its own GPIO, rather than enabling all possible registers on all models 70D call trace test: minor change to 0xC02201F8, no impact on functionality
Alex
QEMU: 70D GUI works! - GDB patch required (SIO locking up DisplayMgr task, probably touch screen not responding) - RTC (similar to 6D, but on different SIO channel) - updated tests (menu, format, call trace) - minor change to 100D call trace test (0xC022005C = 450D RTC CS; no impact on functionality)
Alex
QEMU: 6D GUI works! - MPU log and serial flash from Audionut, https://bitbucket.org/hudson/magic-lantern/issues/1974/#comment-40853231 - RTC (a bit hackish, to be refactored) - GPIOs for HDMI and WriteProtect - tests (menu, format, call trace) - patched MPU spells to avoid an intermittent issue (race condition when setting picture quality?)
Alex
QEMU: fix typo in MPU spells script (broken in a42e55a) "Complete WaitID = 0x80020000" should have been commented out this disables LiveView "emulation" in 700D/650D and fixes ML menu for nightly tests todo: add a test for this (existing tests did not catch this issue)
Alex
QEMU tests: reordered (important, breaks often and/or very fast == runs earlier)
Alex
QEMU tests: run in parallel when it's straightforward to do so (experimental) not parallelized: tests requiring custom builds or checking card contents afterwards
Alex
QEMU tests: prepare for parallel execution (3) - stop each QEMU instance from the monitor socket - two methods: shutdown (clean DryOS shutdown, for GUI tests) and quit (clean QEMU shutdown without turning off the guest OS, for all other tests) - check for any stale qemu-system-arm / arm-none-eabi-gdb only after each set of tests
Alex
QEMU tests: prepare for parallel execution (2) - unique QEMU_JOB_ID for each job - unique GDB port and VNC display, derived from QEMU_JOB_ID
Alex
QEMU tests: prepare for parallel execution (1) - allow overriding GDB port for each instance (replaced '-s -S' with '-S -gdb tcp::$GDB_PORT'; gdb receives '-ex "set \$TCP_PORT=$GDB_PORT"') - allow overriding VNC display for each instance (replaced ':12345' with '$VNC_DISP') - indentation of qemu/gdb commands
Alex
QEMU scripts: rough backend support for parallel execution - requires manual resource allocation - QEMU_JOB_ID used as prefix for qemu.monitor (each instance would get its own monitor socket) - GDB port can be overriden and derived from QEMU_JOB_ID (see README) - VNC port can be handled in the same way - README updated
Alex
QEMU tests/readme: recent netcat requires -N
Alex
QEMU tests: one more race condition fix
Alex
QEMU tests: speed optimizations - only restore SD/CF images if they were actually changed - do not wait for gdb if it's not running - overhead with no tests running: from ~30 seconds to ~10 seconds
Alex
QEMU tests: more race condition fixes
Alex
QEMU tests: attempt to fix some race conditions
Alex
QEMU tests: minor fixes after refactoring
Alex
QEMU tests: use -snapshot to prevent changing SD and CF images (exceptions: tests for ROM dumper and DCIM, where we check card contents to validate the test result)
Alex
QEMU tests: allow selecting only specific tests to run (lowercase arguments) Can be mixed freely with camera models (uppercase arguments) Default (no arguments): run all tests
Alex
QEMU tests: refactored each test as a bash function - top-level continue -> return - moved common preparations to run_test - each test function uses globals $CAM and $TEST (camera model and test output basename) - test outputs named $TEST.whatever or $TEST-foo.bar - generic cleanup after each test - top-level for loops kept; the loop body calls run_test
Alex
QEMU: make sure mtools prints uppercase filenames by default (our tests assume this behavior, but some systems have different defaults)
Alex
Merged makefile-updates into qemu
Alex
550D, 600D: reserve 576K for ML (640 is a bit too much, 512 is too tight)
Alex
Task hooks: fix task overriding on very old DryOS models (to be tested on all camera models)
Alex
QEMU: fix arrow unpress handling on cameras without UDLR (tested on EOSM)
Alex
selftest: check handling of null pointer errors (make sure a crash log is saved) 100D and 70D used to crash in this scenario, rather than saving a log http://www.magiclantern.fm/forum/index.php?topic=16040.msg190279#msg190279 (next few pages)
Alex
Merged unified into new-dryos-task-hooks
Alex
QEMU tests: replaced two slow grep commands with sed
Alex
QEMU tests: check call/return trace only until the last function from IDC (the next 1000 lines can be nondeterministic on digic 6 models)
Alex
QEMU tests: refactored matching heuristic for call/return trace on main firmware (rewritten in Python - much faster)
Alex
QEMU install: brew docutils needs additional setup; just use the one from pip
Alex
mtools_copy_ml.sh: removed dependency on realpath (not available on Mac)
Alex
Makefile: fix compiling tcc
Alex
QEMU install: Mac cleanups, to be tested (xcode-select auto-installed by brew, docutils available as package)
Alex
Makefile: moved toolchain setup to Makefile.setup (this allows toolchain to be overridden from Makefile.user)
Alex
run_canon_fw.sh: use ESC c to reset the terminal, instead of "tput reset" ("tput reset" may crash when running as background job - bash bug?)
Alex
QEMU install: refuse to overwrite an existing installation
Alex
QEMU install: only apply the gcc 7.x patch if user actually has gcc 7 also commit the gcc 7.x patch to our local git repo, so it won't affect updates to qemu-2.5.0.patch
Alex
QEMU install: we have gcc-arm-embedded:i386 on the PPA :)
Alex
Makefile: fixes to allow compiling ML with Linaro arm-eabi-gcc; updated toolchain recommendations
Alex
QEMU: patch for building with gcc 7.x
Alex
QEMU install: explicit check for Ubuntu (other systems use apt-get, with different package names); explicit "dpkg --add-architecture i386" if any package needs it (should fix installation on newer Ubuntu - to be tested)
Alex
MPU spells: try to use parameters (ARG0, ARG1 etc) in simple cases (same-length replies, repeating the arguments in the same position) (note: PROP_BURST_COUNT doesn't always work well like this)
Alex
QEMU: typo when loading raw images for capture emulation
Alex
MPU spells: identified some lens properties (PROP_LENS and PROP_LENS_NAME)
Alex
MPU spells: identify property description for Complete WaitID messages
Alex
QEMU: comment out some common MPU spells and use the ones from our headers; always include the headers in autogenerated spells always disable sensor cleaning (some emulation differences in a few models, hopefully non-essential)
Alex
MPU spells: identified PROP_BATTERY_CHECK (verified before dialogs such as card format or firmware update)
Alex
QEMU: print names of MPU spells (exported from extract_init_spells.py) and highlight the ones without name or without known behavior
Alex
MPU spells: documented a bunch of properties and updated their indexing (some trial and error, others copied from http://www.magiclantern.fm/forum/index.php?topic=17596.0 )
Alex
QEMU: handle INFO unpress event (for 5D3)
Alex
QEMU: generate valid dark frames if a CR2 isn't available
Alex
QEMU: allow full-res 14-bit data from any format readable by dcraw (usually CR2 and DNG; example in README)
Alex
QEMU: use <%d> for EDMAC connections in debug messages (e.g. connection <5>, channel #16)
Alex
QEMU: moved image processing engine functions to separate file (EDMAC, PREPRO, JPCORE...)
Alex
make install_qemu: check whether sd.img or cf.img is mounted before copying files
Alex
run_canon_fw.sh: also print the command-line of arm-none-eabi-gdb, if any and whether it's running as a background job or not
Alex
QEMU: updated 600D test to include the info screen (had to enable it in Canon menu)
Alex
QEMU: disabled sensor cleaning animation on 5D2, 50D, 60D (interferes with ML menu; updated tests)
Alex
QEMU: warn user when shutdown is not clean
Alex
QEMU: updated 100D menu test to show all menus (including the FlexiZone AF setting)
Alex
QEMU: run 100D with FlexiZone AF enabled (this setting results in ML crashing at startup) http://www.magiclantern.fm/forum/index.php?topic=16040.msg190934#msg190934
Alex
QEMU tests: declared cameras able to run the FRSP test at the beginning (so run_test arguments now apply to this test as well)
Alex
qemu-frsp: updated to operate from PLAY mode previously, it was operating on the date/time screen; now all models are starting either with Canon's info screen, or with display off, or show the sensor cleaning animation
Alex
QEMU install: updated regex for parsing GUI_CAMS from run_tests.sh (to allow multi-line declaration)
Alex
QEMU tests: 100D typo (old file)
Alex
QEMU tests: updated for 5D2/50D without date/time dialog note: sensor cleaning animation makes the test nondeterministic - do not check these screens
Alex
QEMU: 5D2/50D RTC patch from g3gg0 (date/time dialog is history!)
Alex
QEMU: updated README
Alex
QEMU: enabled PROP_MPU_GPS on all DIGIC 5 models
Alex
QEMU: EOS M boots the GUI! (it also needs the GPS patch - moved to GPS.h)
Alex
QEMU: updated tests (after RTC emulation, I2C and patches cleanup)
Alex
GDB scripts: date/time patches no longer needed!
Alex
QEMU: reworked I2C debug messages
Alex
QEMU: updated MMIO highlighting code (module name is now highlighted as well - easier to spot)
Alex
QEMU: moved RTC emulation to its own handler; reworked debug messages
Alex
QEMU: enabled RTC emulation for most models exceptions: 5D2 and 50D appear to use a different chip or method
Alex
QEMU: RTC patch from g3gg0 5D3 and 60D no longer show the date/time screen!
Alex
QEMU: I2C patch from g3gg0
Alex
QEMU: figured out why 5D3 was locking up at startup and in certain menus - it was waiting for PROP_MPU_GPS! (thanks g3gg0)
Alex
QEMU install: don't install two toolchains if user selects 64-bit GDB
Alex
QEMU install: libnewlib-arm-none-eabi is architecture-independent
Alex
QEMU install: download toolchain from launchpad and use developer.arm.com as mirror (developer.arm.com is currently down, hopefully not from our experiments)
Alex
QEMU install: make it clear that *you* have to run the PATH command (not the script); use export (e.g. for shells other than bash) - https://unix.stackexchange.com/questions/26047/how-to-correctly-add-a-path-to-path
Alex
QEMU install: 32-bit Mac toolchain doesn't have gdb...
Alex
QEMU install: wrong quotes
Alex
QEMU install: fix some copy/paste errors
Alex
QEMU install: allow using the current 64-bit toolchain on Ubuntu; minor fixes
Alex
QEMU install: more toolchain options (experimental) - Mac: try the toolchain from https://acroname.com/software/arm-eabi-gcc-toolchain-mac-osx-macos-x-32bit (not tested) - Ubuntu: options to install GCC from Ubuntu repo - older version, 32-bit or 64/bit - from gcc-arm-embedded PPA (6.x 64-bit) - from gcc-arm-embedded (32-bit installed in home directory) - use the existing installation if possible - Ubuntu: don't install libfdt-dev (not need…
Alex
Merged in kichetof/magic-lantern-1/kichetof/qemu-install-elegant-way-to-install-pack-1506440503741 (pull request #861) QEMU install: elegant way to install packages on macOS
Christophe Francey
QEMU install: remove docutils install for macOS
Christophe Francey
QEMU install: elegant way to install packages on macOS Checks if the package is already installed otherwise install it
Alex
QEMU install: on Ubuntu, gdb-arm-none-eabi:i386 and gcc-arm-none-eabi can be installed with the same command (false alarm; let's also check for correct installation)
863 commits not shown.