From owner-freebsd-arm@freebsd.org Fri Sep 7 15:47:02 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 796C5FFE13A for ; Fri, 7 Sep 2018 15:47:02 +0000 (UTC) (envelope-from manu@bidouilliste.com) 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 1717F8E424 for ; Fri, 7 Sep 2018 15:47:02 +0000 (UTC) (envelope-from manu@bidouilliste.com) Received: by mailman.ysv.freebsd.org (Postfix) id CFD18FFE139; Fri, 7 Sep 2018 15:47:01 +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 94200FFE138 for ; Fri, 7 Sep 2018 15:47:01 +0000 (UTC) (envelope-from manu@bidouilliste.com) Received: from mail.blih.net (mail.blih.net [212.83.177.182]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mail.blih.net", Issuer "mail.blih.net" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 158318E423 for ; Fri, 7 Sep 2018 15:47:00 +0000 (UTC) (envelope-from manu@bidouilliste.com) Received: from mail.blih.net (mail.blih.net [212.83.177.182]) by mail.blih.net (OpenSMTPD) with ESMTP id eda25621; Fri, 7 Sep 2018 17:46:59 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=bidouilliste.com; h= content-type:mime-version:subject:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to; s=mail; bh= g/nbN6TPbOQBbH9bYmW4K4BvEbE=; b=mDmGdfu3ICJv8a4Spmsh3AvBOgQOhXul b7XmFWIrsSvakE4PXxYLZ7/dagiJLO5QES5lgOPxNBiq/IrZu6ag+uoirwnIhaIk W1YvIhWG/hZBSAK1tOHmWnxBB//q3XiZahbZQDOv9Sa1K8GGXPKLzCo2KV4eDR/d bqiiFb1cKAw= DomainKey-Signature: a=rsa-sha1; c=nofws; d=bidouilliste.com; h= content-type:mime-version:subject:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to; q=dns; s= mail; b=oG0am9QRZoAodEU0iU+RwkGnPnwsV5i0qGUgbRIK9CNxShkhjKR8lf3a GatWdiDuixCWV0/sfYbK/TU9vvZi7MOTopCLW1UaiHlK1f570Qh2P6S0ejsKQcp+ 0Gg8RKRXRWftXqOOtXv6f3EhURPH3Hk2rD0CApQnE1GpRBPWWVM= Received: from [10.43.102.157] (37.173.149.69 [37.173.149.69]) by mail.blih.net (OpenSMTPD) with ESMTPSA id b90bb9cf TLS version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO; Fri, 7 Sep 2018 17:46:59 +0200 (CEST) Content-Type: text/plain; charset=utf-8 Mime-Version: 1.0 (1.0) Subject: Re: nanopi/allwinner h3/h5/a64 and if_awg blues From: Emmanuel Vadot X-Mailer: iPhone Mail (15G77) In-Reply-To: <256B3CE1-92E5-4450-B5FE-B32D1FB20005@cs.huji.ac.il> Date: Fri, 7 Sep 2018 17:46:55 +0200 Cc: "freebsd-arm@freebsd.org" Content-Transfer-Encoding: quoted-printable Message-Id: References: <20180907141500.8a4573ccd055843b2879d437@bidouilliste.com> <256B3CE1-92E5-4450-B5FE-B32D1FB20005@cs.huji.ac.il> To: Daniel Braniss 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:47:02 -0000 --=20 Emmanuel Vadot > Le 7 sept. 2018 =C3=A0 17:29, Daniel Braniss a =C3=A9= crit : >=20 >=20 >=20 >> 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 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: 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