SPRACZ5 December   2021 TDA4VM

 

  1.   Trademarks
  2. 1Introduction
  3. 2Enabling Thermal Shutdown Mandatory Step
  4. 3Thermal Mitigation Strategies at a High Level
    1. 3.1 Strategy 1: Auditing the Power Domains That Contribute to the Highest Power Consumption
    2. 3.2 Strategy 2: Disable Loading of Remote Core Firmware
    3. 3.3 Strategy 3: Disabling Modules on TDA4
      1. 3.3.1 Example: Disabling PCIe Instances on 7.3
    4. 3.4 Strategy 4: Dynamic Frequency Scaling (DFS)
    5. 3.5 Strategy 5: How to Reduce Frequency of Other Cores
  5. 4References

Strategy 2: Disable Loading of Remote Core Firmware

A simple way to disable remote cores (prevent from running) is by renaming their respective firmware:

sudo mv /media/$user/rootfs/lib/firmware/pdk-ipc/ipc_echo_test_c66xdsp_*_release_strip.xe66 /media/$user/rootfs/lib/firmware/pdk-ipc/ipc_echo_test_c66xdsp_*_release_strip.xe66_bk
sync 
reboot

To check if the above action has taken effect, run the k3conf commands, device 142 corresponds to DSP. A complete list of Device IDs can be looked up here:

root@j7-evm:~# k3conf dump device 142
142  J721E_DEV_C66SS0_CORE0 DEVICE_STATE_OFF

root@j7-evm:~# k3conf dump device 143
143 J721E_DEV_C66SS1_CORE0 DEVICE_STATE_OFF