orangepi-zero serial (not the debug port) now working

Emmanuel Vadot manu at bidouilliste.com
Fri Dec 15 16:05:06 UTC 2017


On Fri, 15 Dec 2017 17:51:55 +0200
Daniel Braniss <danny at 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 ?

> --- /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.

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


More information about the freebsd-arm mailing list