Skip to content

Bump dmvfs and dmod for faster boot - #116

Merged
JohnAmadis merged 2 commits into
masterfrom
feature/bump-dmvfs-dif-cache
Oct 5, 2026
Merged

JohnAmadis merged 2 commits into
masterfrom
feature/bump-dmvfs-dif-cache

Conversation

@JohnAmadis

@JohnAmadis JohnAmadis commented Oct 5, 2026 •

Copy link
Copy Markdown
Contributor

Bumps two submodules:

Boot in Renode (STM32F746G-DISCO, virtual time):

Milestone Before dmvfs + dmod, dmeth 1.0.4
dmclk module loaded 892 ms 324 ms 306 ms
/dev mounted 3278 ms 1725 ms 1292 ms
Splash screen on the LCD ~3.1 s — 1.19 s (display on), first rendered frame 1223 ms
Shell prompt 3790 ms 2052 ms 1558 ms
  • The last column also includes the dmeth 1.0.4 release (Do not block driver creation on the PHY reset and autonegotiation dmeth#6), which dmf-get downloads at configure time. The PHY is no longer waited for during driver creation.
  • Firmware builds with both submodules (BOARD=stm32f746g-disco, DMBOOT_EMULATION=ON).
  • The boot log has no new errors; the only one is the existing dmdma: stream 3 already open.

🤖 Generated with Claude Code

https://claude.ai/code/session_01V9XGvT9zLJVAagoEVhYh9T

claude added 2 commits October 5, 2026 09:01
dmvfs now resolves each file system function once per mount point
instead of on every call (choco-technologies/dmvfs#61). Reading the INI
configs character by character no longer pays a full DIF signature
lookup per byte, which cuts the boot to the shell prompt in Renode from
3.79 s to 2.05 s.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01V9XGvT9zLJVAagoEVhYh9T
dmod now checks loaded modules before system modules in
Dmod_Mgr_IsLoaded/IsEnabled, and looks system modules up in a list of
their names built once in Dmod_Initialize() instead of checking the
signature of every built-in API on each call
(choco-technologies/dmod#326).

Boot to the shell prompt in Renode, together with dmvfs and the
dmeth 1.0.4 release: 1558 ms.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01V9XGvT9zLJVAagoEVhYh9T
@JohnAmadis JohnAmadis changed the title Bump dmvfs to cache file system DIF functions Bump dmvfs and dmod for faster boot Oct 5, 2026
@JohnAmadis
JohnAmadis merged commit 1510c16 into master Oct 5, 2026
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants