From owner-freebsd-arm@freebsd.org Fri Dec 15 16:13:55 2017 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 A3CF8E856B6 for ; Fri, 15 Dec 2017 16:13:55 +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 35AC67BA40 for ; Fri, 15 Dec 2017 16:13:54 +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 1ePscP-000BwX-8t; Fri, 15 Dec 2017 18:13:49 +0200 From: Daniel Braniss Message-Id: <3320CA1F-4019-4D16-AB0B-2D7DFEC71B96@cs.huji.ac.il> Mime-Version: 1.0 (Mac OS X Mail 11.1 \(3445.4.7\)) Subject: Re: orangepi-zero serial (not the debug port) now working Date: Fri, 15 Dec 2017 18:13:49 +0200 In-Reply-To: <20171215170457.e2fd35d8299c3825efffe3b8@bidouilliste.com> Cc: Milan Obuch , freebsd-arm@freebsd.org To: Emmanuel Vadot References: <20171215170457.e2fd35d8299c3825efffe3b8@bidouilliste.com> X-Mailer: Apple Mail (2.3445.4.7) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.25 X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.25 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 15 Dec 2017 16:13:55 -0000 > On 15 Dec 2017, at 18:04, Emmanuel Vadot = wrote: >=20 > On Fri, 15 Dec 2017 17:51:55 +0200 > Daniel Braniss > = wrote: >=20 >> hi, >> after a week of failing to get the usb to work, this little change to = the dts file did the trick: >=20 > USB ? long version: my first attempt at using the serial port failed, I then tried = using a serial to usb (which works fine on RPI and amd64) on all my allwinners and failed.=20 >=20 >> --- /r+d/vanilla/12/sys/gnu/dts/arm/sun8i-h2-plus-orangepi-zero.dts = 2017-12-02 16:29:32.134790000 +0200 >> +++ ./sun8i-h2-plus-orangepi-zero.dts 2017-12-15 17:34:25.742903000 = +0200 >> @@ -164,7 +164,7 @@ >> &uart1 { >> pinctrl-names =3D "default"; >> pinctrl-0 =3D <&uart1_pins>; >> - status =3D "disabled"; >> + status =3D "okay"; >> }; >>=20 >> &uart2 { >>=20 >> and now I have a working /dev/ttyu1! >> BTW, this is with a resent CURRENT. >>=20 >> danny >=20 > This is expected, node aren't enabled if there is nothing using it on > the board. > For something like that you might want to look at overlays instead of > modifying main dtb. this was a proof of concept, i will try doing the overlay thingy later. thanks danny >=20 > --=20 > Emmanuel Vadot > = >