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 shutdown issue

Part Number: AM5728


Tool/software: Linux

Hi all,

I am facing a problem that the custom board we made will power down while only vip and hdmi module is used.The specific situation is i use the following command to show the video that i captured from VIP(vin4a).The PLSDK is ti-processor-sdk-linux-am57xx-evm-04.00.00.04.

gst-launch-1.0 v4l2src device=/dev/video2 io-mode=4 ! 'video/x-raw, \
format=(string)YUY2, width=(int)1280, height=(int)720' ! vpe num-input-buffers=8 ! queue ! waylandsink

After the board is running about 20 minutes,the system will power down itself due to the high temperature of CPU,I've checked the freq of the CPU which is 1GHz,I also measure the temperature of the CPU which is highest 90 C.Following is the shutting down log board shows:

root@am57xx-evm:/sys/devices/system/cpu# gst-launch-1.0 v4l2src device=/dev/video2 io-mode=4 ! 'video/x-raw, \
format=(string)YUY2, width=(int)1280, height=(int)720' ! vpe num-input-buffers=8 ! queue ! waylandsink
Setting pipeline to PAUSED ...
Pipeline is live and does not need PREROLL ...
Setting pipeline to PLAYING ...
New clock: GstSystemClock
[ 1063.762343] success
[ 1161.122618] thermal thermal_zone4: critical temperature reached(105 C),shutting down

Broadcast message from systemd-journald@am57xx-evm (Mon 2017-11-20 03:13:33 UTC):

kernel[606]: [ 1161.122618] thermal thermal_zone4: critical temperature reached(105 C),shutting down

[ OK ] Stopped Setup Virtual Console.
Stopping Update UTMP about System Boot/Shutdown...
Stopping Save/Restore Sound Card State...
Stopping TI MultiCore Stopping Session c1 of user root.
Stopping Load/Save Random Seed...
Stopping Network Time Synchronization...
[ OK ] Stopped target Multi-User System.
Stopping Lightning Fast Webserver With Light System Requirements...
Stopping thermal-zone-init.service...
[ 1161.361915] thermal thermal_zone4: critical temperature reached(105 C),shutting down
Stopping System Logging Service...

Broadcast message from systemd-journald@am57xx-evm (Mon 2017-11-20 03:13:34 UTC):

kernel[606]: [ 1161.361915] thermal thermal_zone4: critical temperature reached(105 C),shutting down

Stopping Simple Network Management Protocol (SNMP) Daemon....
[ OK ] Stopped target Login Prompts.
Stopping Serial Getty on ttyS2...
Stopping Telephony service...
Stopping strongSwan IPsec IKEv1/IKEv2 daemon using ipsec.conf...
Stopping Avahi mDNS/DNS-SD Stack...
[ OK ] Stopped target Sound Card.
Stopping Load/Save Screen Backlight...htness of backlight:backlight...
Stopping Network Name Resolution...
Stopping Kernel Logging Service...
[ OK ] Closed Load/Save RF Kill Switch Status /dev/rfkill Watch.
Stopping Getty on tty1...
[ OK ] Stopped Network Time Synchronization.
[ OK ] Stopped Telephony service.
[ OK ] Stopped Avahi mDNS/DNS-SD Stack.
[ OK ] Stopped System Logging Service.
[ OK ] Stopped TI MultiCore Tools Daemon.
[ OK ] Stopped Kernel Logging Service.
[ OK ] Stopped strongSwan IPsec IKEv1/IKEv2 daemon using ipsec.conf.
[ OK ] Stopped Simple Network Management Protocol (SNMP) Daemon..
[ OK ] Stopped Network Name Resolution.
[ OK ] Stopped Getty on tty1.
[ OK ] Stopped Serial Getty on ttyS2.
[ OK ] Stopped Lightning Fast Webserver With Light System Requirements.
[ OK ] Stopped Save/Restore Sound Card State.
[ OK ] Stopped Load/Save Random Seed.
[ OK ] Stopped Session c1 of user root.
[ OK ] Stopped thermal-zone-init.service.
[ OK ] Stopped Load/Save Screen Backlight Brightness of backlight:backlight.
[ OK ] Stopped Update UTMP about System Boot/Shutdown.
[ OK ] Removed slice system-systemd\x2dbacklight.slice.
Stopping matrix-gui-2.0.service...
[ OK ] Removed slice User Slice of root.
Stopping Login Service...
[ OK ] Removed slice system-serial\x2dgetty.slice.
[ OK ] Removed slice system-getty.slice.
Stopping Permit User Sessions...
[ OK ] Stopped Create Volatile Files and Directories.
[ OK ] Stopped target Local File Systems.
Unmounting /run/media/mmcblk1p1...
Unmounting /run/user/0...
Unmounting /media/ram...
Unmounting /var/volatile...
[ OK ] Stopped Remount Root and Kernel File Systems.
[ OK ] Stopped Login Service.
[ OK ] Stopped matrix-gui-2.0.service.
[ OK ] Stopped Permit User Sessions.
[ OK ] Unmounted /run/media/mmcblk1p1.
[ OK ] Unmounted /run/user/0.
[ OK ] Unmounted /media/ram.
[FAILED] Failed unmounting /var/volatile.
[ OK ] Stopped target Network.
Stopping Network Service...
Stopping gdbserverproxy.service...
[ OK ] Stopped gdbserverproxy.service.
Stopping rng-tools.service...
[ OK ] Stopped Network Service.
[ OK ] Stopped rng-tools.service.
Stopping thttpd.service...
Stopping D-Bus System Message Bus...
[ OK ] Stopped D-Bus System Message Bus.
[ OK ] Stopped thttpd.service.
Stopping telnetd.service...
Stopping tiipclad-daemon.service...
[ OK ] Stopped telnetd.service.
[ OK ] Stopped tiipclad-daemon.service.
Stopping weston.service...
[ OK ] Stopped weston.service.
Stopping rc.pvr.service...
[ OK ] Stopped target Remote File Systems.
[ OK ] Stopped rc.pvr.service.
Stopping uim-sysfs.service...
[ OK ] Stopped uim-sysfs.service.
[ OK ] Stopped target Basic System.
Unmounting Temporary Directory...
[ OK ] Stopped target Slices.
[ OK ] Removed slice User and Session Slice.
[ OK ] Stopped target Paths.
[ OK ] Stopped Dispatch Password Requests to Console Directory Watch.
[ OK ] Stopped Forward Password Requests to Wall Directory Watch.
[ OK ] Stopped target Sockets.
[ OK ] Closed Syslog Socket.
[ OK ] Closed RPCbind Server Activation Socket.
[ OK ] Closed D-Bus System Message Bus Socket.
[ OK ] Closed dropbear.socket.
[ OK ] Closed Avahi mDNS/DNS-SD Stack Activation Socket.
[ OK ] Reached target Shutdown.
[ 1165.165580] systemd-shutdow: 30 output lines suppressed due to ratelimiting
[ 1165.178509] systemd-shutdown[1]: Sending SIGTERM to remaining processes...
[ 1165.199062] systemd-journald[118]: Received SIGTERM from PID 1 (systemd-shutdow).
[ 1175.202239] systemd-shutdown[1]: Sending SIGKILL to remaining processes...
[ 1175.218433] systemd-shutdown[1]: Sending SIGKILL to PID 919 (rngd).
[ 1175.227758] systemd-shutdown[1]: Unmounting file systems.
[ 1175.233753] systemd-shutdown[1]: Remounting '/var/volatile' read-only with options 'size=51200k'.
[ 1175.242767] systemd-shutdown[1]: Unmounting /var/volatile.
[ 1175.280261] systemd-shutdown[1]: Remounting '/tmp' read-only with options ''.
[ 1175.287472] systemd-shutdown[1]: Unmounting /tmp.
[ 1175.340563] systemd-shutdown[1]: Remounting '/' read-only with options 'data=ordered'.
[ 1175.379109] EXT4-fs (mmcblk1p2): re-mounted. Opts: data=ordered
[ 1175.392271] systemd-shutdown[1]: Remounting '/' read-only with options 'data=ordered'.
[ 1175.405634] EXT4-fs (mmcblk1p2): re-mounted. Opts: data=ordered
[ 1175.411681] systemd-shutdown[1]: Remounting '/' read-only with options 'data=ordered'.
[ 1175.419668] EXT4-fs (mmcblk1p2): re-mounted. Opts: data=ordered
[ 1175.500039] reboot: Power down

What maybe the cause?and is there any change I could make in either software or hardware?

Looking forward to some insights.

BR n Thanks in advance

  • This is probably a hardware issue. Please see processors.wiki.ti.com/.../AM57x_Thermal_Considerations Try placing a heatsink on the processor to see if the issue goes away.
  • Hi Biser,
    I have read this site before,and I want to know the specific reason in hardware cause this issue.Even if i don't run anything in Linux,the temperature is going up continuously,after like 20 minutes,the temp is reaching 65 c,is that the reason of CPU itself?or there maybe another reason.The board size is 7 *5.5cm,and the pic of our board is attached .

  • Boycchi,

    Please refer to the following section from the Data Manual and the linked documents for a better understanding of the thermal issues:

    8.5 Thermal Solution Guidance
    The Thermal Design Guide for DSP and ARM Application Processors Application Report (SPRABI3)
    available from www.ti.com/.../sprabi3 and the AM572x Thermal Considerations Application
    Report (SPRAC53) available from www.ti.com/.../sprac53 provide guidance for successful
    implementation of a thermal solution for system designs that contain an AM57xx application processor.
    They provide background information on common terms and methods related to thermal solutions. Test
    data and thermal calculations are also provided for a sample design. TI supports only designs that follow
    the system design guidelines contained in the application reports. Devices must be operated within their
    rated temperature ranges at all times to maintain proper function and rated Power On Hours.

    You may need to perform thermal modeling to better understand the power dissipation of your small board and to determine the thermal dissipation solution needed.

    Tom

  • Hello Boycchi,

    I'm also facing same issue, please find the attached snap shot.

    Currently using ti-processor-sdk-linux-am57xx-evm-04.02.00.09 version. Please guide what need to be consider, i'm using lcd interface also in our custom board design with heat sink.

    Thanks,

    Chandrashekar

  • Chandrashekar,

    What additional guidance do you need beyond the 2 documents referenced above?  You must plan for heat dissipation in your product.  Linux throttling will not be sufficient in all cases.

    Tom