From owner-freebsd-arm@freebsd.org Wed Sep 21 11:13:16 2016 Return-Path: Delivered-To: freebsd-arm@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 077FEBE2F52 for ; Wed, 21 Sep 2016 11:13:16 +0000 (UTC) (envelope-from danny@cs.huji.ac.il) Received: from mailman.ysv.freebsd.org (unknown [127.0.1.3]) by mx1.freebsd.org (Postfix) with ESMTP id E43551888 for ; Wed, 21 Sep 2016 11:13:15 +0000 (UTC) (envelope-from danny@cs.huji.ac.il) Received: by mailman.ysv.freebsd.org (Postfix) id E38AEBE2F51; Wed, 21 Sep 2016 11:13:15 +0000 (UTC) Delivered-To: arm@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id E3344BE2F50 for ; Wed, 21 Sep 2016 11:13:15 +0000 (UTC) (envelope-from danny@cs.huji.ac.il) Received: from kabab.cs.huji.ac.il (kabab.cs.huji.ac.il [132.65.116.210]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 97AA51886 for ; Wed, 21 Sep 2016 11:13:15 +0000 (UTC) (envelope-from danny@cs.huji.ac.il) Received: from bach.cs.huji.ac.il ([132.65.81.13]) by kabab.cs.huji.ac.il with esmtp id 1bmfSg-0004T3-0a; Wed, 21 Sep 2016 14:13:10 +0300 Mime-Version: 1.0 (Mac OS X Mail 9.3 \(3124\)) Subject: Re: ALL WINNER high temp. stop From: Daniel Braniss In-Reply-To: Date: Wed, 21 Sep 2016 14:13:09 +0300 Cc: arm@freebsd.org Message-Id: <7BFD291A-E619-4DE4-9BBB-C1F40E81F12A@cs.huji.ac.il> References: <20160917171911.a2ec80da747ba373ba3d1b4a@bidouilliste.com> <5ADFE16E-FD60-45B1-8CF1-6FFC10BABBDE@cs.huji.ac.il> <20160917195544.a2a8bbdb113029700fa7642d@bidouilliste.com> <588E44BB-40BF-40B8-9C5A-BA025AB87E00@cs.huji.ac.il> <4F7891B0-FBD7-451C-BA42-50F872804C95@cs.huji.ac.il> <08E5651B-A28E-4BE8-803B-650CD2434979@cs.huji.ac.il> <01D85517-15ED-46FF-8C11-5A774EC1262F@cs.huji.ac.il> To: Jared McNeill X-Mailer: Apple Mail (2.3124) Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.23 X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 21 Sep 2016 11:13:16 -0000 > On 21 Sep 2016, at 13:49, Jared McNeill wrote: >=20 > CPU frequency scaling is supported now. Have you added operating = points to the dts? Without a heatsink or fan, you need to set a = reasonable set of operating points. >=20 > 64C does seem quite low, the thermal driver uses the power-on default = temperature for the shutdown temperature though (which should be > = 100C). >=20 > Are you sure you are using the correct compat string for the thermal = driver in your dts? Different SoCs use a different formula for reading = the temperature. I=E2=80=99m using what you sent me :-) = https://github.com/jaredmcneill/freebsd/blob/allwinner-h3/sys/boot/fdt/dts= /arm/orangepi-plus-2e.dts#L12 = >=20 > Cheers, > Jared >=20 > On Wed, 21 Sep 2016, Daniel Braniss wrote: >=20 >> hi all, >> now that there is thermal control, trying to compile e.g. from ports >> portmaster, heats up the cpu, which somewhere around 64C >> decides to halt. >> Now, I remember some weeks ago, with a kernel version >> without the thermal stuff compiling python and all went ok, >> so >> Q: what is the thermal high water mark? >> Q: are the latest changes overheating the cpu, or is the thermal = driver over >> cautious? >>=20 >> danny >>=20 >>=20 >>=20