ALLWINNER/h3 malfunction
Daniel Braniss
danny at cs.huji.ac.il
Sun Sep 18 14:29:40 UTC 2016
> On 18 Sep 2016, at 3:34 PM, Jared McNeill <jmcneill at invisible.ca> wrote:
>
> On Sun, 18 Sep 2016, Daniel Braniss wrote:
>
>> 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:
>
> Anything you add to the dts will be recognized if there is a driver for it -- that doesn't mean it will work.
>
> Here is an example of a thermal dt node for Allwinner H3 (note the different compatible string, base address, etc):
>
> https://github.com/jaredmcneill/freebsd/blob/allwinner-h3/sys/boot/fdt/dts/arm/orangepi-plus-2e.dts#L121
>
> 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.
>
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 ‘parse’ the sid?
the thermal sensor, I just added the a83t,, but here thing look fishy, i’ll try your h3.
remember, mine are orangepi-one
cheers,
danny
More information about the freebsd-arm
mailing list