Skip to content

Commit f195f55

Browse files
mwaskodeb-intel
authored andcommitted
arch: fw: sof-zephyr overview
Add overview chapter with architecture diagram that present SOF-Zephyr integration Signed-off-by: Michal Wasko <[email protected]>
1 parent ef56672 commit f195f55

File tree

5 files changed

+68
-4
lines changed

5 files changed

+68
-4
lines changed

architectures/firmware/index.rst

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ Firmware Architecture
77
:maxdepth: 1
88

99
sof-xtos/index
10+
sof-zephyr/index
1011

1112
Vendor Specific Architecture Information
1213
========================================

architectures/firmware/sof-xtos/overview.rst

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
1-
.. _overview:
1+
.. _sof-legacy-overview:
22

33
Overview
44
##########
55

6-
Currently SOF has support for the Cadence Xtensa DSP architecture in UP and SMP
6+
Currently SOF has support for the Cadence Xtensa DSP architecture in UP and SMP
77
modes in the upstream code base.
88

99
The diagram below shows the high-level firmware architecture with the
@@ -41,6 +41,6 @@ main sections:
4141
`Sound Open Firmware Architecture using Intel Bay Trail Platform`
4242

4343

44-
Each section above is well insulated from the other sections by partitioning
45-
code into separate directories and by using DSP and platform agnostic generic
44+
Each section above is well insulated from the other sections by partitioning
45+
code into separate directories and by using DSP and platform agnostic generic
4646
APIs for orchestration between the sections.
Lines changed: 42 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,42 @@
1+
@startuml
2+
allowmixing
3+
4+
scale max 1280 width
5+
6+
package "SOF" {
7+
8+
package "Application layer - user space" as APPLICATION_LAYER {
9+
component "3rd party algorithms" - private" as 3RD_PARTY_ALGOS
10+
component "Loadable libraries" as LOADABLE_COMPONENTS
11+
component "Built-in Processing components" as BUILTIN_COMPONENTS
12+
13+
BUILTIN_COMPONENTS -[hidden]right- LOADABLE_COMPONENTS
14+
LOADABLE_COMPONENTS -[hidden]right- 3RD_PARTY_ALGOS
15+
}
16+
17+
package "Kernel space" {
18+
19+
package "Media Processing Pipelines layer - kernel extension" as KERNEL_EXTENSION {
20+
component "Communication" as COMMUNICATION
21+
component "Pipelines and Component Infrastructure" as PIPELINE_COMPONENT_INFRASTRUCTURE
22+
component "AVS Scheduling" as AVS_SCHEDULERS
23+
24+
COMMUNICATION -[hidden]right- PIPELINE_COMPONENT_INFRASTRUCTURE
25+
PIPELINE_COMPONENT_INFRASTRUCTURE -[hidden]right- AVS_SCHEDULERS
26+
}
27+
28+
package "Zephyr RTOS layer" as RTOS {
29+
component "Services" as SERVICES
30+
component "SoC HAL" as SOC
31+
component "Drivers" as DRIVERS
32+
33+
SERVICES --[hidden]right-- SOC
34+
SOC --[hidden]right-- DRIVERS
35+
}
36+
37+
APPLICATION_LAYER -[hidden]down- KERNEL_EXTENSION
38+
KERNEL_EXTENSION -[hidden]down- RTOS
39+
}
40+
}
41+
42+
@enduml
Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
.. _sof-zephyr:
2+
3+
SOF with Zephyr Architecture
4+
############################
5+
6+
.. toctree::
7+
:maxdepth: 1
8+
9+
overview
Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
.. _sof-zephyr-overview:
2+
3+
Overview
4+
########
5+
6+
New SOF firmware architecture is based on Zephyr RTOS and introduce new IPC4
7+
Host protocol ABI. In result FW has been re-organized into layers. The
8+
interaction between the components across the layers is limited to the
9+
internally defined interfaces.
10+
11+
.. uml:: images/overview_diagram.pu
12+
:caption: SOF with Zephyr Architecture overview

0 commit comments

Comments
 (0)