AnsweredAssumed Answered

Replacing the LS1043ARDB RTC and TA_BB_RTC using an off SoC RTC will break the TrustZone WDOG?

Question asked by Tracy Smith on Mar 23, 2017
Latest reply on Mar 24, 2017 by alexander.yakovlev

Replacing the LS1043ARDB RTC and TA_BB_RTC using an off SoC RTC will break the TrustZone WDOG?

 

Note on the LS1043ARDB the WDOG receives a clock which is the Ored version of the TA_BB_RTC and RTC.  See the LS1043A RM Fig. 4-7 below for the clock subsystem block diagram.  On the LS1043ARDB the 32 KHx clock is applied to both inputs TA_BB_RTC and RTC. The WDOG monitors internal system operation and forces a reset in case of failure. It operates on RTC 32 KHz clock. The number of instances supported in LS1043A are five. Out of five WDOGs, one is dedicated for Trustzone support and other four are for each A53 core(one for each core in the cluster). LS1043ARDB RM

 

31.4.6 TrustZone Watchdog (TrustZone WDOG) LS1043 RM p. 2033
The TrustZone WDOG is an additional watchdog timer instance. The TrustZone WDOG protects against TZ non-secure world software preventing a switch back to the Secure World, thereby starving security services of access to GPP resources. Once the TrustZone WDOG is activated, it must be serviced by TZ secure world software on a periodic basis. If servicing does not take place before the configured time-out, the TrustZone WDOG asserts a secure interrupt that forces a switch to the Secure World. If it is still not served, the TrustZone WDOG asserts a security violation alarm. The TrustZone WDOG cannot be programmed or deactivated from TZ non-secure world. The TrustZone WDOG requires a non-gateable clock source, and should be capable of counting up to 256 seconds. It may sleep during deep-sleep modes.

 

 

Outcomes