AM6422: Configuring a Firewall

Part Number: AM6422
Other Parts Discussed in Thread: SYSCONFIG, TMDS64EVM

I am struggling configuring a firewall.

We are running with No RTOS

I am basing my code on that found in SDK 9 

Sciclient_firewallSetRegion(...) and Bootloader_socOpenFirewallRegion(...)

We have board config set as 

        .trace_dst_enables = (TISCI_BOARDCFG_TRACE_DST_UART0 |
                              TISCI_BOARDCFG_TRACE_DST_ITM |
                              TISCI_BOARDCFG_TRACE_DST_MEM),
        .trace_src_enables = (GNSS_TISCI_BOARDCFG_TRACE_SRC_PM |
                              TISCI_BOARDCFG_TRACE_SRC_RM |
                              TISCI_BOARDCFG_TRACE_SRC_SEC |
                              TISCI_BOARDCFG_TRACE_SRC_BASE |
                              TISCI_BOARDCFG_TRACE_SRC_USER |
                              TISCI_BOARDCFG_TRACE_SRC_SUPR)                              But my message are rejected by DMSC with a NAK.
Wen dumping the trace buffer, I see no exception for what causes this NAK.
 
1) Do you have an example on how to configure a firewall to prevent access by either DMSS or A53 from specific regions in MSRAM
2) MSRAM_K0 and K1 seem to be tied with boot code. is that still so when A53 is running.
 
 
  • Hello,

    If you are using the TISCI APIs to configure the firewalls in the application then the TISCI request would be rejected as the TISCI APIs for FWLs can only be used till the SBL Stage because of the Security Handover requested by SBL before self-resetting to the application.

    For firewall configuration from the application, please use the Firewall Module available in the Sysconfig.

  • Still not able to configure a firewall. As an alternative, I tried to compile the SDK example in mcu_plus_sdk_am64x_09_01_00_41\examples\drivers\sciclient\sciclient_ccs_init\am64x-evm and run it in the evaluation board TMDS64EVM and debugged using Lauterbach T32 debugger. I placed breakpoints on failure code in Bootloader_socOpenFirewalls at line 1204, 1217 and 1227 (In all failure paths).

    On running the example code, the code breaks at line 1204 having failed to change the first firewall owner 

    I dumped the memory logs from 044043000 and include the parsed output.

    Configuring trace data version to: 0x03006
    00007A
    0x63864000: Power Management: MODULE_GET(Module Get): PSC ID: 0 LPSC ID: 25 Module Use Count: 0
    0x63860001: Power Management: MODULE_GET(Module Get): PSC ID: 0 LPSC ID: 24 Module Use Count: 1
    0x64060001: Power Management: RETENTION_GET(Retention Get): LPSC ID: 0 Power domain ID: 24 Module Retention Count: 1
    0x62C10003: Power Management: PD_GET(Power Domain Get): PSC ID: 0 Power domain ID: 4 PD Usage Count: 3
    0x62C10004: Power Management: PD_GET(Power Domain Get): PSC ID: 0 Power domain ID: 4 PD Usage Count: 4
    0x64064000: Power Management: RETENTION_GET(Retention Get): LPSC ID: 0 Power domain ID: 25 Module Retention Count: 0
    0x6080007A: Power Management: CLOCK_ENABLE(Clock has been Turned ON): Clock ID: 122
    0x6000007F: Power Management: DEVICE_ON(Device has been Turned ON): Device ID: 127
    0x63860002: Power Management: MODULE_GET(Module Get): PSC ID: 0 LPSC ID: 24 Module Use Count: 2
    0x62C10005: Power Management: PD_GET(Power Domain Get): PSC ID: 0 Power domain ID: 4 PD Usage Count: 5
    0x64060002: Power Management: RETENTION_GET(Retention Get): LPSC ID: 0 Power domain ID: 24 Module Retention Count: 2
    0x6080007B: Power Management: CLOCK_ENABLE(Clock has been Turned ON): Clock ID: 123
    0x60000080: Power Management: DEVICE_ON(Device has been Turned ON): Device ID: 128
    0x63864001: Power Management: MODULE_GET(Module Get): PSC ID: 0 LPSC ID: 25 Module Use Count: 1
    0x62C10006: Power Management: PD_GET(Power Domain Get): PSC ID: 0 Power domain ID: 4 PD Usage Count: 6
    0x64064001: Power Management: RETENTION_GET(Retention Get): LPSC ID: 0 Power domain ID: 25 Module Retention Count: 1
    0x60000085: Power Management: DEVICE_ON(Device has been Turned ON): Device ID: 133
    0x63838000: Power Management: MODULE_GET(Module Get): PSC ID: 0 LPSC ID: 14 Module Use Count: 0
    0x6380C002: Power Management: MODULE_GET(Module Get): PSC ID: 0 LPSC ID: 3 Module Use Count: 2
    0x6400C002: Power Management: RETENTION_GET(Retention Get): LPSC ID: 0 Power domain ID: 3 Module Retention Count: 2
    0x62C00049: Power Management: PD_GET(Power Domain Get): PSC ID: 0 Power domain ID: 0 PD Usage Count: 73
    0x62C0004A: Power Management: PD_GET(Power Domain Get): PSC ID: 0 Power domain ID: 0 PD Usage Count: 74
    0x64038000: Power Management: RETENTION_GET(Retention Get): LPSC ID: 0 Power domain ID: 14 Module Retention Count: 0
    0x60000086: Power Management: DEVICE_ON(Device has been Turned ON): Device ID: 134
    0x6000008B: Power Management: DEVICE_ON(Device has been Turned ON): Device ID: 139
    0x63800041: Power Management: MODULE_GET(Module Get): PSC ID: 0 LPSC ID: 0 Module Use Count: 65
    0x64000041: Power Management: RETENTION_GET(Retention Get): LPSC ID: 0 Power domain ID: 0 Module Retention Count: 65
    0x63804000: Power Management: MODULE_GET(Module Get): PSC ID: 0 LPSC ID: 1 Module Use Count: 0
    0x64004000: Power Management: RETENTION_GET(Retention Get): LPSC ID: 0 Power domain ID: 1 Module Retention Count: 0
    0x62C0004B: Power Management: PD_GET(Power Domain Get): PSC ID: 0 Power domain ID: 0 PD Usage Count: 75
    0x63808000: Power Management: MODULE_GET(Module Get): PSC ID: 0 LPSC ID: 2 Module Use Count: 0
    0x64008000: Power Management: RETENTION_GET(Retention Get): LPSC ID: 0 Power domain ID: 2 Module Retention Count: 0
    0x62C0004C: Power Management: PD_GET(Power Domain Get): PSC ID: 0 Power domain ID: 0 PD Usage Count: 76
    0x6380C003: Power Management: MODULE_GET(Module Get): PSC ID: 0 LPSC ID: 3 Module Use Count: 3
    0x6400C003: Power Management: RETENTION_GET(Retention Get): LPSC ID: 0 Power domain ID: 3 Module Retention Count: 3
    0x63820003: Power Management: MODULE_GET(Module Get): PSC ID: 0 LPSC ID: 8 Module Use Count: 3
    0x64020003: Power Management: RETENTION_GET(Retention Get): LPSC ID: 0 Power domain ID: 8 Module Retention Count: 3
    0x63838001: Power Management: MODULE_GET(Module Get): PSC ID: 0 LPSC ID: 14 Module Use Count: 1
    0x64038001: Power Management: RETENTION_GET(Retention Get): LPSC ID: 0 Power domain ID: 14 Module Retention Count: 1
    0x63860003: Power Management: MODULE_GET(Module Get): PSC ID: 0 LPSC ID: 24 Module Use Count: 3
    0x64060003: Power Management: RETENTION_GET(Retention Get): LPSC ID: 0 Power domain ID: 24 Module Retention Count: 3
    0x63864002: Power Management: MODULE_GET(Module Get): PSC ID: 0 LPSC ID: 25 Module Use Count: 2
    0x64064002: Power Management: RETENTION_GET(Retention Get): LPSC ID: 0 Power domain ID: 25 Module Retention Count: 2
    0x6300004D: Power Management: PD_PUT(Power Domain Put): PSC ID: 0 Power domain ID: 0 PD Usage Count: 77
    0x63010007: Power Management: PD_PUT(Power Domain Put): PSC ID: 0 Power domain ID: 4 PD Usage Count: 7
    0x63018001: Power Management: PD_PUT(Power Domain Put): PSC ID: 0 Power domain ID: 6 PD Usage Count: 1
    0x6301C001: Power Management: PD_PUT(Power Domain Put): PSC ID: 0 Power domain ID: 7 PD Usage Count: 1
    0x63024001: Power Management: PD_PUT(Power Domain Put): PSC ID: 0 Power domain ID: 9 PD Usage Count: 1
    0x6000008C: Power Management: DEVICE_ON(Device has been Turned ON): Device ID: 140
    0x6390000B: Power Management: MODULE_GET(Module Get): PSC ID: 1 LPSC ID: 0 Module Use Count: 11
    0x6410000B: Power Management: RETENTION_GET(Retention Get): LPSC ID: 1 Power domain ID: 0 Module Retention Count: 11
    0x63908000: Power Management: MODULE_GET(Module Get): PSC ID: 1 LPSC ID: 2 Module Use Count: 0
    0x64108000: Power Management: RETENTION_GET(Retention Get): LPSC ID: 1 Power domain ID: 2 Module Retention Count: 0
    0x63904001: Power Management: MODULE_GET(Module Get): PSC ID: 1 LPSC ID: 1 Module Use Count: 1
    0x64104001: Power Management: RETENTION_GET(Retention Get): LPSC ID: 1 Power domain ID: 1 Module Retention Count: 1
    0x62D00012: Power Management: PD_GET(Power Domain Get): PSC ID: 1 Power domain ID: 0 PD Usage Count: 18
    0x6390C001: Power Management: MODULE_GET(Module Get): PSC ID: 1 LPSC ID: 3 Module Use Count: 1
    0x6410C001: Power Management: RETENTION_GET(Retention Get): LPSC ID: 1 Power domain ID: 3 Module Retention Count: 1
    0x63910001: Power Management: MODULE_GET(Module Get): PSC ID: 1 LPSC ID: 4 Module Use Count: 1
    0x64110001: Power Management: RETENTION_GET(Retention Get): LPSC ID: 1 Power domain ID: 4 Module Retention Count: 1
    0x63100013: Power Management: PD_PUT(Power Domain Put): PSC ID: 1 Power domain ID: 0 PD Usage Count: 19
    0x60800024: Power Management: CLOCK_ENABLE(Clock has been Turned ON): Clock ID: 36
    0x6080007E: Power Management: CLOCK_ENABLE(Clock has been Turned ON): Clock ID: 126
    0x60800064: Power Management: CLOCK_ENABLE(Clock has been Turned ON): Clock ID: 100
    0x6000008D: Power Management: DEVICE_ON(Device has been Turned ON): Device ID: 141
    0x63800042: Power Management: MODULE_GET(Module Get): PSC ID: 0 LPSC ID: 0 Module Use Count: 66
    0x62C0004C: Power Management: PD_GET(Power Domain Get): PSC ID: 0 Power domain ID: 0 PD Usage Count: 76
    0x64000042: Power Management: RETENTION_GET(Retention Get): LPSC ID: 0 Power domain ID: 0 Module Retention Count: 66
    0x60800025: Power Management: CLOCK_ENABLE(Clock has been Turned ON): Clock ID: 37
    0x6080007F: Power Management: CLOCK_ENABLE(Clock has been Turned ON): Clock ID: 127
    0x60800065: Power Management: CLOCK_ENABLE(Clock has been Turned ON): Clock ID: 101
    0x6000008E: Power Management: DEVICE_ON(Device has been Turned ON): Device ID: 142
    0x63800043: Power Management: MODULE_GET(Module Get): PSC ID: 0 LPSC ID: 0 Module Use Count: 67
    0x62C0004D: Power Management: PD_GET(Power Domain Get): PSC ID: 0 Power domain ID: 0 PD Usage Count: 77
    0x64000043: Power Management: RETENTION_GET(Retention Get): LPSC ID: 0 Power domain ID: 0 Module Retention Count: 67
    0x60800026: Power Management: CLOCK_ENABLE(Clock has been Turned ON): Clock ID: 38
    0x60800080: Power Management: CLOCK_ENABLE(Clock has been Turned ON): Clock ID: 128
    0x60800066: Power Management: CLOCK_ENABLE(Clock has been Turned ON): Clock ID: 102
    0x6000008F: Power Management: DEVICE_ON(Device has been Turned ON): Device ID: 143
    0x63800044: Power Management: MODULE_GET(Module Get): PSC ID: 0 LPSC ID: 0 Module Use Count: 68
    0x62C0004E: Power Management: PD_GET(Power Domain Get): PSC ID: 0 Power domain ID: 0 PD Usage Count: 78
    0x64000044: Power Management: RETENTION_GET(Retention Get): LPSC ID: 0 Power domain ID: 0 Module Retention Count: 68
    0x60800027: Power Management: CLOCK_ENABLE(Clock has been Turned ON): Clock ID: 39
    0x60800081: Power Management: CLOCK_ENABLE(Clock has been Turned ON): Clock ID: 129
    0x60800067: Power Management: CLOCK_ENABLE(Clock has been Turned ON): Clock ID: 103
    0x60000090: Power Management: DEVICE_ON(Device has been Turned ON): Device ID: 144
    0x63800045: Power Management: MODULE_GET(Module Get): PSC ID: 0 LPSC ID: 0 Module Use Count: 69
    0x62C0004F: Power Management: PD_GET(Power Domain Get): PSC ID: 0 Power domain ID: 0 PD Usage Count: 79
    0x64000045: Power Management: RETENTION_GET(Retention Get): LPSC ID: 0 Power domain ID: 0 Module Retention Count: 69
    0x60800028: Power Management: CLOCK_ENABLE(Clock has been Turned ON): Clock ID: 40
    0x60800082: Power Management: CLOCK_ENABLE(Clock has been Turned ON): Clock ID: 130
    0x60800068: Power Management: CLOCK_ENABLE(Clock has been Turned ON): Clock ID: 104
    0x60000091: Power Management: DEVICE_ON(Device has been Turned ON): Device ID: 145
    0x63800046: Power Management: MODULE_GET(Module Get): PSC ID: 0 LPSC ID: 0 Module Use Count: 70
    0x62C00050: Power Management: PD_GET(Power Domain Get): PSC ID: 0 Power domain ID: 0 PD Usage Count: 80
    0x64000046: Power Management: RETENTION_GET(Retention Get): LPSC ID: 0 Power domain ID: 0 Module Retention Count: 70
    0x608000B2: Power Management: CLOCK_ENABLE(Clock has been Turned ON): Clock ID: 178
    0x608000B9: Power Management: CLOCK_ENABLE(Clock has been Turned ON): Clock ID: 185
    0x60000092: Power Management: DEVICE_ON(Device has been Turned ON): Device ID: 146
    0x63800047: Power Management: MODULE_GET(Module Get): PSC ID: 0 LPSC ID: 0 Module Use Count: 71
    0x62C00051: Power Management: PD_GET(Power Domain Get): PSC ID: 0 Power domain ID: 0 PD Usage Count: 81
    0x64000047: Power Management: RETENTION_GET(Retention Get): LPSC ID: 0 Power domain ID: 0 Module Retention Count: 71
    0x608000C5: Power Management: CLOCK_ENABLE(Clock has been Turned ON): Clock ID: 197
    0x608000D1: Power Management: CLOCK_ENABLE(Clock has been Turned ON): Clock ID: 209
    0x608000CF: Power Management: CLOCK_ENABLE(Clock has been Turned ON): Clock ID: 207
    0x60000093: Power Management: DEVICE_ON(Device has been Turned ON): Device ID: 147
    0x6390000C: Power Management: MODULE_GET(Module Get): PSC ID: 1 LPSC ID: 0 Module Use Count: 12
    0x62D00012: Power Management: PD_GET(Power Domain Get): PSC ID: 1 Power domain ID: 0 PD Usage Count: 18
    0x6410000C: Power Management: RETENTION_GET(Retention Get): LPSC ID: 1 Power domain ID: 0 Module Retention Count: 12
    0x608000C6: Power Management: CLOCK_ENABLE(Clock has been Turned ON): Clock ID: 198
    0x608000D2: Power Management: CLOCK_ENABLE(Clock has been Turned ON): Clock ID: 210
    0x608000D0: Power Management: CLOCK_ENABLE(Clock has been Turned ON): Clock ID: 208
    0x60000094: Power Management: DEVICE_ON(Device has been Turned ON): Device ID: 148
    0x6390000D: Power Management: MODULE_GET(Module Get): PSC ID: 1 LPSC ID: 0 Module Use Count: 13
    0x62D00013: Power Management: PD_GET(Power Domain Get): PSC ID: 1 Power domain ID: 0 PD Usage Count: 19
    0x6410000D: Power Management: RETENTION_GET(Retention Get): LPSC ID: 1 Power domain ID: 0 Module Retention Count: 13
    0x60000095: Power Management: DEVICE_ON(Device has been Turned ON): Device ID: 149
    0x6390000E: Power Management: MODULE_GET(Module Get): PSC ID: 1 LPSC ID: 0 Module Use Count: 14
    0x62D00014: Power Management: PD_GET(Power Domain Get): PSC ID: 1 Power domain ID: 0 PD Usage Count: 20
    0x6410000E: Power Management: RETENTION_GET(Retention Get): LPSC ID: 1 Power domain ID: 0 Module Retention Count: 14
    0x60000096: Power Management: DEVICE_ON(Device has been Turned ON): Device ID: 150
    0x63800048: Power Management: MODULE_GET(Module Get): PSC ID: 0 LPSC ID: 0 Module Use Count: 72
    0x62C00052: Power Management: PD_GET(Power Domain Get): PSC ID: 0 Power domain ID: 0 PD Usage Count: 82
    0x64000048: Power Management: RETENTION_GET(Retention Get): LPSC ID: 0 Power domain ID: 0 Module Retention Count: 72
    0x60000097: Power Management: DEVICE_ON(Device has been Turned ON): Device ID: 151
    0x63800049: Power Management: MODULE_GET(Module Get): PSC ID: 0 LPSC ID: 0 Module Use Count: 73
    0x62C00053: Power Management: PD_GET(Power Domain Get): PSC ID: 0 Power domain ID: 0 PD Usage Count: 83
    0x64000049: Power Management: RETENTION_GET(Retention Get): LPSC ID: 0 Power domain ID: 0 Module Retention Count: 73
    0x608000B3: Power Management: CLOCK_ENABLE(Clock has been Turned ON): Clock ID: 179
    0x608000BA: Power Management: CLOCK_ENABLE(Clock has been Turned ON): Clock ID: 186
    0x60000098: Power Management: DEVICE_ON(Device has been Turned ON): Device ID: 152
    0x6380004A: Power Management: MODULE_GET(Module Get): PSC ID: 0 LPSC ID: 0 Module Use Count: 74
    0x62C00054: Power Management: PD_GET(Power Domain Get): PSC ID: 0 Power domain ID: 0 PD Usage Count: 84
    0x6400004A: Power Management: RETENTION_GET(Retention Get): LPSC ID: 0 Power domain ID: 0 Module Retention Count: 74
    0x608000B4: Power Management: CLOCK_ENABLE(Clock has been Turned ON): Clock ID: 180
    0x608000BB: Power Management: CLOCK_ENABLE(Clock has been Turned ON): Clock ID: 187
    0x60000099: Power Management: DEVICE_ON(Device has been Turned ON): Device ID: 153
    0x6380004B: Power Management: MODULE_GET(Module Get): PSC ID: 0 LPSC ID: 0 Module Use Count: 75
    0x62C00055: Power Management: PD_GET(Power Domain Get): PSC ID: 0 Power domain ID: 0 PD Usage Count: 85
    0x6400004B: Power Management: RETENTION_GET(Retention Get): LPSC ID: 0 Power domain ID: 0 Module Retention Count: 75
    0x608000B5: Power Management: CLOCK_ENABLE(Clock has been Turned ON): Clock ID: 181
    0x608000BC: Power Management: CLOCK_ENABLE(Clock has been Turned ON): Clock ID: 188
    0x6000009A: Power Management: DEVICE_ON(Device has been Turned ON): Device ID: 154
    0x6380004C: Power Management: MODULE_GET(Module Get): PSC ID: 0 LPSC ID: 0 Module Use Count: 76
    0x62C00056: Power Management: PD_GET(Power Domain Get): PSC ID: 0 Power domain ID: 0 PD Usage Count: 86
    0x6400004C: Power Management: RETENTION_GET(Retention Get): LPSC ID: 0 Power domain ID: 0 Module Retention Count: 76
    0x608000B6: Power Management: CLOCK_ENABLE(Clock has been Turned ON): Clock ID: 182
    0x608000BD: Power Management: CLOCK_ENABLE(Clock has been Turned ON): Clock ID: 189
    0x6000009B: Power Management: DEVICE_ON(Device has been Turned ON): Device ID: 155
    0x6380004D: Power Management: MODULE_GET(Module Get): PSC ID: 0 LPSC ID: 0 Module Use Count: 77
    0x62C00057: Power Management: PD_GET(Power Domain Get): PSC ID: 0 Power domain ID: 0 PD Usage Count: 87
    0x6400004D: Power Management: RETENTION_GET(Retention Get): LPSC ID: 0 Power domain ID: 0 Module Retention Count: 77
    0x608000B7: Power Management: CLOCK_ENABLE(Clock has been Turned ON): Clock ID: 183
    0x608000BE: Power Management: CLOCK_ENABLE(Clock has been Turned ON): Clock ID: 190
    0x6000009C: Power Management: DEVICE_ON(Device has been Turned ON): Device ID: 156
    0x6380004E: Power Management: MODULE_GET(Module Get): PSC ID: 0 LPSC ID: 0 Module Use Count: 78
    0x62C00058: Power Management: PD_GET(Power Domain Get): PSC ID: 0 Power domain ID: 0 PD Usage Count: 88
    0x6400004E: Power Management: RETENTION_GET(Retention Get): LPSC ID: 0 Power domain ID: 0 Module Retention Count: 78
    0x6080003E: Power Management: CLOCK_ENABLE(Clock has been Turned ON): Clock ID: 62
    0x608000DB: Power Management: CLOCK_ENABLE(Clock has been Turned ON): Clock ID: 219
    0x608000E0: Power Management: CLOCK_ENABLE(Clock has been Turned ON): Clock ID: 224
    0x608000E1: Power Management: CLOCK_ENABLE(Clock has been Turned ON): Clock ID: 225
    0x6080003A: Power Management: CLOCK_ENABLE(Clock has been Turned ON): Clock ID: 58
    0x608000C1: Power Management: CLOCK_ENABLE(Clock has been Turned ON): Clock ID: 193
    0x608000CD: Power Management: CLOCK_ENABLE(Clock has been Turned ON): Clock ID: 205
    0x60800040: Power Management: CLOCK_ENABLE(Clock has been Turned ON): Clock ID: 64
    0x60800041: Power Management: CLOCK_ENABLE(Clock has been Turned ON): Clock ID: 65
    0x60800042: Power Management: CLOCK_ENABLE(Clock has been Turned ON): Clock ID: 66
    0x60800043: Power Management: CLOCK_ENABLE(Clock has been Turned ON): Clock ID: 67
    0x60800044: Power Management: CLOCK_ENABLE(Clock has been Turned ON): Clock ID: 68
    0x60800045: Power Management: CLOCK_ENABLE(Clock has been Turned ON): Clock ID: 69
    0x6080002C: Power Management: CLOCK_ENABLE(Clock has been Turned ON): Clock ID: 44
    0x6080002D: Power Management: CLOCK_ENABLE(Clock has been Turned ON): Clock ID: 45
    0x60800005: Power Management: CLOCK_ENABLE(Clock has been Turned ON): Clock ID: 5
    0x6080000D: Power Management: CLOCK_ENABLE(Clock has been Turned ON): Clock ID: 13
    0x60800014: Power Management: CLOCK_ENABLE(Clock has been Turned ON): Clock ID: 20
    0x60800016: Power Management: CLOCK_ENABLE(Clock has been Turned ON): Clock ID: 22
    0x60800018: Power Management: CLOCK_ENABLE(Clock has been Turned ON): Clock ID: 24
    0x6080001A: Power Management: CLOCK_ENABLE(Clock has been Turned ON): Clock ID: 26
    0x6080001C: Power Management: CLOCK_ENABLE(Clock has been Turned ON): Clock ID: 28
    0x6080001E: Power Management: CLOCK_ENABLE(Clock has been Turned ON): Clock ID: 30
    0x60800020: Power Management: CLOCK_ENABLE(Clock has been Turned ON): Clock ID: 32
    0x60800021: Power Management: CLOCK_ENABLE(Clock has been Turned ON): Clock ID: 33
    0x60800022: Power Management: CLOCK_ENABLE(Clock has been Turned ON): Clock ID: 34
    0x608000C0: Power Management: CLOCK_ENABLE(Clock has been Turned ON): Clock ID: 192
    0x6000009D: Power Management: DEVICE_ON(Device has been Turned ON): Device ID: 157
    0x608000B8: Power Management: CLOCK_ENABLE(Clock has been Turned ON): Clock ID: 184
    0x608000BF: Power Management: CLOCK_ENABLE(Clock has been Turned ON): Clock ID: 191
    0x6000009E: Power Management: DEVICE_ON(Device has been Turned ON): Device ID: 158
    0x6380004F: Power Management: MODULE_GET(Module Get): PSC ID: 0 LPSC ID: 0 Module Use Count: 79
    0x62C00059: Power Management: PD_GET(Power Domain Get): PSC ID: 0 Power domain ID: 0 PD Usage Count: 89
    0x6400004F: Power Management: RETENTION_GET(Retention Get): LPSC ID: 0 Power domain ID: 0 Module Retention Count: 79
    0x600000A0: Power Management: DEVICE_ON(Device has been Turned ON): Device ID: 160
    0x6390000F: Power Management: MODULE_GET(Module Get): PSC ID: 1 LPSC ID: 0 Module Use Count: 15
    0x62D00015: Power Management: PD_GET(Power Domain Get): PSC ID: 1 Power domain ID: 0 PD Usage Count: 21
    0x6410000F: Power Management: RETENTION_GET(Retention Get): LPSC ID: 1 Power domain ID: 0 Module Retention Count: 15
    0x600000A3: Power Management: DEVICE_ON(Device has been Turned ON): Device ID: 163
    0x63808001: Power Management: MODULE_GET(Module Get): PSC ID: 0 LPSC ID: 2 Module Use Count: 1
    0x62C0005A: Power Management: PD_GET(Power Domain Get): PSC ID: 0 Power domain ID: 0 PD Usage Count: 90
    0x64008001: Power Management: RETENTION_GET(Retention Get): LPSC ID: 0 Power domain ID: 2 Module Retention Count: 1
    0x600000A4: Power Management: DEVICE_ON(Device has been Turned ON): Device ID: 164
    0x63808002: Power Management: MODULE_GET(Module Get): PSC ID: 0 LPSC ID: 2 Module Use Count: 2
    0x62C0005B: Power Management: PD_GET(Power Domain Get): PSC ID: 0 Power domain ID: 0 PD Usage Count: 91
    0x64008002: Power Management: RETENTION_GET(Retention Get): LPSC ID: 0 Power domain ID: 2 Module Retention Count: 2
    0x63D00010: Power Management: MODULE_PUT(Module Put): PSC ID: 1 LPSC ID: 0 Module Use Count: 16
    0x64500010: Power Management: RETENTION_PUT(Retention Put): LPSC ID: 1 Power domain ID: 0 Module Retention Count: 16
    0x63D08001: Power Management: MODULE_PUT(Module Put): PSC ID: 1 LPSC ID: 2 Module Use Count: 1
    0x63D04002: Power Management: MODULE_PUT(Module Put): PSC ID: 1 LPSC ID: 1 Module Use Count: 2
    0x64508001: Power Management: RETENTION_PUT(Retention Put): LPSC ID: 1 Power domain ID: 2 Module Retention Count: 1
    0x63100016: Power Management: PD_PUT(Power Domain Put): PSC ID: 1 Power domain ID: 0 PD Usage Count: 22
    0x64504002: Power Management: RETENTION_PUT(Retention Put): LPSC ID: 1 Power domain ID: 1 Module Retention Count: 2
    0x63D0C002: Power Management: MODULE_PUT(Module Put): PSC ID: 1 LPSC ID: 3 Module Use Count: 2
    0x6450C002: Power Management: RETENTION_PUT(Retention Put): LPSC ID: 1 Power domain ID: 3 Module Retention Count: 2
    0x63D10002: Power Management: MODULE_PUT(Module Put): PSC ID: 1 LPSC ID: 4 Module Use Count: 2
    0x64510002: Power Management: RETENTION_PUT(Retention Put): LPSC ID: 1 Power domain ID: 4 Module Retention Count: 2
    0x63C00050: Power Management: MODULE_PUT(Module Put): PSC ID: 0 LPSC ID: 0 Module Use Count: 80
    0x64400050: Power Management: RETENTION_PUT(Retention Put): LPSC ID: 0 Power domain ID: 0 Module Retention Count: 80
    0x63C04001: Power Management: MODULE_PUT(Module Put): PSC ID: 0 LPSC ID: 1 Module Use Count: 1
    0x64404001: Power Management: RETENTION_PUT(Retention Put): LPSC ID: 0 Power domain ID: 1 Module Retention Count: 1
    0x6300005C: Power Management: PD_PUT(Power Domain Put): PSC ID: 0 Power domain ID: 0 PD Usage Count: 92
    0x63C08003: Power Management: MODULE_PUT(Module Put): PSC ID: 0 LPSC ID: 2 Module Use Count: 3
    0x64408003: Power Management: RETENTION_PUT(Retention Put): LPSC ID: 0 Power domain ID: 2 Module Retention Count: 3
    0x63C0C004: Power Management: MODULE_PUT(Module Put): PSC ID: 0 LPSC ID: 3 Module Use Count: 4
    0x6440C004: Power Management: RETENTION_PUT(Retention Put): LPSC ID: 0 Power domain ID: 3 Module Retention Count: 4
    0x63C20004: Power Management: MODULE_PUT(Module Put): PSC ID: 0 LPSC ID: 8 Module Use Count: 4
    0x64420004: Power Management: RETENTION_PUT(Retention Put): LPSC ID: 0 Power domain ID: 8 Module Retention Count: 4
    0x63C38002: Power Management: MODULE_PUT(Module Put): PSC ID: 0 LPSC ID: 14 Module Use Count: 2
    0x64438002: Power Management: RETENTION_PUT(Retention Put): LPSC ID: 0 Power domain ID: 14 Module Retention Count: 2
    0x63C60004: Power Management: MODULE_PUT(Module Put): PSC ID: 0 LPSC ID: 24 Module Use Count: 4
    0x64460004: Power Management: RETENTION_PUT(Retention Put): LPSC ID: 0 Power domain ID: 24 Module Retention Count: 4
    0x63C64003: Power Management: MODULE_PUT(Module Put): PSC ID: 0 LPSC ID: 25 Module Use Count: 3
    0x64464003: Power Management: RETENTION_PUT(Retention Put): LPSC ID: 0 Power domain ID: 25 Module Retention Count: 3
    0x68400000: Power Management: PM_DEV_INIT(Power Management device Initialization): Device ID: 0 error_code: 0
    0x62C0005B: Power Management: PD_GET(Power Domain Get): PSC ID: 0 Power domain ID: 0 PD Usage Count: 91
    0x6402C000: Power Management: RETENTION_GET(Retention Get): LPSC ID: 0 Power domain ID: 11 Module Retention Count: 0
    0x64028000: Power Management: RETENTION_GET(Retention Get): LPSC ID: 0 Power domain ID: 10 Module Retention Count: 0
    0x6400C003: Power Management: RETENTION_GET(Retention Get): LPSC ID: 0 Power domain ID: 3 Module Retention Count: 3
    0x62C0005C: Power Management: PD_GET(Power Domain Get): PSC ID: 0 Power domain ID: 0 PD Usage Count: 92
    0x62C0005D: Power Management: PD_GET(Power Domain Get): PSC ID: 0 Power domain ID: 0 PD Usage Count: 93
    0x60000037: Power Management: DEVICE_ON(Device has been Turned ON): Device ID: 55
    0x6382C000: Power Management: MODULE_GET(Module Get): PSC ID: 0 LPSC ID: 11 Module Use Count: 0
    0x63828000: Power Management: MODULE_GET(Module Get): PSC ID: 0 LPSC ID: 10 Module Use Count: 0
    0x6380C003: Power Management: MODULE_GET(Module Get): PSC ID: 0 LPSC ID: 3 Module Use Count: 3
    0x00C20202: BasePort: Unknown Action: 0x03 MSG:0x020202
    0x00C20024: BasePort: Unknown Action: 0x03 MSG:0x020024
    0x61800202: Power Management: MSG_RECEIVED(TI-SCI message received): Message ID: 0x00000202
    0x61C00037: Power Management: MSG_PARAM_DEV_CLK_ID(TI-SCI message content: dev/clk-ids): Device ID: 55 Clock ID: 0
    0x62000000: Power Management: MSG_PARAM_VAL(TI-SCI message content: value): Target Value: 0x00000000
    0x00C20201: BasePort: Unknown Action: 0x03 MSG:0x020201
    0x00C20024: BasePort: Unknown Action: 0x03 MSG:0x020024
    0x61800201: Power Management: MSG_RECEIVED(TI-SCI message received): Message ID: 0x00000201
    0x61C0008A: Power Management: MSG_PARAM_DEV_CLK_ID(TI-SCI message content: dev/clk-ids): Device ID: 138 Clock ID: 0
    0x00C20101: BasePort: Unknown Action: 0x03 MSG:0x020101
    0x00C20024: BasePort: Unknown Action: 0x03 MSG:0x020024
    0x61800101: Power Management: MSG_RECEIVED(TI-SCI message received): Message ID: 0x00000101
    0x61C0008A: Power Management: MSG_PARAM_DEV_CLK_ID(TI-SCI message content: dev/clk-ids): Device ID: 138 Clock ID: 0
    0x00C20104: BasePort: Unknown Action: 0x03 MSG:0x020104
    0x00C20024: BasePort: Unknown Action: 0x03 MSG:0x020024
    0x61800104: Power Management: MSG_RECEIVED(TI-SCI message received): Message ID: 0x00000104
    0x61C0008A: Power Management: MSG_PARAM_DEV_CLK_ID(TI-SCI message content: dev/clk-ids): Device ID: 138 Clock ID: 0
    0x00C20100: BasePort: Unknown Action: 0x03 MSG:0x020100
    0x00C20024: BasePort: Unknown Action: 0x03 MSG:0x020024
    0x61800100: Power Management: MSG_RECEIVED(TI-SCI message received): Message ID: 0x00000100
    0x61C0008A: Power Management: MSG_PARAM_DEV_CLK_ID(TI-SCI message content: dev/clk-ids): Device ID: 138 Clock ID: 0
    0x62000000: Power Management: MSG_PARAM_VAL(TI-SCI message content: value): Target Value: 0x00000000
    0x00C2010D: BasePort: Unknown Action: 0x03 MSG:0x02010D
    0x00C20024: BasePort: Unknown Action: 0x03 MSG:0x020024
    0x6180010D: Power Management: MSG_RECEIVED(TI-SCI message received): Message ID: 0x0000010D
    0x61C0008A: Power Management: MSG_PARAM_DEV_CLK_ID(TI-SCI message content: dev/clk-ids): Device ID: 138 Clock ID: 0
    0x612D7C83: Power Management: CLOCK_SET_RATE(Clock Frequency has been changed: significand * 2^Exponent Hz): Clock ID: 131 Clock Frequency{significand}: 95 Clock Frequency{Exponent}: 22
    0x00C2010C: BasePort: Unknown Action: 0x03 MSG:0x02010C
    0x00C20024: BasePort: Unknown Action: 0x03 MSG:0x020024
    0x6180010C: Power Management: MSG_RECEIVED(TI-SCI message received): Message ID: 0x0000010C
    0x61C0008A: Power Management: MSG_PARAM_DEV_CLK_ID(TI-SCI message content: dev/clk-ids): Device ID: 138 Clock ID: 0
    0x612D7C83: Power Management: CLOCK_SET_RATE(Clock Frequency has been changed: significand * 2^Exponent Hz): Clock ID: 131 Clock Frequency{significand}: 95 Clock Frequency{Exponent}: 22
    0x612D7C83: Power Management: CLOCK_SET_RATE(Clock Frequency has been changed: significand * 2^Exponent Hz): Clock ID: 131 Clock Frequency{significand}: 95 Clock Frequency{Exponent}: 22
    0x0040000E: BasePort: TISCI_MSG_RECEIVED(TISCI Message interrupt handled): Queue ID: 0 Message ID: e
    0x00800023: BasePort: TISCI_MSG_SENDER_HOST_ID(Message from secure host received): Queue ID: 0 Host ID: 35
    0x68000000: Power Management: PM_INIT(Power Management Initialization): Result_error: 0 Result_defer: 0 startup_idx: 0 error_code: 0
    0x00C29002: BasePort: Unknown Action: 0x03 MSG:0x029002
    0x00C20024: BasePort: Unknown Action: 0x03 MSG:0x020024
    0x00C29000: BasePort: Unknown Action: 0x03 MSG:0x029000
    0x00C20024: BasePort: Unknown Action: 0x03 MSG:0x020024

    0x62C0003E: Power Management: PD_GET(Power Domain Get): PSC ID: 0 Power domain ID: 0 PD Usage Count: 62
    0x64000036: Power Management: RETENTION_GET(Retention Get): LPSC ID: 0 Power domain ID: 0 Module Retention Count: 54
    0x6000005A: Power Management: DEVICE_ON(Device has been Turned ON): Device ID: 90
    0x63800037: Power Management: MODULE_GET(Module Get): PSC ID: 0 LPSC ID: 0 Module Use Count: 55
    0x62C0003F: Power Management: PD_GET(Power Domain Get): PSC ID: 0 Power domain ID: 0 PD Usage Count: 63
    0x64000037: Power Management: RETENTION_GET(Retention Get): LPSC ID: 0 Power domain ID: 0 Module Retention Count: 55
    0x6000005B: Power Management: DEVICE_ON(Device has been Turned ON): Device ID: 91
    0x63800038: Power Management: MODULE_GET(Module Get): PSC ID: 0 LPSC ID: 0 Module Use Count: 56
    0x62C00040: Power Management: PD_GET(Power Domain Get): PSC ID: 0 Power domain ID: 0 PD Usage Count: 64
    0x64000038: Power Management: RETENTION_GET(Retention Get): LPSC ID: 0 Power domain ID: 0 Module Retention Count: 56
    0x6000005C: Power Management: DEVICE_ON(Device has been Turned ON): Device ID: 92
    0x63800039: Power Management: MODULE_GET(Module Get): PSC ID: 0 LPSC ID: 0 Module Use Count: 57
    0x62C00041: Power Management: PD_GET(Power Domain Get): PSC ID: 0 Power domain ID: 0 PD Usage Count: 65
    0x64000039: Power Management: RETENTION_GET(Retention Get): LPSC ID: 0 Power domain ID: 0 Module Retention Count: 57
    0x6000005D: Power Management: DEVICE_ON(Device has been Turned ON): Device ID: 93
    0x6380003A: Power Management: MODULE_GET(Module Get): PSC ID: 0 LPSC ID: 0 Module Use Count: 58
    0x62C00042: Power Management: PD_GET(Power Domain Get): PSC ID: 0 Power domain ID: 0 PD Usage Count: 66
    0x6400003A: Power Management: RETENTION_GET(Retention Get): LPSC ID: 0 Power domain ID: 0 Module Retention Count: 58
    0x6000005E: Power Management: DEVICE_ON(Device has been Turned ON): Device ID: 94
    0x6380003B: Power Management: MODULE_GET(Module Get): PSC ID: 0 LPSC ID: 0 Module Use Count: 59
    0x62C00043: Power Management: PD_GET(Power Domain Get): PSC ID: 0 Power domain ID: 0 PD Usage Count: 67
    0x6400003B: Power Management: RETENTION_GET(Retention Get): LPSC ID: 0 Power domain ID: 0 Module Retention Count: 59
    0x6000005F: Power Management: DEVICE_ON(Device has been Turned ON): Device ID: 95
    0x6380003C: Power Management: MODULE_GET(Module Get): PSC ID: 0 LPSC ID: 0 Module Use Count: 60
    0x62C00044: Power Management: PD_GET(Power Domain Get): PSC ID: 0 Power domain ID: 0 PD Usage Count: 68
    0x6400003C: Power Management: RETENTION_GET(Retention Get): LPSC ID: 0 Power domain ID: 0 Module Retention Count: 60
    0x60000060: Power Management: DEVICE_ON(Device has been Turned ON): Device ID: 96
    0x60000061: Power Management: DEVICE_ON(Device has been Turned ON): Device ID: 97
    0x6390C000: Power Management: MODULE_GET(Module Get): PSC ID: 1 LPSC ID: 3 Module Use Count: 0
    0x62D0000A: Power Management: PD_GET(Power Domain Get): PSC ID: 1 Power domain ID: 0 PD Usage Count: 10
    0x62D0000B: Power Management: PD_GET(Power Domain Get): PSC ID: 1 Power domain ID: 0 PD Usage Count: 11
    0x6410C000: Power Management: RETENTION_GET(Retention Get): LPSC ID: 1 Power domain ID: 3 Module Retention Count: 0
    0x60000064: Power Management: DEVICE_ON(Device has been Turned ON): Device ID: 100
    0x63900008: Power Management: MODULE_GET(Module Get): PSC ID: 1 LPSC ID: 0 Module Use Count: 8
    0x62D0000C: Power Management: PD_GET(Power Domain Get): PSC ID: 1 Power domain ID: 0 PD Usage Count: 12
    0x64100008: Power Management: RETENTION_GET(Retention Get): LPSC ID: 1 Power domain ID: 0 Module Retention Count: 8
    0x60000065: Power Management: DEVICE_ON(Device has been Turned ON): Device ID: 101
    0x63910000: Power Management: MODULE_GET(Module Get): PSC ID: 1 LPSC ID: 4 Module Use Count: 0
    0x63904000: Power Management: MODULE_GET(Module Get): PSC ID: 1 LPSC ID: 1 Module Use Count: 0
    0x64104000: Power Management: RETENTION_GET(Retention Get): LPSC ID: 1 Power domain ID: 1 Module Retention Count: 0
    0x62D0000D: Power Management: PD_GET(Power Domain Get): PSC ID: 1 Power domain ID: 0 PD Usage Count: 13
    0x62D0000E: Power Management: PD_GET(Power Domain Get): PSC ID: 1 Power domain ID: 0 PD Usage Count: 14
    0x62D0000F: Power Management: PD_GET(Power Domain Get): PSC ID: 1 Power domain ID: 0 PD Usage Count: 15
    0x64110000: Power Management: RETENTION_GET(Retention Get): LPSC ID: 1 Power domain ID: 4 Module Retention Count: 0
    0x6080000E: Power Management: CLOCK_ENABLE(Clock has been Turned ON): Clock ID: 14
    0x6080004A: Power Management: CLOCK_ENABLE(Clock has been Turned ON): Clock ID: 74
    0x60000066: Power Management: DEVICE_ON(Device has been Turned ON): Device ID: 102
    0x6380003D: Power Management: MODULE_GET(Module Get): PSC ID: 0 LPSC ID: 0 Module Use Count: 61
    0x62C00045: Power Management: PD_GET(Power Domain Get): PSC ID: 0 Power domain ID: 0 PD Usage Count: 69
    0x6400003D: Power Management: RETENTION_GET(Retention Get): LPSC ID: 0 Power domain ID: 0 Module Retention Count: 61
    0x6080000F: Power Management: CLOCK_ENABLE(Clock has been Turned ON): Clock ID: 15
    0x6080004B: Power Management: CLOCK_ENABLE(Clock has been Turned ON): Clock ID: 75
    0x60000067: Power Management: DEVICE_ON(Device has been Turned ON): Device ID: 103
    0x6380003E: Power Management: MODULE_GET(Module Get): PSC ID: 0 LPSC ID: 0 Module Use Count: 62
    0x62C00046: Power Management: PD_GET(Power Domain Get): PSC ID: 0 Power domain ID: 0 PD Usage Count: 70
    0x6400003E: Power Management: RETENTION_GET(Retention Get): LPSC ID: 0 Power domain ID: 0 Module Retention Count: 62
    0x60800010: Power Management: CLOCK_ENABLE(Clock has been Turned ON): Clock ID: 16
    0x6080004C: Power Management: CLOCK_ENABLE(Clock has been Turned ON): Clock ID: 76
    0x60000068: Power Management: DEVICE_ON(Device has been Turned ON): Device ID: 104
    0x6380003F: Power Management: MODULE_GET(Module Get): PSC ID: 0 LPSC ID: 0 Module Use Count: 63
    0x62C00047: Power Management: PD_GET(Power Domain Get): PSC ID: 0 Power domain ID: 0 PD Usage Count: 71
    0x6400003F: Power Management: RETENTION_GET(Retention Get): LPSC ID: 0 Power domain ID: 0 Module Retention Count: 63
    0x60800011: Power Management: CLOCK_ENABLE(Clock has been Turned ON): Clock ID: 17
    0x6080004D: Power Management: CLOCK_ENABLE(Clock has been Turned ON): Clock ID: 77
    0x60000069: Power Management: DEVICE_ON(Device has been Turned ON): Device ID: 105
    0x63800040: Power Management: MODULE_GET(Module Get): PSC ID: 0 LPSC ID: 0 Module Use Count: 64
    0x62C00048: Power Management: PD_GET(Power Domain Get): PSC ID: 0 Power domain ID: 0 PD Usage Count: 72
    0x64000040: Power Management: RETENTION_GET(Retention Get): LPSC ID: 0 Power domain ID: 0 Module Retention Count: 64
    0x608000C3: Power Management: CLOCK_ENABLE(Clock has been Turned ON): Clock ID: 195
    0x608000CB: Power Management: CLOCK_ENABLE(Clock has been Turned ON): Clock ID: 203
    0x6000006A: Power Management: DEVICE_ON(Device has been Turned ON): Device ID: 106
    0x63900009: Power Management: MODULE_GET(Module Get): PSC ID: 1 LPSC ID: 0 Module Use Count: 9
    0x62D00010: Power Management: PD_GET(Power Domain Get): PSC ID: 1 Power domain ID: 0 PD Usage Count: 16
    0x64100009: Power Management: RETENTION_GET(Retention Get): LPSC ID: 1 Power domain ID: 0 Module Retention Count: 9
    0x608000C4: Power Management: CLOCK_ENABLE(Clock has been Turned ON): Clock ID: 196
    0x608000CC: Power Management: CLOCK_ENABLE(Clock has been Turned ON): Clock ID: 204
    0x6000006B: Power Management: DEVICE_ON(Device has been Turned ON): Device ID: 107
    0x6390000A: Power Management: MODULE_GET(Module Get): PSC ID: 1 LPSC ID: 0 Module Use Count: 10
    0x62D00011: Power Management: PD_GET(Power Domain Get): PSC ID: 1 Power domain ID: 0 PD Usage Count: 17
    0x6410000A: Power Management: RETENTION_GET(Retention Get): LPSC ID: 1 Power domain ID: 0 Module Retention Count: 10
    0x60000077: Power Management: DEVICE_ON(Device has been Turned ON): Device ID: 119
    0x60000078: Power Management: DEVICE_ON(Device has been Turned ON): Device ID: 120
    0x60000079: Power Management: DEVICE_ON(Device has been Turned ON): Device ID: 121
    0x63860000: Power Management: MODULE_GET(Module Get): PSC ID: 0 LPSC ID: 24 Module Use Count: 0
    0x6380C001: Power Management: MODULE_GET(Module Get): PSC ID: 0 LPSC ID: 3 Module Use Count: 1
    0x6400C001: Power Management: RETENTION_GET(Retention Get): LPSC ID: 0 Power domain ID: 3 Module Retention Count: 1
    0x62C10001: Power Management: PD_GET(Power Domain Get): PSC ID: 0 Power domain ID: 4 PD Usage Count: 1
    0x62C10002: Power Management: PD_GET(Power Domain Get): PSC ID: 0 Power domain ID: 4 PD Usage Count: 2
    0x64060000: Power Management: RETENTION_GET(Retention Get): LPSC ID: 0 Power domain ID: 24 Module Retention Count: 0
    0x00000060: BasePort: INIT_COMPLETE(OSAL/Baseport init complete): MSG:0x000060

  • As you recommend, I complied the same example from mcu_plus_sdk_am64x_09_02_01_05 (examples\drivers\sciclient\sciclient_ccs_init\am64x-evm) and get the same result. In Bootloader_socOpenFirewalls when changing the first firewall owner Bootloader_socOpenFirewallRegion returns a status 0f -1 (Failure) which is what is returned by Sciclient_firewallSetRegion

    Digging further, sciclient_service returns with a response flags or 0x02 which would be TISCI_MSG_FLAG_SEC being set. Contexts is set to non secure in function Sciclient_getCurrentContext as the message type is TISIC_MSG_CHANGE_FWL_OWNER

    Again this is the unchanged example in mcu_plus_sdk_am64x_09_02_01_05 downloaded for TI web site. 

  • This is a known issue in SDK v9.1 and has been fixed since v9.2 with the following commit

    Apologies. Actually, I reported the issue on v9.2 and it was fixed in v10.1. Anyways, you can take the bootloader driver patch and it should get fixed in the SDK version you are using.

  • Still struggling with this issue. I compiled the example in SDK 12.1 sciclient_ccs_inin/am64x_evm and have it working on the TMDS64EVM board. However when I import the code from Bootloader_socOpenFirewalls() and Bootloader_socNotifyFirewallOpen() into our SBL, the TISCI messages respond with a NAK.  I fail to see why DMSC will not allow configuration of any firewall. I understand that MSRAM_K0 and MSRAM_K1 may be priviledged when running SBL, but I get the same result if I only try MSRAM_K3. I have also imported the board configurations from SDK 12.1 with the same result. What would be th cause for this issue.

    Note that I am only running on the TMDS64EVM board for either version of the code.

  • Could you please share the exact code you have in SBL for firewall configuration which is not running successfully?

  • Unfortunately, company policy prevents me from sharing code.

    I am assuming not but Is firewall ownership by DMSCdependent on any of the following: 

    • Setting board config (security or RM)
    • DPL_Init (setting timer 8 and interrupt enabling)
    • PowerClock_Init (Enabling clocks EMIF/DDR)
    • Pinmux_Init (Main/MCU domains)
    • DDR_Init
    • Empty board_init

    Other than setting board config that is pretty much all that is before Bootloader_socOpenFirewalls

  • The TISCI FWL APIs are not dependent on anything including board configurations. The default SBLs include the call to Bootloader_socOpenFirewalls which is executed successfully. How is SBL different in calling this Bootloader_socOpenFirewalls function?

    If you can not share the code on this public forum, is it possible to share privately to me through private chat or local FAE?