MB2 BCT Misc Configuration#
This section provides additional information about the MB2 BCT Misc configuration file.
MB2 Feature Fields#
The following table lists the Boolean flags that enable or disable functionality in MB2:
Field |
Description |
---|---|
|
If this property is present and set to |
|
If this property is present and set to |
|
If this property is present and set to |
|
If this property is present and set to |
MB2 Firmware Data#
The MB2 firmware configuration is applied in the following way:
/ {
mb2-misc {
auxp_controls {
socket@0 {
/* Control fields for AON cluster. */
auxp_controls@<firmware-number> {
<parameter> = <value>;
};
};
};
};
};
firmware-number
is one of the following types:
0
:aon-fw
1
:rce-fw
3
:dce-fw
4
:ape-fw
5
:ape1-fw
6
:fsi-fw
<parameter>
is one of the parameters from the following table:
Parameters |
Description |
---|---|
|
If this parameter is present and set to |
|
If this parameter is present and set to |
|
If this parameter is present and set to |
|
Start VA of the firmware. |
The MB2 firmware AST configuration is applied in the following way:
/ {
mb2-misc {
auxp_ast_config {
socket@0 {
auxp_ast_config@<ast_type> {
streamid-0 = <value1>;
streamid-1 = <value2>;
...
streamid-N = <valueN>;
default_carveout_id = <0x0>;
default_snoop = <snoop_value>;
matcherrctrl = <matcherrctrl_value>;
ast_region@<region_number> {
enable = <enable_value>;
carveout = <carveout_id>;
va = <va_value>;
physical = <physical_value>;
vm_index = <vm_index_value>;
aperture_id = <aperture_id_value>;
snoop = <snoop_value>;
pa = <64_bit_hex_value_as_two_seperate_32_bit_values_sepatated_by_space>;
size = <32_bit_hex_value>;
};
};
};
};
};
};
<region_number>
takes values 0–31.
<ast_type>
is one of the parameters from the following table:
AST Type |
Value |
AON CPU |
0 |
AON IDMA |
1 |
RCE CPU |
2 |
DCE CPU |
4 |
APE CPU0 |
5 |
APE CPU0 DMA |
6 |
APE CPU1 (APE1 CPU) |
7 |
APE CPU1 DMA (APE1 DMA) |
8 |
APE ADMA |
9 |
APE ASRC |
10 |
FSI R5 CHSM |
11 |
FSI R52 CPU0 |
12 |
FSI R52 CPU1 |
13 |
FSI R52 CPU2 |
14 |
FSI R52 CPU3 |
15 |
Parameters |
Description |
---|---|
streamid-0 .. streamid-N |
Stream IDs assigned to the firmware. |
default_carveout_id |
Specifies the MC carveout ID (GSC-ID) for default accesses. |
default_snoop |
Specifies whether default accesses snoop the Main CPU caches. |
matcherrctrl |
|
enable |
Specifies whether to enable the region translation. |
carveout |
Carveout ID to be mapped in the AST region. |
va |
Virtual address to be mapped in the AST region. |
physical |
Specifies whether the AST region physically accesses the target address space and bypasses SMMU. |
vm_index |
Specifies the virtual machine index used to select the stream ID when |
aperture_id |
Specifies the MC carveout ID (GSC-ID) for the region. |
snoop |
Specifies whether the region snoops the Main CPU caches. |
pa |
Physical address to be mapped in the AST region (such as |
size |
Size of the AST region in bytes (such as |
The following is an example of the MB2 Misc DTS configuration file:
/dts-v1/;
#include "tegra264-mb2-bct-common.dtsi"
/ {
mb2-misc {
auxp_controls {
socket@0 {
/* Control fields for AON cluster. */
auxp_controls@0 {
enable_init = <1>;
enable_fw_load = <1>;
};
};
};
};
};