Started 2 yr 9 mo ago
Took 12 min

Success Build #16 (Dec 21, 2018 5:09:55 PM)

io_trace_full
Build Artifacts
magiclantern-startup-log-mpu.2018Dec21.100D101.zip1.79 MB view
magiclantern-startup-log-mpu.2018Dec21.1100D105.zip1.70 MB view
magiclantern-startup-log-mpu.2018Dec21.500D111.zip1.82 MB view
magiclantern-startup-log-mpu.2018Dec21.50D109.zip1.81 MB view
magiclantern-startup-log-mpu.2018Dec21.550D109.zip1.83 MB view
magiclantern-startup-log-mpu.2018Dec21.5D2212.zip1.83 MB view
magiclantern-startup-log-mpu.2018Dec21.5D3113.zip1.83 MB view
magiclantern-startup-log-mpu.2018Dec21.5D3123.zip1.83 MB view
magiclantern-startup-log-mpu.2018Dec21.600D102.zip1.82 MB view
magiclantern-startup-log-mpu.2018Dec21.60D111.zip1.83 MB view
magiclantern-startup-log-mpu.2018Dec21.650D104.zip1.82 MB view
magiclantern-startup-log-mpu.2018Dec21.6D116.zip1.83 MB view
magiclantern-startup-log-mpu.2018Dec21.700D115.zip1.79 MB view
magiclantern-startup-log-mpu.2018Dec21.70D112.zip1.78 MB view
magiclantern-startup-log-mpu.2018Dec21.7D203.zip1.83 MB view
magiclantern-startup-log-mpu.2018Dec21.EOSM202.zip1.81 MB view
Changes
  1. io_trace: fix crash with CONFIG_QEMU
    (still interferes with qprintf, as it logs MMIO events for every single character) (detail / bitbucket)
  2. dm-spy: fix progress bar locking up the camera during startup (detail / bitbucket)
  3. dm-spy: print start/stop messages in the log file

    - useful to tell whether the log file is complete or was trimmed for some reason
    - making sure these are really the first and last messages in the log file was not trivial (detail / bitbucket)
  4. io_trace: nicer handling of buffer overflow
    (the buffer is no longer circular => no more data lost at the beginning of the log) (detail / bitbucket)
  5. io_trace: pause LiveView when saving the log
    (faster) (detail / bitbucket)
  6. dm-spy: simple progress indicator to show when the logging buffers get full
    (so you know when to stop the experiment without losing data) (detail / bitbucket)
  7. dm-spy: allow logs larger than maximum contiguous chunk
    (larger than ~ 32 MB) (detail / bitbucket)
  8. io_trace: fix timestamp overflow for long experiments (detail / bitbucket)
  9. io_trace: log extended MMIO range by default (C0000000 - DFFFFFFF);
    documented some more useful memory regions (detail / bitbucket)
  10. io_trace: reset buffer index every time
    (fixes bunch of zeros at the beginning of log file) (detail / bitbucket)
  11. Merged dm-spy-experiments into io_trace_full (detail / bitbucket)
  12. Merged dm-spy-experiments into io_trace_full
    (minor fixes; latest qemu) (detail / bitbucket)
  13. io_trace: fix decoding post-indexed addressing modes
    (the memory access is performed on the unmodified register value) (detail / bitbucket)
  14. dm-spy: fix typo that caused some missed messages at early startup (detail / bitbucket)
  15. dm-spy: use SPARSE_MESSAGES by default if CONFIG_MMIO_TRACE is not defined (detail / bitbucket)
  16. dm-spy: fix timer unwrap not resetting for the second log captured in the same session
    (and third and fourth and so on) (detail / bitbucket)
  17. dm-spy: option to properly timestamp "sparse" messages
    (useful if there may be more than one second between two messages, as the hardware timer wraps around at 1048576 us) (detail / bitbucket)
  18. dm-spy: LED feedback while pretty-printing messages (detail / bitbucket)
  19. dm-spy-extra: use STUB_ENTRY for EDMAC functions
    (no more need to hardcode these stubs) (detail / bitbucket)
  20. dm-spy: custom logging function for SetEDmac; fine-tuned other EDMAC helpers (detail / bitbucket)
  21. dm-spy-extra: fine-tuned configuration for photo capture logging (5D3.113) (detail / bitbucket)
  22. dm-spy-extra: old mmio_log experiments no longer needed
    (still keeping this function for compatibility) (detail / bitbucket)
  23. dm-spy: unwrap the timer and print timestamps as ss.mmm.uuu
    (s=second, m=millisecond, u=microsecond) (detail / bitbucket)
  24. io_trace: decode usual LDR/STR addressing modes (most of the A5.2 in ARM ARM);
    also store Rm during data collection (values may not be always valid; decoded later) (detail / bitbucket)
  25. io_trace: dummy wrappers for use with CONFIG_MMIO_TRACE=n (detail / bitbucket)
  26. dm-spy-extra: removed the "from %x" mentions, as we can now override PC for all messages (detail / bitbucket)
  27. dm-spy: fix minor regression
    (missing class/level values in DebugMsg's) (detail / bitbucket)
  28. dm-spy: hide MMIO access performed by EDMAC interrupt logger;
    io_trace: helpers to pause/resume MMIO logging (detail / bitbucket)
  29. dm_spy: re-enabled EDMAC info on interrupts (detail / bitbucket)
  30. dm-spy: attempt to log addresses where interrupts were triggered
    (what task was interrupted and where exactly) (detail / bitbucket)
  31. dm-spy, io_trace: timestamp messages without logging their MMIO timer read
    (fixes some out-of-order timestamps and reduces unnecessary verbosity) (detail / bitbucket)
  32. dm-spy, io_trace: major rework to reduce CPU usage, to be able to log LiveView and photo capture without issues
    - store messages in a binary data structure, format things like task name, timestamp and PC later
    - sync with other loggers that may use their own data structure (currently io_trace, todo: EDMAC)
    - non-sprintf wrappers (debug_logstr, debug_loghex) are now line-buffered
    - use shoot_malloc for output buffer (formatting messages takes a few seconds)
    - can log LiveView (25/30 FPS, not 50/60 FPS), can log photo capture without interference (image is still good!)
    - some features are broken (CONFIG_DEBUG_INTERCEPT_STARTUP with CONFIG_MMIO_LOG, CONFIG_DEBUG_INTERCEPT_STARTUP_BLINK, PRINT_STACK) (detail / bitbucket)
  33. NotifyBox: log messages to QEMU console (detail / bitbucket)
  34. snprintf: assert if size is negative (detail / bitbucket)
  35. dm-spy: refactored CONFIG_DEBUG_INTERCEPT and CONFIG_DEBUG_INTERCEPT_STARTUP to use the same (common) code (detail / bitbucket)
  36. dm-spy-extra: some options to log photo capture or LiveView with full MMIO trace
    (not working well; these processes are very sensitive to timing; our logging code is way too slow) (detail / bitbucket)

Started by user Alex

Revision: 296fdfb5f8d0256e61479ca9877ea456fe547ba3