Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 7 Sep 2018 17:46:55 +0200
From:      Emmanuel Vadot <manu@bidouilliste.com>
To:        Daniel Braniss <danny@cs.huji.ac.il>
Cc:        "freebsd-arm@freebsd.org" <arm@freebsd.org>
Subject:   Re: nanopi/allwinner h3/h5/a64 and if_awg blues
Message-ID:  <AB9B79C1-B590-4F42-8380-5D7113A654A1@bidouilliste.com>
In-Reply-To: <256B3CE1-92E5-4450-B5FE-B32D1FB20005@cs.huji.ac.il>
References:  <B13CC396-A937-48EF-87F1-179E5200D98A@cs.huji.ac.il> <20180907141500.8a4573ccd055843b2879d437@bidouilliste.com> <256B3CE1-92E5-4450-B5FE-B32D1FB20005@cs.huji.ac.il>

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


--=20
Emmanuel Vadot

> Le 7 sept. 2018 =C3=A0 17:29, Daniel Braniss <danny@cs.huji.ac.il> a =C3=A9=
crit :
>=20
>=20
>=20
>> On 7 Sep 2018, at 15:15, Emmanuel Vadot <manu@bidouilliste.com> wrote:
>>=20
>> On Thu, 6 Sep 2018 10:08:02 +0300
>> Daniel Braniss <danny@cs.huji.ac.il> wrote:
>>=20
>>> Hi,
>>> as far as I can tell, all these platforms share the same driver, but not=
 the same dts
>>> in any case this is the current status:
>>> on h3:    only detected/works if cable is connected
>>> on h5:    is detected even without cable and works after cable is insert=
ed.
>>>        Note: to get it working had to add sun50i-h5-neo2.dts to modules/=
dtb/allwinner/Makefile
>>>=20
>>> on a64:    nothing, nada.
>>=20
>> Depend on the board.
>>=20
>>> so, any idea as to how to get it working on an sun50i-a64 (nanopi-a64)?=20=

>>=20
>> The DTS for the NanoPi is missing the emac node.
> any hints? I tried several different overlays(borrowing stuff from pine)  b=
ut so far the best i got was:
>=20

you should try a dts from linux 4.19 or later maybe it have the node.
I=E2=80=99m away from this board right now so can=E2=80=99t test myself.

> awg0: <Allwinner Gigabit Ethernet> mem 0x1c30000-0x1c3ffff irq 32 on simpl=
ebus0
> awg0: PHY type: rmii, conf mode: reg
> awg0: EMAC clock: 0x00002000
> awg0: AHB frequency 150000000 Hz, MDC div: 0x2
> awg0: cannot attach PHY
> device_attach: awg0 attach returned 6   =20
>=20
>>=20
>>> BTW, I did get the wireless to work!
>>=20
>> What wireless ?
> Ah, just realised, there is an onboard, but that is not supported.
> I succeeded with a dongle - can=E2=80=99t remember off hand which, but the=
 reason I mentioned it was that the
> dongle does not work on the other socs, so at least on the nano-a64 i have=
 some network connectivity.
>=20
>>=20
>>>=20
>>> cheers,
>>>    danny
>>>=20
>>> _______________________________________________
>>> freebsd-arm@freebsd.org mailing list
>>> https://lists.freebsd.org/mailman/listinfo/freebsd-arm
>>> To unsubscribe, send any mail to "freebsd-arm-unsubscribe@freebsd.org"
>>=20
>>=20
>> --=20
>> Emmanuel Vadot <manu@bidouilliste.com> <manu@freebsd.org>




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?AB9B79C1-B590-4F42-8380-5D7113A654A1>