Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 18 Sep 2016 17:29:37 +0300
From:      Daniel Braniss <danny@cs.huji.ac.il>
To:        Jared McNeill <jmcneill@invisible.ca>
Cc:        Emmanuel Vadot <manu@bidouilliste.com>, arm@freebsd.org
Subject:   Re: ALLWINNER/h3 malfunction 
Message-ID:  <4F7891B0-FBD7-451C-BA42-50F872804C95@cs.huji.ac.il>
In-Reply-To: <alpine.DEB.2.11.1609180930230.641@dis.invisible.ca>
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>

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

> 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

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?

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

cheers,
	danny




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4F7891B0-FBD7-451C-BA42-50F872804C95>