Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 21 Feb 2018 16:16:17 -0600
From:      Kyle Evans <kevans@freebsd.org>
To:        Greg V <greg@unrelenting.technology>
Cc:        Juan Ambriz <jp_ambriz@hotmail.com>,  "freebsd-arm@freebsd.org" <freebsd-arm@freebsd.org>
Subject:   Re: No aw_thermal device on Orange Pi One
Message-ID:  <CACNAnaEZP9h1=GBp-QmUeYHgCyYmJkJ8Uuzen4ew4R3nTmOdDQ@mail.gmail.com>
In-Reply-To: <1a75717a-36a9-bda5-4c2e-dbd2e8154eff@unrelenting.technology>
References:  <BN6PR1101MB222656C4A1660EF0712E367C85CE0@BN6PR1101MB2226.namprd11.prod.outlook.com> <1a75717a-36a9-bda5-4c2e-dbd2e8154eff@unrelenting.technology>

next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, Feb 21, 2018 at 3:54 PM, Greg V via freebsd-arm
<freebsd-arm@freebsd.org> wrote:
> On 02/22/2018 00:44, Juan Ambriz wrote:
>>
>> Hi.
>>
>> Just built and image for Orange Pi One using r329366 with crochet. Using
>> the board configuration for OrangePi-Plus2E the only change made was in
>> setup.sh file to use u-boot-orangepi-one.
>>
>> Looking at old messages on the list I see that "aw_thermal0: <Allwinner
>> Thermal Sensor Controller> mem 0x1c25000-0x1c253ff" is missing.
>
> Hi. This happened because we're using device trees from upstream (Linux)
> now, and they do not have entries for the thermal sensor.
>
> I made a little work-in-progress patch:
> https://gist.github.com/myfreeweb/a6cb7261fc79977f4c1c224cfe5ca3de
> That uses the configuration proposed for Linux:
> https://lkml.org/lkml/2018/1/28/406
> But it currently fails in aw_thermal_init.
>
> And anyway, reading the sensor correctly depends on reading thermal
> calibration data, which is currently in progress:
> https://reviews.freebsd.org/D13556

This support landed independently of that review, and I failed to
update it. Very few of the -sid devices have landed in upstream FDT,
so these will need to be added as overlays for the time being.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CACNAnaEZP9h1=GBp-QmUeYHgCyYmJkJ8Uuzen4ew4R3nTmOdDQ>