Security ConfigurationΒΆ
MB1 and MB2 program most of the SCRs and firewalls in T23x. The list of SCRs/firewalls, their order, and their addresses are predetermined. The values are taken from the SCR configuration file.
Each entry in this configuration file is in the following form:
/ {
scr {
reg@<index> {
<parameter> = <value>;
};
};
};
where:
<index>
is the index of the SCR/firewall in the predefined list.<parameter>
and its <value> can be as follows:
Parameters |
Value |
---|---|
exclusion-info |
|
value |
32-bit value for the SCR register. |
Note
The values of the SCRs are programmed in the increasing order of indexes and not in the order in which they appear in the configuration file. The scr/firewalls, which are not specified in the configuration file, are locked without restricting the access to the protected registers.
The scr configuration files are in the hardware/nvidia/platform/t23x/common/bct/scr
directory.
Here is an example of the format of SCR the config file:
/dts-v1/;
/ {
scr {
reg@161 {
exclusion-info = <7>;
value = <0x3f008080>;
};
reg@162 {
exclusion-info = <4>;
value = <0x18000303>;
};
reg@163 {
exclusion-info = <4>;
value = <0x18000303>;
};
};
};
Here is the previous CFG file format:
scr.161.7 = 0x3f008080; // TKE_AON_SCR_WDTSCR0_0
scr.162.4 = 0x18000303; // DMAAPB_1_SCR_BR_INTR_SCR_0
scr.163.4 = 0x18000303; // DMAAPB_1_SCR_BR_SCR_0