Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 15 Dec 2017 17:53:43 +0100
From:      Emmanuel Vadot <manu@bidouilliste.com>
To:        Daniel Braniss <danny@cs.huji.ac.il>
Cc:        Milan Obuch <freebsd-arm@dino.sk>, freebsd-arm@freebsd.org
Subject:   Re: orangepi-zero serial (not the debug port) now working
Message-ID:  <20171215175343.c2e3cc3efc99f0a49f879942@bidouilliste.com>
In-Reply-To: <3320CA1F-4019-4D16-AB0B-2D7DFEC71B96@cs.huji.ac.il>
References:  <FA78EE12-3F81-4531-88AC-E7CD938B2EEB@cs.huji.ac.il> <20171215170457.e2fd35d8299c3825efffe3b8@bidouilliste.com> <3320CA1F-4019-4D16-AB0B-2D7DFEC71B96@cs.huji.ac.il>

next in thread | previous in thread | raw e-mail | index | archive | help
On Fri, 15 Dec 2017 18:13:49 +0200
Daniel Braniss <danny@cs.huji.ac.il> wrote:

> 
> 
> > On 15 Dec 2017, at 18:04, Emmanuel Vadot <manu@bidouilliste.com> wrote:
> > 
> > On Fri, 15 Dec 2017 17:51:55 +0200
> > Daniel Braniss <danny@cs.huji.ac.il <mailto:danny@cs.huji.ac.il>> wrote:
> > 
> >> hi,
> >> after a week of failing to get the usb to work, this little change to the dts file did the trick:
> > 
> > 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)
                                                                               ^^^^^^^^^^^^^

 This is the part I don't understand.

> on all my allwinners and failed. 
> > 
> >> --- /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 = "default";
> >>       pinctrl-0 = <&uart1_pins>;
> >> -       status = "disabled";
> >> +       status = "okay";
> >> };
> >> 
> >> &uart2 {
> >> 
> >> and now I have a working /dev/ttyu1!
> >> BTW, this is with a resent CURRENT.
> >> 
> >> danny
> > 
> > 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
> 
> 
> > 
> > -- 
> > Emmanuel Vadot <manu@bidouilliste.com <mailto:manu@bidouilliste.com>> <manu@freebsd.org <mailto:manu@freebsd.org>>
> 


-- 
Emmanuel Vadot <manu@bidouilliste.com> <manu@freebsd.org>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20171215175343.c2e3cc3efc99f0a49f879942>