[Bug 239390] Enable UART ports on Pine64-LTS platform

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Mon Jul 22 23:38:17 UTC 2019


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=239390

            Bug ID: 239390
           Summary: Enable UART ports on Pine64-LTS platform
           Product: Base System
           Version: 12.0-RELEASE
          Hardware: arm64
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: arm
          Assignee: freebsd-arm at FreeBSD.org
          Reporter: kayasaman at optiplex-networks.com

Hi, I am trying to enable the UART ports on my Pine64-LTS board however, after
trying all the suggestions that people gave in the Arm mailing list nothing had
any effect.

The suggestions given to me were to use overlays. I attempted this but get
error messages:

failed to apply overlay: FDT_ERR_NOTFOUND

The files do exist:

ls /boot/msdos/dtb/overlays
sun50i-a64-sid.dtbo     sun50i-a64-timer.dtbo   sun50i-a64-uart4.dtbo
sun50i-a64-ths.dtbo     sun50i-a64-uart2.dtbo


ls /boot/dtb/overlays
sun50i-a64-sid.dtbo     sun50i-a64-timer.dtbo   sun50i-a64-uart4.dtbo
sun50i-a64-ths.dtbo     sun50i-a64-uart2.dtbo


Additionally I have tried to add the following directly to the .dts files:

/* On Pi-2 connector */
&uart2 {
        pinctrl-names = "default";
        pinctrl-0 = <&uart2_pins>;
        status = "okay";
};


The files I have tried to enable the UART ports in are these:

/usr/src/sys/gnu/dts/arm64/allwinner -

sun50i-a64-pine64.dts
sun50i-a64-sopine-baseboard.dts

Unfortunately nothing is working and there isn't a direct pin64-lts.dts file
either.


What more information could I provide here in order to get the UART's to
function?

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-arm mailing list