nanopi/allwinner h3/h5/a64 and if_awg blues

Emmanuel Vadot manu at bidouilliste.com
Fri Sep 7 15:47:02 UTC 2018



-- 
Emmanuel Vadot

> Le 7 sept. 2018 à 17:29, Daniel Braniss <danny at cs.huji.ac.il> a écrit :
> 
> 
> 
>> On 7 Sep 2018, at 15:15, Emmanuel Vadot <manu at bidouilliste.com> wrote:
>> 
>> On Thu, 6 Sep 2018 10:08:02 +0300
>> Daniel Braniss <danny at cs.huji.ac.il> wrote:
>> 
>>> 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 inserted.
>>>        Note: to get it working had to add sun50i-h5-neo2.dts to modules/dtb/allwinner/Makefile
>>> 
>>> on a64:    nothing, nada.
>> 
>> Depend on the board.
>> 
>>> so, any idea as to how to get it working on an sun50i-a64 (nanopi-a64)? 
>> 
>> The DTS for the NanoPi is missing the emac node.
> any hints? I tried several different overlays(borrowing stuff from pine)  but so far the best i got was:
> 

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

> awg0: <Allwinner Gigabit Ethernet> mem 0x1c30000-0x1c3ffff irq 32 on simplebus0
> 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    
> 
>> 
>>> BTW, I did get the wireless to work!
>> 
>> What wireless ?
> Ah, just realised, there is an onboard, but that is not supported.
> I succeeded with a dongle - can’t 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.
> 
>> 
>>> 
>>> cheers,
>>>    danny
>>> 
>>> _______________________________________________
>>> freebsd-arm at freebsd.org mailing list
>>> https://lists.freebsd.org/mailman/listinfo/freebsd-arm
>>> To unsubscribe, send any mail to "freebsd-arm-unsubscribe at freebsd.org"
>> 
>> 
>> -- 
>> Emmanuel Vadot <manu at bidouilliste.com> <manu at freebsd.org>



More information about the freebsd-arm mailing list