aw_thermal breakage on Allwinner H3 SoC

Daniel Braniss danny at cs.huji.ac.il
Mon Nov 21 11:53:26 UTC 2016


> On 20 Nov 2016, at 15:13, Milan Obuch <freebsd-arm at dino.sk> wrote:
> 
> On Sat, 19 Nov 2016 11:03:09 -0400 (AST)
> Jared McNeill <jmcneill at invisible.ca <mailto:jmcneill at invisible.ca>> wrote:
> 
>> On Tue, 25 Oct 2016, Milan Obuch wrote:
>> 
>>> One more observation: booting verbose shows following
>>> aw_thermal0: <Allwinner Thermal Sensor Controller> mem
>>> 0x1c25000-0x1c253ff irq 29 on simplebus0 aw_thermal0: #0: alarm 42C
>>> hyst 15C shut 65C
>>> 
>>> which is for me wrong - shutdown temperature 65 degrees is
>>> unacceptably low.  
>> 
>> In r308833 I've increased the shutdown temperature to 105 as well as 
>> 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?
>> 
>> Cheers,
>> Jared
> 
> Hi,
> 
> I build new kernel using svn revision 308866, now it changed to
> 
> aw_thermal0: <Allwinner Thermal Sensor Controller> mem 0x1c25000-0x1c253ff irq 29 on simplebus0
> aw_thermal0: #0: alarm 90C hyst 15C shut 105C
> 
> 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...
> 
> Thanks for notice.
> 
> Regards,
> Milan

tried on a orange pi one and all seems ok now.

thanks,
	danny




More information about the freebsd-arm mailing list