- 22 Nov, 2019 1 commit
-
- 03 Nov, 2019 1 commit
-
-
Rahix authored
In the current firmware, different locking mechanisms a littered around the code-base. Among them are bare FreeRTOS mutexes and the hw-locks. The callers for these often specify timeouts but don't make much effort in A) picking robust values for the timeout and B) recovering gracefully from a timeout happening. Most of the time, we return -EBUSY to _Python code_. This is really really bad API design. The firmware needs to have enough integrity to ensure these situations can't ever occur. To combat this, add a new locking primitive: The `struct mutex`. The intention is to replace all other locking and synchronization APIs with this one. This will provide one central place to debug any sort of locking issues. The `struct mutex` API is based on a few assumptions about locking. Those are detailed in `Documentation/epicardium/mutex.rst`, which is part of this commit. The most important one is: Locking can **never** fail. By requiring this to be true, we eliminate the need for drivers to contain (often incorrect) logic for dealing with locking fails. This should drastically improve the stability of the firmware in regards to lock-related bugs. This commit does not introduce any functional changes yet. Signed-off-by:
Rahix <rahix@rahix.de>
-
- 04 Oct, 2019 1 commit
-
-
We update the documentaiton and CI tooling to remove references to the jailbreak firmware. We also slightly update the docs to mention USB mode in a separate page, for unification purposes.
-
- 31 Aug, 2019 1 commit
-
-
danb authored
-
- 23 Aug, 2019 2 commits
- 22 Aug, 2019 3 commits
-
-
Rahix authored
Signed-off-by:
Rahix <rahix@rahix.de>
-
Rahix authored
Signed-off-by:
Rahix <rahix@rahix.de>
-
Rahix authored
Signed-off-by:
Rahix <rahix@rahix.de>
-
- 21 Aug, 2019 1 commit
-
- 20 Aug, 2019 1 commit
-
-
trilader authored
-
- 19 Aug, 2019 3 commits
-
-
Rahix authored
Add docs about the included modules from MicroPython and CPython stdlib. Signed-off-by:
Rahix <rahix@rahix.de>
-
trilader authored
-
Rahix authored
Signed-off-by:
Rahix <rahix@rahix.de>
-
- 17 Aug, 2019 1 commit
-
-
Rahix authored
Signed-off-by:
Rahix <rahix@rahix.de>
-
- 15 Aug, 2019 1 commit
-
- 12 Aug, 2019 2 commits
-
-
Anon authored
-
Rahix authored
Signed-off-by:
Rahix <rahix@rahix.de>
-
- 01 Aug, 2019 1 commit
-
-
Rahix authored
Signed-off-by:
Rahix <rahix@rahix.de>
-
- 22 Jul, 2019 1 commit
-
-
Rahix authored
Signed-off-by:
Rahix <rahix@rahix.de>
-
- 21 Jul, 2019 2 commits
-
-
Rahix authored
Signed-off-by:
Rahix <rahix@rahix.de>
-
Gerd authored
-
- 20 Jul, 2019 1 commit
-
-
Rahix authored
Signed-off-by:
Rahix <rahix@rahix.de>
-
- 17 Jul, 2019 1 commit
-
-
Rahix authored
Signed-off-by:
Rahix <rahix@rahix.de>
-
- 16 Jul, 2019 2 commits
- 14 Jul, 2019 5 commits
-
-
schneider authored
-
Rahix authored
Signed-off-by:
Rahix <rahix@rahix.de>
-
Rahix authored
Signed-off-by:
Rahix <rahix@rahix.de>
-
Rahix authored
Signed-off-by:
Rahix <rahix@rahix.de>
-
Rahix authored
Signed-off-by:
Rahix <rahix@rahix.de>
-
- 12 Jul, 2019 1 commit
-
-
Rahix authored
Signed-off-by:
Rahix <rahix@rahix.de>
-
- 08 Jul, 2019 2 commits
-
-
Rahix authored
Signed-off-by:
Rahix <rahix@rahix.de>
-
Rahix authored
Signed-off-by:
Rahix <rahix@rahix.de>
-