Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 19 Sep 2016 10:29:17 +0300
From:      Daniel Braniss <danny@cs.huji.ac.il>
To:        Jared McNeill <jmcneill@invisible.ca>
Cc:        arm@freebsd.org
Subject:   Re: ALLWINNER/h3 malfunction 
Message-ID:  <08E5651B-A28E-4BE8-803B-650CD2434979@cs.huji.ac.il>
In-Reply-To: <4F7891B0-FBD7-451C-BA42-50F872804C95@cs.huji.ac.il>
References:  <B11041B2-0EDD-4E20-8684-CB471C17D81B@cs.huji.ac.il> <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> <alpine.DEB.2.11.1609180930230.641@dis.invisible.ca> <4F7891B0-FBD7-451C-BA42-50F872804C95@cs.huji.ac.il>

next in thread | previous in thread | raw e-mail | index | archive | help

> On 18 Sep 2016, at 17:29, Daniel Braniss <danny@cs.huji.ac.il> wrote:
>=20
>>=20
>> On 18 Sep 2016, at 3:34 PM, Jared McNeill <jmcneill@invisible.ca> =
wrote:
>>=20
>> On Sun, 18 Sep 2016, Daniel Braniss wrote:
>>=20
>>> I couldn?t find any orange-one.dts, so I?m using the one I created,
>>> adding the a83t-sid and a83t-ts got both recognized:
>>=20
>> Anything you add to the dts will be recognized if there is a driver =
for it -- that doesn't mean it will work.
>>=20
>> Here is an example of a thermal dt node for Allwinner H3 (note the =
different compatible string, base address, etc):
>>=20
>> =
https://github.com/jaredmcneill/freebsd/blob/allwinner-h3/sys/boot/fdt/dts=
/arm/orangepi-plus-2e.dts#L121
>>=20
>> Your best bet is to merge any changes from that file into your own =
(working) dts. Copying from other SoCs dts files often doesn't work.
>>=20
>=20
> the first thing I did was to add code to aw_sid.c so that sun8i-h3-sid =
would be processed - according to
> the docs, a83t and h3 are the same wrt sid. from the results it seems =
that the sid is indeed
> different on my 2 boards, and share some bits, do you know how to =
=E2=80=98parse=E2=80=99 the sid?
>=20
> the thermal sensor, I just added the a83t,, but here thing look fishy, =
i=E2=80=99ll try your h3.
> remember, mine are orangepi-one


modified my orange-one.dts with your mods, and now
the cpu is at a cool 37C!

thanks!
	danny





Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?08E5651B-A28E-4BE8-803B-650CD2434979>