https://bitbucket.org/hudson/magic-lantern

sort by:
Revision Author Date Message Commit Date
9265632 Close branch io_trace (merged, further experiments in io_trace_full) 21 June 2018, 06:16:46 UTC
2f4841d io_trace: updated comments about TCM usage 13 February 2018, 20:36:23 UTC
f9fb136 dm-spy: fix incorrect address in messages from DebugMsg (broken after calling io_trace_log_flush before reading LR) 13 February 2018, 20:03:37 UTC
e404344 io_trace: moved the stack in some unused area in the TCM; documented TCM usage the stack configured for Data Abort by Canon bootloader may overwrite IRQ handler table - on 5D3 we were just lucky (todo: make sure it's really unused on all models, using some automated test) 13 February 2018, 17:16:05 UTC
6a153e6 io_trace: removed uncacheable jumps and clean the cache without affecting the cache hacks (patch from g3gg0; updated some comments) 13 February 2018, 09:56:03 UTC
201e88e io_trace: run the trapped instruction from uncacheable memory (no more need to clear the caches -> no more interference with cache hacks!) 0x000b0e74: e92d4000 push {lr} 0x000b0e78: e38ff101 orr pc, pc, #1073741824 ; 0x40000000 0x400b0e80: e5810004 str r0, [r1, #4] ; [0xC0222004] <- 0x10 0x400b0e84: e3cff101 bic pc, pc, #1073741824 ; 0x40000000 0x000b0e8c: e8bd4000 pop {lr} 12 February 2018, 08:56:31 UTC
14a468d io_trace: workaround to prevent crash on instructions that modify LR fixme: run the instruction in the original mode (IRQ, user, supervisor etc) http://www.magiclantern.fm/forum/index.php?topic=2388.msg196991#msg196991 08 February 2018, 22:47:29 UTC
1fd24fc io_trace: identify lost data (if index wraps around); use larger buffer todo: branch-less saturated arithmetic for buffer_index 08 February 2018, 22:47:29 UTC
d9ec4b4 io_trace: added timestamp, interrupt ID, nicer output starts to resemble the output of '-d io' from QEMU for some reason it doesn't crash any more, but I'm not sure what I did to fix it :) EDMAC and JPCORE also working, even from startup 07 February 2018, 20:25:48 UTC
5a66d64 io_trace: helper to define memory regions without having to look up their sizes; some examples of peripherals that could be successfully logged 07 February 2018, 10:02:18 UTC
10d9202 io_trace: config option for Makefile.user enable with CONFIG_MMIO_TRACE=y, to be used with either CONFIG_DEBUG_INTERCEPT=y or CONFIG_DEBUG_INTERCEPT_STARTUP=y note: EDMAC logging works with the former, range 0xC0F0001F doesn't crash (just an example) guess: LCLK must be active when starting logging? 07 February 2018, 08:33:41 UTC
944f75b io_trace: interrupt hooks apparently not needed it seems to log even more registers without them e.g. C02200BC: ~100 before, ~1000 after (5D3, regular startup sequence) 07 February 2018, 07:02:02 UTC
cdd0cad io_trace: simplified install/uninstall code 07 February 2018, 08:14:00 UTC
94e46b7 io_trace: proof of concept working, can log GPIO and SIO many other memory regions are crashing (EDMAC, etc) 07 February 2018, 07:44:54 UTC
86e8fec io_trace: custom stack probably not needed 07 February 2018, 07:36:39 UTC
b0cab8d io_trace: cache sync required before reconfiguring the protection region? (it no longer crashes on camera after this change) 07 February 2018, 08:11:33 UTC
f0e58e5 io_trace: refactored to use static variables/functions; removed io_trace_ prefix from local symbols to reduce noise in variable names; use uint32_t instead of unsigned int 06 February 2018, 20:11:25 UTC
a530a9b io_trace: whitespace 06 February 2018, 20:04:45 UTC
71a2a7c io_trace: able to trap a few accesses in the MMIO region todo: - log the value read from the MMIO register (ideally without re-reading that register) - once some access is made, re-enable the memory protection for the next instruction (currently it's only enabled at the next interrupt, which misses most of the action) - works in QEMU, crashes on camera 06 February 2018, 16:51:54 UTC
f351bb6 io_trace: started from mem_prot code, not working yet (renamed mem_prot_* to io_trace_*, removed GUI code, added hooks to dm-spy) Goal: log all MMIO register accesses (in particular, reads) alongside other debug messages 06 February 2018, 16:51:54 UTC
f14bd34 100D, 70D: enough memory for 2MB startup logs 03 February 2018, 20:55:07 UTC
8066448 Merged unified into dm-spy-experiments (Makefile updates, install_qemu) 03 February 2018, 20:54:47 UTC
c790045 Merged in garry23/dof-fix-for-focus.c/garry23/focusc-edited-online-with-bitbucket-by-g-1495645868417 (pull request #831) Changed the DoF equations to better handle integer math and used a different source for the equations. 02 February 2018, 21:07:41 UTC
ff43dd5 Dummy merge (reference changeset for make install_qemu) 02 February 2018, 21:07:04 UTC
e0ceefa Merged in makefile-updates (pull request #898) Makefile updates part 2 (minor fixes, updated make install_qemu) 02 February 2018, 21:05:58 UTC
7553f12 focus.c: fix possible overflow when computing hyperfocal (corner case) examples (focal_len, focus_dist): 73 4689 90 7123 91 7282 98 8444 ... 02 February 2018, 20:56:20 UTC
8978943 focus.c: fix typo pointed out by garry23 http://www.magiclantern.fm/forum/index.php?topic=9741.msg196728#msg196728 02 February 2018, 20:07:32 UTC
26937f3 dm-spy: option to save a stack trace (backtrace) for the logged functions to enable: BKT flag, e.g. { 0xFF0F8BA8, "evfComAct", 4 | BKT } 01 February 2018, 00:18:34 UTC
e70e391 Makefile: updated rules for "make install_qemu" (for reference, should anyone ever want to use them on older changesets) Before using them, qemu has to be installed first in qemu-eos (from the qemu branch) QEMU installation directory can be changed from the QEMU_DIR environment variable, or from Makefile.user 30 January 2018, 19:50:08 UTC
7a7e744 Makefile: moved default QEMU directory to qemu-eos 30 January 2018, 00:38:48 UTC
11bfc4a Makefile: also updated QEMU_INSTALLED_DBI_DIR to use QEMU_PATH 30 January 2018, 19:50:08 UTC
1b9f438 Makefile: fix copy/paste error 30 January 2018, 19:34:26 UTC
753f229 Makefile: fix cleaning up after "make zip"; removed warning 30 January 2018, 18:39:07 UTC
12b4571 Makefile: allow changing QEMU installation directory from Makefile.user and/or the environment (QEMU_DIR) 30 January 2018, 00:38:48 UTC
481be18 Makefile: zip and install_qemu targets for modules 29 January 2018, 22:03:42 UTC
cac52db Makefile: always clean after running install_check http://www.magiclantern.fm/forum/index.php?topic=991.msg194444#msg194444 30 January 2018, 18:19:37 UTC
c7d9565 Makefile: always rebuild version.o 30 January 2018, 18:08:52 UTC
1ee4316 Makefile: prevent install_check from running in parallel with building regular ML (conflicts while compiling from the same sources - http://www.magiclantern.fm/forum/index.php?topic=991.msg194315#msg194315 ) 30 January 2018, 18:07:57 UTC
d4657cc 70D: mpu_send/recv stubs 29 January 2018, 21:01:52 UTC
a6d890e Merged 100D_merge_fw101 into dm-spy-experiments 29 January 2018, 20:57:56 UTC
158a93b Merged 70D_merge_fw112 into dm-spy-experiments 29 January 2018, 20:45:36 UTC
57734c1 Merged patchmgr into dm-spy-experiments 29 January 2018, 20:41:26 UTC
b923894 Patch manager: nicer way to avoid calling _reapply_cache_patches when not present (fixes compiling the installer target and removes the need for defining NO_CACHE_PATCHES) 29 January 2018, 20:40:10 UTC
aab31c6 Merged cleaner-lvapp-hack into dm-spy-experiments 23 January 2018, 23:09:35 UTC
908de4d Merged new-dryos-task-hooks into cleaner-lvapp-hack 23 January 2018, 23:07:33 UTC
4a01155 Merged patchmgr into cleaner-lvapp-hack 23 January 2018, 23:05:44 UTC
f230660 Merged unified into patchmgr 23 January 2018, 23:04:28 UTC
32bdeb8 dm-spy: backout da607f7 and e601292 to restore compatibility with cameras booting with cache hacks 23 January 2018, 00:56:02 UTC
762adb7 Merged new-dryos-task-hooks into dm-spy-experiments (should fix boot issues on 600D, maybe others) 23 January 2018, 00:58:57 UTC
8dfd37e 6D: fix task_max 22 January 2018, 19:34:41 UTC
c50120f Merged new-dryos-task-hooks into 70D_merge_fw112 (enabled CONFIG_NEW_DRYOS_TASK_HOOKS in internals.h; updated task_dispatch_hook comment) 22 January 2018, 17:14:01 UTC
fd0768e Merged new-dryos-task-hooks into 100D_merge_fw101 (enabled CONFIG_NEW_DRYOS_TASK_HOOKS in internals.h; added task_dispatch_hook comment) 22 January 2018, 17:04:07 UTC
4f45cac boot-hack: use CONFIG_NEW_DRYOS_TASK_HOOKS to enable new-style DryOS hooks (undefining HIJACK_TASK_ADDR was not obvious) 22 January 2018, 16:16:02 UTC
b717f9b 70D: enabled Sticky half-shutter (unlikely to cause issues) and Sticky DOF preview (to be tested) 20 January 2018, 16:01:39 UTC
639f304 100D: enabled Sticky half-shutter (unlikely to cause issues) and Sticky DOF preview (to be tested) 20 January 2018, 16:00:54 UTC
348bd47 boot-hack: uninstall cache hacks after booting (to be tested) 16 January 2018, 08:38:14 UTC
462220b boot-hack: more debug messages regarding memory allocation (for HIJACK_CACHE_HACK and RSCMGR_MEMORY_PATCH_END) 12 January 2018, 21:51:12 UTC
e9427a7 boot-hack: fix CONFIG_HELLO_WORLD & friends when booting with HIJACK_CACHE_HACK (task_dispatch_hook should not be set in this case) 12 January 2018, 21:30:15 UTC
c7d1635 boot-hack: fix task dispatch hook message missing when booting with HIJACK_CACHE_HACK 12 January 2018, 17:36:19 UTC
59fe1ed Task hooks: disabled task switch debug messages by default (too verbose) 19 December 2017, 18:32:45 UTC
340d993 550D, 600D: fix memory allocation (amend 5b4fe18) 19 December 2017, 18:25:59 UTC
014d07f Raw backend: fix compiling without CONFIG_MODULES 19 December 2017, 07:31:22 UTC
e0a5e1c 6D: ADTG shutter addresses did not work, trying another set 18 December 2017, 07:02:15 UTC
5d399d3 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? 17 December 2017, 22:29:31 UTC
1946734 Merged unified into 100D_merge_fw101 16 December 2017, 00:13:00 UTC
87440f9 Merged new-dryos-task-hooks into 100D_merge_fw101 16 December 2017, 00:10:02 UTC
8bc68a6 dm-spy-extra: disable MPU_DELAY_SEND in LiveView 10 December 2017, 23:56:18 UTC
d26b632 Makefile: drop unused SUPPORTED_MODELS / SUPPORTED_UNIFIED_MODELS 06 December 2017, 23:15:00 UTC
6faaaa4 Merged in makefile-updates (pull request #873) Makefile updates to use any valid ARM toolchain 06 December 2017, 19:04:33 UTC
a99c00e Makefile: fix 7D build_fir 05 December 2017, 23:03:15 UTC
e024e68 Makefile: fix building Lua with gcc 4.7.3 05 December 2017, 22:34:53 UTC
7c27e28 Makefile: only attempt to build/install/check ML-SETUP.FIR if there is a valid installer directory (some platforms may not have have one - 7D_MASTER, new ports) 05 December 2017, 22:12:02 UTC
ccc8fe8 Card LED: always use CARD_LED_ADDRESS, LEDON and LEDOFF (backed out 5bfab05 to fix installer on 7D - 0x800c00 not mandatory?) 03 December 2017, 20:50:25 UTC
6c78497 Makefile: moved 7D-specific tweaks (FIR etc) into main target (7D.203) for consistency with other platforms, including 7D2 to build the regular FIR: make build_fir to build the installer FIR: make ML-SETUP.FIR -B 03 December 2017, 20:31:54 UTC
bc46669 Makefile: FIR building updates - always install ML-SETUP.FIR (zip, install, install_qemu) - build_fir for regular ML (not installer) now gives AUTOEXEC.FIR - to recompile ML-SETUP.FIR: "make ML-SETUP.FIR -B" from platform directory - "make zip" will also compile the installer from source, without replacing the precompiled ML-SETUP.FIR (just to make sure the source code changes do not interfere with building the installer) 03 December 2017, 20:18:40 UTC
5e69462 Makefile: fix building xor_chk from its own directory 02 December 2017, 23:06:40 UTC
0ed38f5 Makefile: more .NOTPARALLEL fixes 02 December 2017, 22:52:32 UTC
6acdeea Makefile: fix 7D FIR path (just for consistency) 02 December 2017, 22:46:21 UTC
455952b Makefile: use .NOTPARALLEL in top-level Makefiles, rather than double-colon rules ML platforms/modules are built sequentially, but within each platform/module, parallel build is used to be tested on Mac with -j8 (on Make 3.81, double-colon are executed in parallel, while in 4.2.1 they are sequential) 02 December 2017, 22:33:43 UTC
92a8790 Makefile: fix README.rst generation with POSIX shells to reproduce: cd modules/filepref; make clean; rm -f README.rst; make SHELL=dash 27 November 2017, 12:27:55 UTC
c7c7771 Makefile: serialize "make install", fix some related dependencies parallel copying could lock up WIFI_SD cards to reproduce: "WIFI_SD=y make install ML_MODULES=" from platform/CAM directory 27 November 2017, 10:42:33 UTC
100b192 Makefile: monitor wifi connection when using WIFI_SD=y (experimental, helps troubleshooting connectivity issues) 27 November 2017, 10:39:50 UTC
32ccb13 Makefile: minor refactors for WIFI_SD (coding style) also fixed a typo 27 November 2017, 10:39:35 UTC
75d5954 Modules: better error handling for missing rst2html http://www.magiclantern.fm/forum/index.php?topic=17099 26 November 2017, 00:31:52 UTC
6a07f4e Makefile: speed optimizations - helper to evaluate only once, only if used - modules hgstamp: only evaluate if used - CF_CARD, VERSION: only evaluate once if used - PWD is special? renamed to avoid unneeded shell calls Profiling tips: - perf record make; perf report --sort comm - make SHELL="sh -x" - make clean SHELL="sh -x" |& grep "^+" | sort | uniq -c 25 November 2017, 23:13:58 UTC
66e0e5e Makefile: enable parallel compilation for modules, but compile them sequentially huge modules like Lua will compile much faster compiling everything in parallel is not 100% safe (some dependency checks may fail) 25 November 2017, 19:21:03 UTC
b2f3a52 Makefile: do not print toolchain info on recursive calls 25 November 2017, 19:55:20 UTC
1dd4dce Makefile: reworked global targets install: doesn't make sense, as we no longer have a "one size fits all" build capable of running on all models (alternative: 5D3.113_install, 60D_install etc) zip: build zip for each camera model, sequentially (parallel build still used within each zip) all: similar to zip (build camera models sequentially, but use parallel compilation within each platform) clean, check: these can run in parallel (no restrictions) 25 November 2017, 18:50:29 UTC
642f995 Makefile: fix module dependency checking on "make zip" by default, a module succeeds if it can be loaded on any camera model, from those compiled (doesn't matter which one) when using "make zip", we only want to include the modules compatible with current camera model, without considering other models (fixme: not the cleanest way to implement this) 25 November 2017, 17:31:01 UTC
37844af Makefile: fix module_strings dependency rule (previously, there was an error with make -j) 25 November 2017, 17:58:53 UTC
e4c6a62 Makefile: dropped ML_MODULES_STATIC (unused) and renamed ML_MODULES_DYNAMIC to ML_MODULES note: if you have customized the module list in Makefile.modules.user, just rename ML_MODULES_DYNAMIC to ML_MODULES to compile without modules: make 5D3 ML_MODULES= 25 November 2017, 16:01:15 UTC
78284d1 Makefile: fix "make clean" from modules directory with stale modules from other branches https://bitbucket.org/hudson/magic-lantern/pull-requests/873/makefile-updates-to-use-any-valid-arm/diff#comment-48250675 25 November 2017, 18:03:43 UTC
eacaef4 Makefile: fix running from other directory e.g. from qemu: make -C ../magic-lantern/ 500D_install_qemu 24 November 2017, 19:14:10 UTC
5ce053a Makefile: model-specific install targets for the root directory examples: make 500D_install; make 500D_install_qemu 24 November 2017, 19:10:19 UTC
c94bd0d 7D: fix compiling with FEATURE_VIDEO_HACKS 23 November 2017, 21:33:24 UTC
7ba7f09 Makefile: fix building 7D_MASTER 23 November 2017, 21:33:24 UTC
26d4932 Makefile: minor cleanups from 0b9b550 23 November 2017, 13:27:25 UTC
63f9c6c Makefile: always define CONFIG_$(MODEL)_$(FW_VERSION) e.g. CONFIG_5D3_113, CONIFG_7D_203 and so on 23 November 2017, 13:18:15 UTC
c7f0aaf Patch manager: moved reapply_cache_patches into sync_caches also made it private 23 November 2017, 13:00:24 UTC
230ad86 Attempt to log the values of 0xC0220024 http://www.magiclantern.fm/forum/index.php?topic=2388.msg193512#msg193512 23 November 2017, 02:36:29 UTC
back to top