From owner-freebsd-arm@freebsd.org Sun Jul 31 11:45:11 2016 Return-Path: Delivered-To: freebsd-arm@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id E266DBA1767 for ; Sun, 31 Jul 2016 11:45:11 +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 95FAE1EFE; Sun, 31 Jul 2016 11:45:11 +0000 (UTC) (envelope-from danny@cs.huji.ac.il) Received: from bach.cs.huji.ac.il ([132.65.81.13]) by kabab.cs.huji.ac.il with esmtp id 1bTpB0-000J7H-VY; Sun, 31 Jul 2016 14:45:03 +0300 Mime-Version: 1.0 (Mac OS X Mail 9.3 \(3124\)) Subject: Re: allwinner h3 From: Daniel Braniss In-Reply-To: Date: Sun, 31 Jul 2016 14:45:02 +0300 Cc: freebsd-arm , Emmanuel Vadot Message-Id: <412A27AE-BCE3-415C-B76E-E756673544A8@cs.huji.ac.il> References: <0BDCC879-CE88-411B-88C3-2960BA756759@cs.huji.ac.il> To: Jared McNeill X-Mailer: Apple Mail (2.3124) Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.22 X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 31 Jul 2016 11:45:12 -0000 after much find/grep/google(*) i have an orange-plus.dtb that includes = ehci2 but: ... gpioc0: on gpio0 aw_wdog0: mem 0x1c20ca0-0x1c20cbf on simplebus0 ehci0: mem 0x1c1c000-0x1c1c0ff = on simplebus0 ehci0: Could not get phy panic: vm_fault: fault on nofault entry, addr: deadc000 ... so I need a pointer to the missing phy. (I=92m again grepping/find but if some warm hearted person =85) cheers, danny *: got an orange-plus.dts from Jared - thanks!, but was missing ehci2 = stuff, I found it in a newer sun8i-h3.dtsi, and blindly added an include for = it. > On 28 Jul 2016, at 16:18, Jared McNeill wrote: >=20 > Hi Danny! >=20 > Here's the dts for my Orange Pi Plus 2E: = https://github.com/jaredmcneill/freebsd/blob/allwinner-h3/sys/boot/fdt/dts= /arm/orangepi-plus-2e.dts = . You should be able to use that as a = template for the Orange Pi Plus, I think the boards are fairly similar. >=20 > The Linux dts files (last I checked) didn't include ethernet support, = so you'll see that I've added it there. >=20 > Also make sure you are using 12.0-CURRENT for proper H3 ethernet = support. >=20 > Cheers, > Jared >=20 > > From: danny@cs.huji.ac.il > > Subject: allwinner h3 > > Date: Thu, 28 Jul 2016 15:41:38 +0300 > > CC: manu@freebsd.org > > To: jmcneill@freebsd.org > >=20 > > Hi, > > I have an Orange pi plus, and managed to boot it, it=92s missing the = ethernet, > > and I suspect the dtb (which I took from ? ), any chance of getting = the *.dts files? > >=20 > > In any case, I need the SPI to work (and the ethernet), I can = contribute some time with > > coding/testing/reverse-engeneering. My SPI/RFID diver is working = fine > > with raspberry pi, and I would like to port it to allwinner - = probably orange pi ONE. > >=20 > >=20 > > thanks, > > danny > >=20