From owner-freebsd-arm@freebsd.org Mon Nov 21 11:53:26 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 459EBC4D245 for ; Mon, 21 Nov 2016 11:53:26 +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 C1189CBA for ; Mon, 21 Nov 2016 11:53:25 +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 1c8n2e-000G0I-G3; Mon, 21 Nov 2016 13:45:44 +0200 From: Daniel Braniss Message-Id: Mime-Version: 1.0 (Mac OS X Mail 10.1 \(3251\)) Subject: Re: aw_thermal breakage on Allwinner H3 SoC Date: Mon, 21 Nov 2016 13:45:44 +0200 In-Reply-To: <20161120141305.27d20efc@zeta.dino.sk> Cc: Jared McNeill , freebsd-arm@freebsd.org To: Milan Obuch References: <20161024165820.16e6dd6f@zeta.dino.sk> <20161025180314.38ea1e96@zeta.dino.sk> <20161025202609.0958c55d@zeta.dino.sk> <20161025213913.310b502e@zeta.dino.sk> <20161120141305.27d20efc@zeta.dino.sk> X-Mailer: Apple Mail (2.3251) Content-Type: text/plain; charset=us-ascii 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: Mon, 21 Nov 2016 11:53:26 -0000 > On 20 Nov 2016, at 15:13, Milan Obuch wrote: >=20 > On Sat, 19 Nov 2016 11:03:09 -0400 (AST) > Jared McNeill > = wrote: >=20 >> On Tue, 25 Oct 2016, Milan Obuch wrote: >>=20 >>> One more observation: booting verbose shows following >>> aw_thermal0: mem >>> 0x1c25000-0x1c253ff irq 29 on simplebus0 aw_thermal0: #0: alarm 42C >>> hyst 15C shut 65C >>>=20 >>> which is for me wrong - shutdown temperature 65 degrees is >>> unacceptably low. =20 >>=20 >> In r308833 I've increased the shutdown temperature to 105 as well as=20= >> adjusted the temperature conversion formulas to match the BSP. Along >> with that, I've bumped the alarm threshold to 90C. It's working well >> on the two different H3 boards I have, can you give it a shot? >>=20 >> Cheers, >> Jared >=20 > Hi, >=20 > I build new kernel using svn revision 308866, now it changed to >=20 > aw_thermal0: mem = 0x1c25000-0x1c253ff irq 29 on simplebus0 > aw_thermal0: #0: alarm 90C hyst 15C shut 105C >=20 > so I will try to put some load on it. This should lead to higher > temperatures, currently I have 67 degrees. I am interested in longer > lasting load... >=20 > Thanks for notice. >=20 > Regards, > Milan tried on a orange pi one and all seems ok now. thanks, danny