The subsystem definition is important for the PLM to:
Identify a subsystem by its ID
Track the access permission of various peripheral for the subsystem
Make sure the pre-alloced peripherals are available when the subsystem is loaded.
Enable healthy boot monitoring for the subsystem.
The TRD defines two subsystems, APU Subsystem running Linux on SMP Cortex A72 cores and RPU Subsystem running standalone application on Lock-Step Cortex R5 cores.
Following tables describe examples of some peripheral/device permission for APU and RPU subsystems, respectively, in this TRD:
APU Subsystem Management |
||
|---|---|---|
Device |
Requested (Pre-alloced) |
Access Permission Flags |
Swdt_fpd |
No |
Time-shared |
DDR_0 |
No |
Time-shared |
HB_MON_0 |
Yes |
Non-shared |
APU Subsystem Peripheral |
||
|---|---|---|
Device |
Requested (Pre-alloced) |
Access Permission Flags |
Uart_0 |
No |
None |
Uart_1 |
No |
Time-shared |
I2C0 |
No |
None |
I2C1 |
No |
None |
SPI0 |
No |
Non-shared |
SPI1 |
No |
Non-shared |
OSPI |
No |
Non-shared |
QSPI |
Yes |
None |
SD_eMMC0 |
Yes |
None |
SD_eMMC1 |
Yes |
None |
Gem_0 |
Yes |
Non-shared |
Gem_1 |
Yes |
Non-shared |
RPU Subsystem Management |
||
|---|---|---|
Device |
Requested (Pre-alloced) |
Access Permission Flags |
Swdt_lpd |
No |
Time-shared |
PMC_RTC |
No |
None |
HB_MON_1 |
Yes |
Non-shared |
RPU Subsystem Peripheral |
||
|---|---|---|
Device |
Requested (Pre-alloced) |
Access Permission Flags |
Uart_0 |
No |
None |
Uart_1 |
Yes |
Time-shared |
I2C0 |
No |
None |
I2C1 |
No |
None |
QSPI |
No |
None |
SD_eMMC0 |
No |
None |
SD_eMMC1 |
No |
None |
Detail subsystem definition is available in the sources under hw/common/subsystem.cdo file.
Note
Uart_0 is set to have None access permission as it is being shared with plm for initial boot messages.
Note
Access permissions will be enforced both by hardware (using protection units) and software (using plm and pm permissions).
Note
The location and size of image store is also included.