|
|
@@ -10,12 +10,12 @@ various files that can be used to configure development tools or hardware compon
|
|
|
|
|
|
\section fp_toplevel FreeMarker top-level format
|
|
|
|
|
|
-\section fm_system /fm/system element
|
|
|
+\section fm_system system element
|
|
|
|
|
|
The \ref fm_system provides the memory layout and the interrupt configuration of the complete system.
|
|
|
This information can be used for example, to create a linker script that defines the memory setup of the SoC system.
|
|
|
|
|
|
-<table class="cmtable" summary="Element: zone">
|
|
|
+<table class="cmtable" summary="Element: system">
|
|
|
<tr>
|
|
|
<th>Child Elements</th>
|
|
|
<th>Description</th>
|
|
|
@@ -26,19 +26,36 @@ This information can be used for example, to create a linker script that defines
|
|
|
<td>A sequence of all memory regions available in the system resource file.</td>
|
|
|
<td>sequence</td>
|
|
|
</tr>
|
|
|
+</table>
|
|
|
+
|
|
|
+\section fm_setup_tz setup_tz element
|
|
|
+
|
|
|
+The \ref fm_setup_tz provides the setup information for the initial TrustZone-M configuration.
|
|
|
+
|
|
|
+<table class="cmtable" summary="Element: setup_tz">
|
|
|
+ <tr>
|
|
|
+ <th>Child Elements</th>
|
|
|
+ <th>Description</th>
|
|
|
+ <th>Type</th>
|
|
|
+ </tr>
|
|
|
+ <tr>
|
|
|
+ <td>\subpage fm_sau ".sau"</td>
|
|
|
+ <td>A sequence of all SAU regions for initialization.</td>
|
|
|
+ <td>sequence</td>
|
|
|
+ </tr>
|
|
|
<tr>
|
|
|
<td>\subpage fm_interrupt ".interrupt"</td>
|
|
|
<td>A sequence of all interrupt sources available.</td>
|
|
|
<td>sequence</td>
|
|
|
</tr>
|
|
|
<tr>
|
|
|
- <td>\subpage fm_irq_setup ".irq_setup"</td>
|
|
|
- <td>Contains device specific configuration for the setup of the interrupts.</td>
|
|
|
+ <td>\subpage fm_reg_setup ".reg_setup"</td>
|
|
|
+ <td>Contains the device specific configuration registers for the setup of the peripherals.</td>
|
|
|
<td>sequence</td>
|
|
|
</tr>
|
|
|
</table>
|
|
|
|
|
|
-\section fm_zone /fm/zone element
|
|
|
+\section fm_zone zone element
|
|
|
|
|
|
The \ref fm_zone provides the setup information of a zone (or system partition) along with related peripherals.
|
|
|
This information can be used for example, to create the MPU setup that is required for various execution zones along with
|
|
|
@@ -114,7 +131,7 @@ Printing a sorted list of all available memory entries by start address
|
|
|
|
|
|
/**************************************************************************************************/
|
|
|
/**
|
|
|
-\page fm_memory /fm/../memory[n] sequence element
|
|
|
+\page fm_memory ../memory[n] sequence element
|
|
|
|
|
|
The \ref fm_memory provides a sequence of memory information.
|
|
|
|
|
|
@@ -201,9 +218,14 @@ The \ref fm_memory provides a sequence of memory information.
|
|
|
|
|
|
/**************************************************************************************************/
|
|
|
/**
|
|
|
-\page fm_interrupt /fm/system/interrupt[n] sequence element
|
|
|
+\page fm_sau setup_tz/sau[n] sequence element
|
|
|
|
|
|
-The \ref fm_interrupt lists all interrupt sources available in the system.
|
|
|
+The \ref fm_sau lists all SAU regions for initialization in this system.
|
|
|
+
|
|
|
+It lists all SAU regions that require either non-secure access or non-secure callable attribute.
|
|
|
+The SAU region list is generated from:
|
|
|
+ - setup information from \ref xml_si_region
|
|
|
+ - memory regions that are assigned to zones with non-secure domain.
|
|
|
|
|
|
<table class="cmtable" summary="Element: interrupt[n]">
|
|
|
<tr>
|
|
|
@@ -211,14 +233,58 @@ The \ref fm_interrupt lists all interrupt sources available in the system.
|
|
|
<th colspan="2">Element Chain</th>
|
|
|
</tr>
|
|
|
<tr>
|
|
|
- <td>\ref fm_system "system"</td>
|
|
|
- <td colspan=3>\ref fm_system</td>
|
|
|
+ <td>\ref fm_setup_tz "setup_tz"</td>
|
|
|
+ <td colspan=3>\ref fm_setup_tz</td>
|
|
|
</tr>
|
|
|
<tr>
|
|
|
<th>Child Elements</th>
|
|
|
<th>Description</th>
|
|
|
<th>Type</th>
|
|
|
</tr>
|
|
|
+ <tr>
|
|
|
+ <td>.start</td>
|
|
|
+ <td>The logical start address for the region.</td>
|
|
|
+ <td>xs:string</td>
|
|
|
+ </tr>
|
|
|
+ <tr>
|
|
|
+ <td>.end</td>
|
|
|
+ <td>The logical end address for the region.</td>
|
|
|
+ <td>xs:string</td>
|
|
|
+ </tr>
|
|
|
+ <tr>
|
|
|
+ <td>.nsc</td>
|
|
|
+ <td>If set to 1 the region is secure, non-secure callable.</td>
|
|
|
+ <td>SecurityTypeEnum/xs:string</td>
|
|
|
+ </tr>
|
|
|
+ <tr>
|
|
|
+ <td>.info</td>
|
|
|
+ <td>List of memory regions or info from \ref xml_si_region.</td>
|
|
|
+ <td>xs:string</td>
|
|
|
+ </tr>
|
|
|
+</table>
|
|
|
+*/
|
|
|
+
|
|
|
+
|
|
|
+/**************************************************************************************************/
|
|
|
+/**
|
|
|
+\page fm_interrupt setup_tz/interrupt[n] sequence element
|
|
|
+
|
|
|
+The \ref fm_interrupt lists all interrupt sources available in the system.
|
|
|
+
|
|
|
+<table class="cmtable" summary="Element: interrupt[n]">
|
|
|
+ <tr>
|
|
|
+ <th>Parent Element</th>
|
|
|
+ <th colspan="2">Element Chain</th>
|
|
|
+ </tr>
|
|
|
+ <tr>
|
|
|
+ <td>\ref fm_setup_tz "setup_tz"</td>
|
|
|
+ <td colspan=3>\ref fm_setup_tz</td>
|
|
|
+ </tr>s
|
|
|
+ <tr>
|
|
|
+ <th>Child Elements</th>
|
|
|
+ <th>Description</th>
|
|
|
+ <th>Type</th>
|
|
|
+ </tr>
|
|
|
<tr>
|
|
|
<td>.name</td>
|
|
|
<td>The name of this interrupt.</td>
|
|
|
@@ -244,18 +310,18 @@ The \ref fm_interrupt lists all interrupt sources available in the system.
|
|
|
|
|
|
/**************************************************************************************************/
|
|
|
/**
|
|
|
-\page fm_irq_setup /fm/system/irq_setup[n] element
|
|
|
+\page fm_reg_setup setup_tz/reg_setup[n] element
|
|
|
|
|
|
-The \ref fm_irq_setup contains a sequence of device specific configuration for the setup of the interrupts.
|
|
|
+The \ref fm_reg_setup contains a sequence of device specific configuration for the setup of the interrupts.
|
|
|
|
|
|
-<table class="cmtable" summary="Element: irq_setup[n]">
|
|
|
+<table class="cmtable" summary="Element: reg_setup[n]">
|
|
|
<tr>
|
|
|
<th>Parent Element</th>
|
|
|
<th colspan="2">Element Chain</th>
|
|
|
</tr>
|
|
|
<tr>
|
|
|
- <td>\ref fm_system "system"</td>
|
|
|
- <td colspan=3>\ref fm_system</td>
|
|
|
+ <td>\ref fm_setup_tz "setup_tz"</td>
|
|
|
+ <td colspan=3>\ref fm_setup_tz</td>
|
|
|
</tr>
|
|
|
<tr>
|
|
|
<th>Child Elements</th>
|
|
|
@@ -263,7 +329,7 @@ The \ref fm_irq_setup contains a sequence of device specific configuration for t
|
|
|
<th>Type</th>
|
|
|
</tr>
|
|
|
<tr>
|
|
|
- <td>.irq</td>
|
|
|
+ <td>.peripheral</td>
|
|
|
<td>The name of the interrupt that this setup belongs too.</td>
|
|
|
<td>xs:string</td>
|
|
|
</tr>
|
|
|
@@ -298,7 +364,7 @@ The \ref fm_irq_setup contains a sequence of device specific configuration for t
|
|
|
|
|
|
/**************************************************************************************************/
|
|
|
/**
|
|
|
-\page fm_peripheral /fm/zone/peripheral[n] element
|
|
|
+\page fm_peripheral zone/peripheral[n] element
|
|
|
|
|
|
The \ref fm_peripheral contains a sequence of all peripherals that are accessible in the zone (or system partition).
|
|
|
|
|
|
@@ -376,7 +442,7 @@ The \ref fm_peripheral contains a sequence of all peripherals that are accessibl
|
|
|
|
|
|
/**************************************************************************************************/
|
|
|
/**
|
|
|
-\page fm_mpu_setup /fm/zone/mpu_setup element
|
|
|
+\page fm_mpu_setup zone/mpu_setup element
|
|
|
|
|
|
The \ref fm_mpu_setup contains the configuration information for the Memory Protection Unit (MPU).
|
|
|
|