Page 1 of 1

NanoPi NEO uart1(ttyS1) enable

Posted: Mon Nov 21, 2022 2:09 am
by qqq558877
Hello!
I'm using NanoPi NEO and FRIENDLYWRT. I found that is not possible to send data via ttyS1, I think that UART1 is disabled in the kernel. How do I create an OpenWRT with UART1 enabled ?

Re: NanoPi NEO uart1(ttyS1) enable

Posted: Thu Mar 02, 2023 8:19 am
by padwelfare
I inserted a line to the target / linux / rockchip / patches-5.4 / 001-rockchip-rk3328-Add-support-for-FriendlyARM-NanoPi-R.patch file that reads: soccer random
"Okay" is the state of the UART1; +;
UART1 is operational at the moment.

Re: NanoPi NEO uart1(ttyS1) enable

Posted: Tue Dec 24, 2024 2:19 am
by separatefrequent
qqq558877 wrote:
Hello!
I'm using NanoPi NEO and FRIENDLYWRT. I found that is not possible to send data via ttyS1 planet clicker, I think that UART1 is disabled in the kernel. How do I create an OpenWRT with UART1 enabled ?




To enable UART1 (ttyS1) in OpenWRT (FriendlyWRT) for your NanoPi NEO, you will need to modify the kernel configuration and rebuild OpenWRT with UART1 enabled.
Navigate to the OpenWRT source directory and run the following command to configure the kernel:
make menuconfig
In the menu, navigate to:
Target System → (your NanoPi NEO model)
Target Profile → (specific NanoPi NEO version)
Kernel Modules → (Look for the serial driver settings)