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.

Linux/AM5728: Thermal issue

Part Number: AM5728
Other Parts Discussed in Thread: TMP102

Tool/software: Linux

Hi,

We had a problem recently when booting the linux.

[ 4.510291] thermal thermal_zone5: critical temperature reached(112 C),shutting down
[ 4.518152] tmp102 0-0048: initialized
[ 4.521960] reboot: Failed to start orderly shutdown: forcing the issue
[ 4.528713] Emergency Sync complete
[ 4.534168] reboot: Power down

I try to check freq of cpu:cat /sys/devices/system/cpu/cpu0/cpufreq/scaling_cur_freq

But there is no file "cpufreq" in cpu0

Our app is using dual-a15 cores.So we want to disable iva and gpu to reducing power consumption.

  • Hi,
    I check :processors.wiki.ti.com/.../Linux_Core_Power_Management_User's_Guide_(v4.4)
    I 've successfully done "cat /sys/devices/system/cpu/cpu0/cpufreq/scaling_cur_freq"
    Now how can I disable iva and gpu to reducing power consumption?
  • Hi Bulabula,

    For how to disable unused cores (IVA, GPU), refer to the below e2e threads:

    e2e.ti.com/.../655090
    e2e.ti.com/.../573444

    Regards,
    Pavel
  • Hi,
    Thanks,Pavel.
    I know how to stop dsp , iva , gpu in linux kernel(in dts).
    Another question is how to do that in uboot ?
  • Hi,Pavel
    Could we config the critical temperature more than 90 .And what is the max temperture , 125 ?
    &cpu_alert0 {
    temperature = <80000>; /* milliCelsius */
    };

    &cpu_crit {
    temperature = <90000>; /* milliCelsius */
    };

    &gpu_crit {
    temperature = <90000>; /* milliCelsius */
    };

    &core_crit {
    temperature = <90000>; /* milliCelsius */
    };

    &dspeve_crit {
    temperature = <90000>; /* milliCelsius */
    };

    &iva_crit {
    temperature = <90000>; /* milliCelsius */
    };
  • bulabula_yan said:
    Another question is how to do that in uboot ?

    DSP1, DSP2, IVA and GPU are disabled (stopped) by default in AM57x TI PSDK v4.03 u-boot-2017.01

    You can verify that checking the below registers values in the u-boot prompt:

    DSP1:

    CM_DSP1_CLKSTCTRL
    CM_DSP1_DSP1_CLKCTRL
    PM_DSP1_PWRSTCTRL
    PM_DSP1_PWRSTST

    DSP2:

    CM_DSP2_CLKSTCTRL
    CM_DSP2_DSP2_CLKCTRL
    PM_DSP2_PWRSTCTRL
    PM_DSP2_PWRSTST

    IVA:

    CM_IVA_CLKSTCTRL
    CM_IVA_IVA_CLKCTRL
    CM_IVA_SL2_CLKCTRL
    PM_IVA_PWRSTCTRL
    PM_IVA_PWRSTST

    GPU:

    CM_GPU_CLKSTCTRL
    CM_GPU_GPU_CLKCTRL
    PM_GPU_PWRSTCTRL
    PM_GPU_PWRSTST

    Regards,
    Pavel

  • bulabula_yan said:
    Could we config the critical temperature more than 90 .And what is the max temperture , 125 ?
    &cpu_alert0 {
    temperature = <80000>; /* milliCelsius */
    };

    &cpu_crit {
    temperature = <90000>; /* milliCelsius */
    };

    &gpu_crit {
    temperature = <90000>; /* milliCelsius */
    };

    &core_crit {
    temperature = <90000>; /* milliCelsius */
    };

    &dspeve_crit {
    temperature = <90000>; /* milliCelsius */
    };

    &iva_crit {
    temperature = <90000>; /* milliCelsius */
    };

    There are two temperature type of AM572x devices: commercial (max temp is 90C) and extended/industrial (max temp is 105C). For more details refer to AM572x DM, sections:

    9.1.2 Device Naming Convention - FIELD PARAMETER T

    5.3 Power on Hours (POH) Limits

    Table 5-4. Recommended Operating Conditions - Operating junction temperature range

    Regards,
    Pavel