Uploaded image for project: 'Embedded Software & Tools'
  1. Embedded Software & Tools
  2. EXT_EP-11452

SBL: Out of order disablement of firewall in HS platforms

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: High High
    • PDK
    • PDK-13293
    • PROCESSOR_SDK_09.00.00
    • PROCESSOR_SDK_09.01.00
    • Hide
      j721e-hsevm
      j7200-hsevm
      j721s2-hsevm
      j784s4-hsevm
      Show
      j721e-hsevm j7200-hsevm j721s2-hsevm j784s4-hsevm

      Issue Description :
      Firewall disabling order for HS is incorrect. First the foreground regions need to be disabled and then the background needs to be disabled.

      Rootcause :
      Firewall regions were disabled in ascending order in SBL i.e
      region0 first and then region1 .... and so on. Firewall exception can occur if background region firewall is disabled first. To avoid firewall exception, firewall should be disabled for all the foreground regions first and then disable background regions

      Resolution:
      Implemented SBL_disableFwlRegion() API which disables foreground firewall
      regions if DISABLE_BACKGROUND_REGION is passed as a function parameters and disables background firewall regions if DISABLE_FOREGROUND_REGION is passed as a function parameter. Updated firewall IDs and number of regions with the CSL macros. Separated code and data for disabling firewalls. Array of sblFwlData (which contains firewall ID and number of regions) is defined with all the firewall IDs data which needs to be disabled once tifs is loaded. First SBL_disableFwlRegion() will be called with DISABLE_FOREGROUND_REGION parameter and later
      SBL_disableFwlRegion() will be called with DISABLE_BACKGROUND_REGION
      parameter
       

            syncuser TI User
            syncuser TI User
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: