Commit eda6751
Fix VFS pre-RTOS mutex fallback, revert timeouts, improve CI test
- lib/dmvfs/src/dmvfs.c: lock_mutex() now falls back to Dmod_EnterCritical()
when Dmod_Mutex_Lock fails (e.g. before vTaskStartScheduler). unlock_mutex()
is symmetric: calls Dmod_ExitCritical() when Dmod_Mutex_Unlock fails.
This ensures filesystem mounts (mount_embedded_filesystems) always succeed
regardless of RTOS state, allowing board modules (dmgpio, dmclk, etc.) to
load and configure via dmell/dmdevfs.
- scripts/run_renode_tests.sh: revert CONNECT_TIMEOUT 120->90 and
MONITOR_TIMEOUT 60->30 (original values are sufficient with proper fix).
- scripts/verify_renode_logs.sh: add support for lines starting with '!'
meaning the pattern must NOT appear in the firmware log.
- configs/renode/expected_logs.txt: add !HardFault_Handler invoked! as a
crash guard (negative check placed at top); add explanatory comments for
the boot sequence and pattern syntax.
Co-authored-by: JohnAmadis <17320783+JohnAmadis@users.noreply.github.com>1 parent 16772ce commit eda6751
3 files changed
Lines changed: 44 additions & 13 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
7 | 7 | | |
8 | 8 | | |
9 | 9 | | |
10 | | - | |
11 | | - | |
12 | | - | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
13 | 19 | | |
14 | | - | |
15 | | - | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
16 | 23 | | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
17 | 28 | | |
18 | 29 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
41 | 41 | | |
42 | 42 | | |
43 | 43 | | |
44 | | - | |
45 | | - | |
| 44 | + | |
| 45 | + | |
46 | 46 | | |
47 | 47 | | |
48 | 48 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | 3 | | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
4 | 12 | | |
5 | 13 | | |
6 | 14 | | |
| |||
33 | 41 | | |
34 | 42 | | |
35 | 43 | | |
36 | | - | |
37 | | - | |
38 | | - | |
39 | | - | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
40 | 55 | | |
41 | | - | |
42 | | - | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
43 | 63 | | |
44 | 64 | | |
45 | 65 | | |
| |||
0 commit comments