From owner-freebsd-arm@freebsd.org Fri Sep 7 15:29:54 2018 Return-Path: Delivered-To: freebsd-arm@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 527E0FFDAF4 for ; Fri, 7 Sep 2018 15:29:54 +0000 (UTC) (envelope-from danny@cs.huji.ac.il) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id DB8FC8DA67 for ; Fri, 7 Sep 2018 15:29:53 +0000 (UTC) (envelope-from danny@cs.huji.ac.il) Received: by mailman.ysv.freebsd.org (Postfix) id A00ECFFDAF3; Fri, 7 Sep 2018 15:29:53 +0000 (UTC) Delivered-To: arm@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 8EB1FFFDAF2 for ; Fri, 7 Sep 2018 15:29:53 +0000 (UTC) (envelope-from danny@cs.huji.ac.il) Received: from kabab.cs.huji.ac.il (kabab.cs.huji.ac.il [132.65.116.210]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 1B46E8DA66 for ; Fri, 7 Sep 2018 15:29:52 +0000 (UTC) (envelope-from danny@cs.huji.ac.il) Received: from imac.bk.cs.huji.ac.il ([132.65.179.42]) by kabab.cs.huji.ac.il with esmtp id 1fyIhV-0009za-Aw; Fri, 07 Sep 2018 18:29:37 +0300 Content-Type: text/plain; charset=utf-8 Mime-Version: 1.0 (Mac OS X Mail 11.5 \(3445.9.1\)) Subject: Re: nanopi/allwinner h3/h5/a64 and if_awg blues From: Daniel Braniss In-Reply-To: <20180907141500.8a4573ccd055843b2879d437@bidouilliste.com> Date: Fri, 7 Sep 2018 18:29:37 +0300 Cc: "freebsd-arm@freebsd.org" Content-Transfer-Encoding: quoted-printable Message-Id: <256B3CE1-92E5-4450-B5FE-B32D1FB20005@cs.huji.ac.il> References: <20180907141500.8a4573ccd055843b2879d437@bidouilliste.com> To: Emmanuel Vadot X-Mailer: Apple Mail (2.3445.9.1) X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.27 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 07 Sep 2018 15:29:54 -0000 > On 7 Sep 2018, at 15:15, Emmanuel Vadot wrote: >=20 > On Thu, 6 Sep 2018 10:08:02 +0300 > Daniel Braniss 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 = inserted. >> 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) = but so far the best i got was: awg0: 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=09 >=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 >> 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