[OpenWrt-Devel] UART1 mt7688

Lazar Demin lazar at onion.io
Tue Jul 26 19:55:06 EDT 2016


Could you please elaborate on how you accomplished this, ie how to set
the clock in the dts?

On Wed, Apr 27, 2016 at 6:03 AM, Baptiste Clenet <bapclenet at gmail.com> wrote:
> Found the solution ! Need to add uart1 in dts and set the clock
>
> Le 27 avr. 2016 09:24, "Baptiste Clenet" <bapclenet at gmail.com> a écrit :
>>
>> Hi,
>>
>> I want to run an UART communication between the mt7688 and another
>> board, console uses UART0 but I want to configure UART1 to be able to
>> send data on it. Currently, if I send something on /dev/ttyS1, I get:
>> write to fd 4 failed: I/O error
>> or
>> ash: write error: I/O error
>>
>> root at OpenWrt:/# stty -F /dev/ttyS1
>> stty: /dev/ttyS1: I/O error
>>
>> Should I add something in the dts?
>>
>> Thanks
>>
>> --
>> Baptiste
>
>
> _______________________________________________
> openwrt-devel mailing list
> openwrt-devel at lists.openwrt.org
> https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel
>
_______________________________________________
openwrt-devel mailing list
openwrt-devel at lists.openwrt.org
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel


More information about the openwrt-devel mailing list