This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

DRA829V: Powering down SoC devices

Part Number: DRA829V
Other Parts Discussed in Thread: DRA829

Tool/software:

Hello experts,

We have a Power consumption problem with the DRA829 that I would like to resolve by shutting down
as much as possible. Our next build will have the correct version of SoC (without the DSPs and GPU),
but until then, can I shit down the power to these domains in any way.

I have read the "Jacinto 7 Thermal Management Guide" and I get this output from the top power consuming
power domains:

k3conf dump device > devdump
cat devdump | grep -E ' 202 | 203 | 124 | 140 | 4 | 16 | 140 | 141 | 243 | 244 | 48 | 290 | 144 | 153 | 249 '
| 4 | J721E_DEV_A72SS0 | DEVICE_STATE_ON |
| 16 | J721E_DEV_C71SS0_MMA | DEVICE_STATE_ON |
| 48 | J721E_DEV_DMPAC0 | DEVICE_STATE_OFF |
| 124 | J721E_DEV_GPU0 | DEVICE_STATE_ON |
| 140 | J721E_DEV_C66SS0 | DEVICE_STATE_ON |
| 141 | J721E_DEV_C66SS1 | DEVICE_STATE_ON |
| 144 | J721E_DEV_DECODER0 | DEVICE_STATE_OFF |
| 153 | J721E_DEV_ENCODER0 | DEVICE_STATE_OFF |
| 202 | J721E_DEV_A72SS0_CORE0 | DEVICE_STATE_ON |
| 203 | J721E_DEV_A72SS0_CORE1 | DEVICE_STATE_ON |
| 243 | J721E_DEV_R5FSS0 | DEVICE_STATE_ON |
| 244 | J721E_DEV_R5FSS1 | DEVICE_STATE_ON |
| 249 | J721E_DEV_MCU_R5FSS0 | DEVICE_STATE_ON |
| 290 | J721E_DEV_VPAC0 | DEVICE_STATE_OFF |

How can I turn the red items to DEVICE_STATE_OFF?

Regards,

/Bo

  • Hi Bo,

    Some of them which are on by default will not be turned off using k3conf. Can you try to remove the dts nodes & try to see if
    they can be turned on at the beginning?

    - Keerthy

  • Hi Keerthy,

    I removed the dts nodes in both U-Boot and Linux but the outcome is still as above.

    Regards,

    /Bo

  • Hi Bo,

    Can you try using k3conf?

    k3conf disable module module_num?

    Can you also double check using lsmod?

    You can try rmmod as well and see if the module gets disabled.

    Best Regards,

    Keerthy 

  • Hi Keerthy,

    No change when I issue k3conf disable device 140:

    root@AS-P-3-3401EC:~# k3conf disable device 140
    |------------------------------------------------------------------------------|
    | VERSION INFO |
    |------------------------------------------------------------------------------|
    | K3CONF | (version 0.3-nogit built Mon Jun 17 12:12:42 UTC 2024) |
    | SoC | J721E SR2.0 |
    | SYSFW | ABI: 3.1 (firmware version 0x0009 '9.1.2--v09.01.02 (Kool Koala))') |
    |------------------------------------------------------------------------------|

    |------------------------------------------------|
    | Device ID | Device Name | Device Status |
    |------------------------------------------------|
    | 140 | J721E_DEV_C66SS0 | DEVICE_STATE_ON |
    |------------------------------------------------|

    The same with all devices marked in red in the first post.

    lsmod is for kernel modules but here it is:

    root@AS-P-3-3401EC:~# lsmod
    Module Size Used by
    bridge 258048 0
    stp 16384 1 bridge
    llc 16384 2 bridge,stp
    ip6table_filter 16384 1
    ip6_tables 32768 5 ip6table_filter
    iptable_filter 16384 1
    ip_tables 32768 5 iptable_filter

    Best regards,

    /Bo

  • Hi Bo,

    Then these must be enabled by default so Software is not able to disable what it has not turned off.

    One more thing to try is if you can enable with dts and lsmod shows all the C6x and R5Fs. Finally do an rmmod of that.

    If that still shows on then we cannot do much with the current software.

    - Keeryjy

  • Hi Keerthy,

    Can you provide more precise instructions?

    What should be built as modules?

    Regards,

    /Bo

  • Hi Bo,

    By default all the r5f and c7x are loaded with firmware and from Linux side they are loaded as modules.
    rmmod ti_k3_dsp_remoteproc
    rmmod ti_k3_r5_remoteproc

    This will remove the R5F/C7x from the Linux side.

    Just worth checking if this helps disable them.

    - Keerthy