-
Notifications
You must be signed in to change notification settings - Fork 15
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Autosar Requirements feedback #24
Draft
Jochen-Kall
wants to merge
6
commits into
elisa-tech:master
Choose a base branch
from
Jochen-Kall:Autosar_Requirements_feedback
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Draft
Changes from 5 commits
Commits
Show all changes
6 commits
Select commit
Hold shift + click to select a range
84595a3
Provide Autosar Requirement tree as discussed in Weekly sync.
789d3da
Added Requirements contents for the Requirements on RS_OSI and SWS_OS…
7230f59
Added Alessandros findings
1e43525
Added some more of the notes of the midmap to Notes.md
df8c66f
Transferred all findings from markdown to the mindmap with the findin…
5c5ac31
Added notes from the Autosar discussion session to the discussion top…
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
Binary file added
BIN
+63.7 KB
Autosar_Requirements/Autosar_requirements_files/png_103443134580751252.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+15 KB
Autosar_Requirements/Autosar_requirements_files/png_1422049677413748365.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+147 KB
Autosar_Requirements/Autosar_requirements_files/png_1583795526270649214.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+196 KB
Autosar_Requirements/Autosar_requirements_files/png_2134582951924925129.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+136 KB
Autosar_Requirements/Autosar_requirements_files/png_458992244045570839.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+48.9 KB
Autosar_Requirements/Autosar_requirements_files/png_4615176338401799785.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+21.5 KB
Autosar_Requirements/Autosar_requirements_files/png_7281299709021076975.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+138 KB
Autosar_Requirements/Autosar_requirements_files/png_771748757874593714.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+23.4 KB
Autosar_Requirements/Autosar_requirements_files/png_9010377296742589771.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,52 @@ | ||
# Autosar Requirements to OS - Analysis and Feedback | ||
The Automotive WG considers Requirements the Autosar consortion poses on the underlying Operating system. | ||
## Findings | ||
The following points came up so far: | ||
### General question regarding the OS flag | ||
How is the OS flag to be understood? We understood it as requirements that do require something from the OS to be fulfilled, but if that interpretation is correct, then some requirements miss the flag, i.e. [RS_SAF_10037] | ||
Followup question, some requirements with the OS flag do not have any children that carry the flag as well, i.e. [RS_SAF_10030] or [RS_SAF_10005], [RS_SAF_10002] | ||
### AUTOSAR_RS_Safety.pdf | ||
#### RS_SAF_00001, RS_SAF_21202 | ||
Full time and data determinism is needed on system level, but not necessarily on OS level. We should discuss to what exactly the OS needs to provide to make fulfillment of these requirements possible. | ||
### [RS_SAF_10028] | ||
The requirements and its children, is the interpretation correct, that fully deterministic execution is ensured by execution management without OS involvement, as long as sufficient computing ressources are availlable? We need to discuss the ressources requirement, this argument is not that easy for a preemptive OS | ||
#### [RS_SAF_21202] | ||
Execution Management shall support fully deterministic | ||
execution (time determinism and data determinism) so that higher ASIL levels | ||
can be achieved even when using parallel processing. | ||
|
||
Additional Excerpt from AUTOSAR_EXP_PlatformDesign.pdf: | ||
|
||
Deterministic execution provides a mechanism such that a calculation using a given | ||
input data set always produces a consistent output within a bounded time. Execution Management distinguishes between time and data determinism. The former states that the output is always produced by the deadline whereas the latter refers to generating the same output from the same input data set and internal state. | ||
The support provided by Execution Management focuses on data determinism as it assumes time determinism has handled by the provision of sufficient resources. | ||
|
||
This looks very much like static RT µc thinking, time slices and sufficient ressources to finish the task in time. | ||
With a preemtive OS like Linux this can not be guaranteed by design of the OS | ||
We should debate adapting the requirements to better fit a preemptive OS, Execution management in tandem with external watchdogs could ensure a temporal upper bound or drive a safe state. | ||
Just because one can construct a corner case that delays execution on a a Linux based system indefinitely, does not mean it happens a lot. | ||
|
||
#### [RS_SAF_10037] | ||
The requirement should be flagged as OS related, see children requirements referring to OS measures | ||
When taken out of context of it's parent requirement, the requirement looks more encompassing than it actually is. | ||
|
||
### AUTOSAR_RS_OperatingSystemInterface.pdf | ||
No issues found, Requirements described in the document can in principle be fulfilled by a Linux kernel | ||
### Autosar_SWS_Operating_Interface.pdf | ||
#### SWS_OSI_02000 | ||
Where does the number of ressource groups (8) come from? | ||
### [SWS_OSI_01014] | ||
Multi-Process Creation Capability Restriction : seccomp functionality can do the job | ||
### [SWS_OSI_02001] Memory ResourceGroups | ||
we can use cgroups or setrlimit, example cgroups: | ||
``` | ||
memory.memsw.limit_in_bytes | ||
memory.limit_in_bytes | ||
``` | ||
#### [SWS_OSI_02002] CPU ResourceGroups | ||
Can be done using cgroups : | ||
``` | ||
cpu.cfs_period_us | ||
cpu.cfs_quota_us | ||
``` | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,43 +1,43 @@ | ||
# ELISA Automotive WG - Navigation and file locations | ||
## Mailing list, Calendar etc | ||
https://lists.elisa.tech/g/automotive | ||
## Meeting Minutes | ||
https://docs.google.com/document/d/1qgEkB6HBjq0ojoTSmI_E18BZco3lORK1ZZDrBH1YQo0/edit#heading=h.b7qah2h40uzb | ||
## Google drive workgroup folder | ||
https://drive.google.com/drive/folders/1FCEzywCMfk3wY6lxBoMYjfQ_DQ44S5YS | ||
## Repo Orientation regarding the Telltale Usecase | ||
### Original considerations of the Use Case can be found in the folder | ||
Initialy_discussed_system_scope | ||
### The First iteration of the use case that the meta-elisa demo is based on can be found in | ||
AGL_cluster_demo_use_case | ||
* Item definition | ||
* Safety Concept/Requirements | ||
Our Implementation on top of the AGL Cluster demo is split in two repositories: | ||
|
||
The meta layer: (also includes build and running instructions) | ||
|
||
https://github.com/elisa-tech/meta-elisa | ||
|
||
The actual sourcecode repository: | ||
|
||
https://github.com/elisa-tech/wg-automotive-safety-app | ||
|
||
### The second iteration of the use case including Eclipse Papyrus based SysML models can be found in | ||
Cluster_Display_Use_Case_v2 | ||
* Item definition [WIP] | ||
* SysML models [WIP] | ||
|
||
The models are also visible via github page deployment as online viewer at: | ||
|
||
https://elisa-tech.github.io/wg-automotive/ | ||
|
||
The html export might not always be up to date with the models, generation is not automated (yet) | ||
## Tooling | ||
### Requirements | ||
Requirements are stored and handled as Freeplane Mindmap with Functional Safety Addon | ||
* https://www.freeplane.org/wiki/index.php/Home | ||
* https://github.com/Jochen-Kall/Safety_concept_tool | ||
### SysML modeling | ||
SysML models are done with Eclipse Papyrus with SysML v1.6 Plugin | ||
* https://www.eclipse.org/papyrus/ | ||
* https://marketplace.eclipse.org/content/papyrus-sysml-16 | ||
# ELISA Automotive WG - Navigation and file locations | ||
## Mailing list, Calendar etc | ||
https://lists.elisa.tech/g/automotive | ||
## Meeting Minutes | ||
https://docs.google.com/document/d/1qgEkB6HBjq0ojoTSmI_E18BZco3lORK1ZZDrBH1YQo0/edit#heading=h.b7qah2h40uzb | ||
## Google drive workgroup folder | ||
https://drive.google.com/drive/folders/1FCEzywCMfk3wY6lxBoMYjfQ_DQ44S5YS | ||
## Repo Orientation regarding the Telltale Usecase | ||
### Original considerations of the Use Case can be found in the folder | ||
Initialy_discussed_system_scope | ||
### The First iteration of the use case that the meta-elisa demo is based on can be found in | ||
AGL_cluster_demo_use_case | ||
* Item definition | ||
* Safety Concept/Requirements | ||
Our Implementation on top of the AGL Cluster demo is split in two repositories: | ||
The meta layer: (also includes build and running instructions) | ||
https://github.com/elisa-tech/meta-elisa | ||
The actual sourcecode repository: | ||
https://github.com/elisa-tech/wg-automotive-safety-app | ||
### The second iteration of the use case including Eclipse Papyrus based SysML models can be found in | ||
Cluster_Display_Use_Case_v2 | ||
* Item definition [WIP] | ||
* SysML models [WIP] | ||
The models are also visible via github page deployment as online viewer at: | ||
https://elisa-tech.github.io/wg-automotive/ | ||
The html export might not always be up to date with the models, generation is not automated (yet) | ||
## Tooling | ||
### Requirements | ||
Requirements are stored and handled as Freeplane Mindmap with Functional Safety Addon | ||
* https://www.freeplane.org/wiki/index.php/Home | ||
* https://github.com/Jochen-Kall/Safety_concept_tool | ||
### SysML modeling | ||
SysML models are done with Eclipse Papyrus with SysML v1.6 Plugin | ||
* https://www.eclipse.org/papyrus/ | ||
* https://marketplace.eclipse.org/content/papyrus-sysml-16 |
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
consortium rather than consortion