swh:1:snp:102b88a84830a6000187157d40b28a5b77e43cda

sort by:
Revision Author Date Message Commit Date
5491ab6 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 29 January 2018, 21:52:00 UTC
bc58ac6 QEMU installer: fine-tuned prompt when reinstalling 29 January 2018, 21:37:00 UTC
66b3b66 QEMU: fix Q button handling on 550D, 600D, 1100D (to be tested) 23 January 2018, 02:06:37 UTC
98701d3 QEMU readme: table of contents; minor typos 22 January 2018, 10:19:20 UTC
69e2d05 QEMU readme: GPIO section update 23 January 2018, 23:34:10 UTC
1b666af dump_srec.py: updated to decode lens firmware updates (*.lfu) http://www.magiclantern.fm/forum/index.php?topic=20969 22 January 2018, 10:46:52 UTC
526c45c QEMU readme: misc updates (formatting, rephrasing); GPIO section 22 January 2018, 09:02:40 UTC
396ef03 QEMU installer: make it clear the script expects user input when it's asking whether to compile QEMU 22 January 2018, 01:04:24 UTC
8dd4690 eject removes the disk image completely while unmount doesn't remove the disk image from /dev. 22 January 2018, 02:02:32 UTC
78e1a9e reworked description of the peripherals 21 January 2018, 23:07:53 UTC
4b3f763 QEMU install: fix mistakes 21 January 2018, 21:37:28 UTC
3b347bd QEMU readme: typos, formatting 21 January 2018, 21:20:37 UTC
00dba39 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?) 21 January 2018, 19:52:50 UTC
6c4b155 QEMU readme: some basic concepts related to how the DIGIC hardware works (some parts adapted from https://jsandler18.github.io/ ) 21 January 2018, 20:39:12 UTC
5d63ee2 QEMU readme: misc notes - tip to save SD images as qcow2 (they take less disk space) - instrumentation tools - history updates - minor formatting fixes 21 January 2018, 19:46:48 UTC
43f1eda QEMU: use 600D MPU messages for 1300D fixes toggling drive mode, http://www.magiclantern.fm/forum/index.php?topic=17969.msg196013#msg196013 21 January 2018, 19:34:27 UTC
9de86e2 GDB scripts: hide warnings about undefined task addresses when running with patches.gdb (when running with debugmsg.gdb, full context info is printed) 21 January 2018, 19:19:05 UTC
6702f28 GDB scripts: fix address in log_result (LR is no longer valid, as we are no longer at the beginning of a function call) 15 January 2018, 21:59:42 UTC
3790a8b QEMU install.sh: recent git no longer accepts empty identities http://www.magiclantern.fm/forum/index.php?topic=20214.msg195892#msg195892 12 January 2018, 22:26:55 UTC
722c879 QEMU scripts: removed hardcoded references to ../magic-lantern and documented how the directories can be customized 09 January 2018, 19:59:25 UTC
efc10d2 QEMU readme: documented directory structure 09 January 2018, 14:09:53 UTC
36666bf 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) 09 January 2018, 15:27:37 UTC
f3eb6bd run_canon_fw.sh: hide osascript messages on Mac (when trying to bring the QEMU window in foreground, but there isn't any) 07 January 2018, 13:38:15 UTC
833fc82 QEMU install: keep the 64-bit gdb warning prompt on Mac and WSL (to be tested) 07 January 2018, 12:21:55 UTC
5705708 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 07 January 2018, 12:06:42 UTC
c42b4f7 QEMU install: fix path issue after compilation 07 January 2018, 12:01:10 UTC
789fda1 QEMU install: fix warning about lsb_release on Mac or other systems without it 07 January 2018, 11:54:30 UTC
7ccc005 QEMU install: attempt to fix warnings about 64-bit GDB on Mac (to be tested) 07 January 2018, 11:51:44 UTC
45365e1 QEMU install: fine-tuned QEMU compilation, to be tested (error handling, display the next steps after compilation finished) 07 January 2018, 11:48:15 UTC
21538ea 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 07 January 2018, 11:17:15 UTC
4708fb5 QEMU: simplified SFDMA mapping by removing model-specific redirection (they are fairly consistent across all models) 07 January 2018, 09:48:19 UTC
4283160 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) 07 January 2018, 09:34:26 UTC
dd59df3 QEMU: documented SD detect registers on recent DIGIC 5 models (non-functional) 07 January 2018, 09:19:17 UTC
7aae8a4 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) 06 January 2018, 21:08:35 UTC
910df80 QEMU: fix 5D3 CF emulation (disabled by default; can be enabled from mpu_spells/5D3.h) 05 January 2018, 22:19:28 UTC
368f843 QEMU: documented property groups ("complex" MPU messages) including GDB logging hooks to find them 06 January 2018, 20:20:52 UTC
cc789d9 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) 06 January 2018, 20:37:18 UTC
cf78bad 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 06 January 2018, 19:42:01 UTC
3a69ff6 GDB scripts: generic logging hooks 05 January 2018, 08:27:31 UTC
b9cfdf2 QEMU readme: example of identifying the location of an assertion using gdb and -d callstack; minor updates 05 January 2018, 18:19:50 UTC
38ef0f6 QEMU: updated 750D/760D GDB scripts and tests; file I/O works! (using 750D SFDATA.BIN) 05 January 2018, 17:27:45 UTC
12d6f60 Merged in t3r4n/magic-lantern/qemu (pull request #894) 05 January 2018, 17:33:30 UTC
7463df5 QEMU: fix some MPU spells (typos caught by automated checking) 05 January 2018, 12:38:23 UTC
851774d QEMU readme: minor link updates 04 January 2018, 22:18:21 UTC
5e89620 QEMU readme: moved developer and reverse engineering notes to a new file (reason: bitbucket seems to have trouble rendering large files) 04 January 2018, 22:07:15 UTC
a82e33b 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) 04 January 2018, 21:48:46 UTC
5764da9 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 04 January 2018, 20:06:14 UTC
e5e3d75 QEMU readme: fix typos; minor updates 04 January 2018, 18:50:57 UTC
122c74b 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) 03 January 2018, 10:51:19 UTC
d496fcc QEMU: updated 80D test results for actual serial flash contents http://www.magiclantern.fm/forum/index.php?topic=17360.msg195519#msg195519 03 January 2018, 10:13:49 UTC
14e788e QEMU readme: formatting 02 January 2018, 22:19:13 UTC
3e2c5bd QEMU readme: GDB scripting examples, including callstack 02 January 2018, 22:00:44 UTC
f9f4d9e QEMU readme: use em-dashes instead of simple dashes 02 January 2018, 20:04:08 UTC
22e186f 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 02 January 2018, 19:55:31 UTC
b3d507b QEMU readme: moved the "Incorrect firmware version" section to Hacking (it's no longer an issue for regular users) 02 January 2018, 13:56:18 UTC
e8bede4 QEMU readme: started to document the steps needed to emulate Canon GUI 02 January 2018, 19:39:15 UTC
96d6706 QEMU readme: minor updates, corrections 02 January 2018, 18:02:29 UTC
1468ddb 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) 02 January 2018, 19:00:17 UTC
9ec8c50 QEMU: updated sd.img.xz with latest portable display test (main change: fix identification of firmware version - 7889972) 02 January 2018, 16:24:58 UTC
5156554 GDB scripts: fix assert handling on EOS M10 02 January 2018, 10:09:46 UTC
23247e6 QEMU: moved 7D2 patches to GDB scripts; initial GDB script for 7D2 slave 02 January 2018, 09:25:57 UTC
7e5bd18 QEMU: defined FPGA memory regions for 5D2 and 50D (just to prevent some warnings; nothing changed in functionality) 01 January 2018, 18:37:31 UTC
2ca770d QEMU tests: run all cleanups on CTRL-C (stop all background tasks, make sure QEMU is no longer running, remove temporary files...) 01 January 2018, 17:54:00 UTC
f0e2f92 QEMU: enabled serial flash emulation on 5D4 (emulation on main firmware doesn't go that far, but can be tested from bootloader menu) 01 January 2018, 17:46:52 UTC
aa04156 QEMU: refactored serial flash CS handling to reduce duplicate code (moved CS register and tested value to model_list.c) 01 January 2018, 17:43:27 UTC
ea8a02d 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 30 December 2017, 20:17:20 UTC
681f54f Added the serial flash line for 750D and 760D into model_list. See https://www.magiclantern.fm/forum/index.php?topic=17627.msg195357#msg195357 30 December 2017, 15:02:37 UTC
921ed99 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) 29 December 2017, 23:38:42 UTC
3ad7ee8 QEMU: experimental mode dial emulation works on most models to some extent, except 40D, could not test on 550D, 650D, 70D, EOSM2 29 December 2017, 20:39:02 UTC
63a8f35 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) 29 December 2017, 18:45:59 UTC
dfa3ff9 Merged in t3r4n/magic-lantern/qemu_installer (pull request #893) Further automation in install script to compile directly at the end. 29 December 2017, 20:19:13 UTC
2d90d16 QEMU: more MPU properties identified by brute-forcing 28 December 2017, 23:43:14 UTC
00a9999 QEMU: formatting fixes in extract_init_spells.py / known_spells.h 28 December 2017, 21:46:03 UTC
a80ea6a QEMU: added property IDs to known MPU spells also alternate names as comments 28 December 2017, 19:06:10 UTC
b3bfcb3 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 28 December 2017, 19:25:40 UTC
03cdf76 QEMU: experiment - brute-force MPU messages to find out their meaning 28 December 2017, 18:42:49 UTC
b1fa815 GDB scripts: hooks for logging properties (prop_request_change, MPU property functions) (example for 5D3.113 and 550D.109; useful for identifying properties) 06 December 2017, 23:03:24 UTC
e68549e 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) 27 December 2017, 22:04:58 UTC
b02ec65 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 27 December 2017, 16:58:46 UTC
67c6a23 QEMU install.sh: further Ubuntu/WSL cleanups (minor) 27 December 2017, 16:06:10 UTC
25c53d9 QEMU install.sh: fine-tuned messages and date format when renaming an older installation 27 December 2017, 16:06:10 UTC
0f0be00 Merged in t3r4n/magic-lantern/qemu_install_improvement (pull request #892) Option to rename or delete existing QEMU directory during installation 27 December 2017, 15:58:01 UTC
fd92947 QEMU install.sh: WSL fixes - checking for Ubuntu (uname -a does not report Ubuntu) - hide 32-bit toolchain options 24 December 2017, 10:38:04 UTC
7966a52 run_canon_fw.sh: Mac fixes - use is_mounted (lsof checks are enough) - typo in osascript when trying to bring QEMU window to front 24 December 2017, 09:12:54 UTC
da53169 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 23 December 2017, 22:15:23 UTC
cf02cd7 QEMU: RTC workaround to bring back 400D GUI (broken in 0d654a0, not covered by tests as it's very slow) 23 December 2017, 15:41:53 UTC
8b189ce 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) 23 December 2017, 07:57:10 UTC
f0b1c60 QEMU: fix USB CONNECT on 450D/1000D (incidentally, this also fixes the card format dialog on these cameras - likely UILock issue) 23 December 2017, 07:45:04 UTC
b4b14c2 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! 22 December 2017, 22:19:00 UTC
cdbeca3 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 22 December 2017, 18:39:39 UTC
56e56a2 QEMU: updated 80D tests for 1.0.2; DCIM test also works! 21 December 2017, 23:22:11 UTC
b1f18d0 QEMU: 80D file I/O support from main firmware (experimental, tested with "dumpf" in the serial console) 21 December 2017, 19:51:34 UTC
a1ec742 QEMU: enable card support on generic MPU spells (experimental, some models work better than others) 21 December 2017, 19:49:12 UTC
2204b2d GDB scripts: some experimental 80D patches, to be fixed in the emulation 19 December 2017, 23:18:59 UTC
3469e60 GDB scripts: log state object transitions (stubs for 550D and 80D) 19 December 2017, 22:58:24 UTC
d372e0e GDB scripts: 80D logging hooks for semaphores and message queues (disabled by default; also updated assert_log for 1.0.2) 19 December 2017, 22:55:48 UTC
3d6f437 QEMU: RomRead DMA is actually XDMAC (up to 4 channels; 80D only uses 2) 19 December 2017, 22:47:08 UTC
501d212 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 18 December 2017, 23:10:34 UTC
deb4495 QEMU tests: do not start if compilation fails (small nitpick that could result in false test results) 18 December 2017, 00:04:10 UTC
1c05269 QEMU: updated tests after b75e1342711a (context info is now correctly printed when returning from msg_queue_receive, take_semaphore etc) 18 December 2017, 22:33:07 UTC
back to top