kotrs Posted May 18, 2016 Posted May 18, 2016 Hello, I need to use gprs modem with ppp over uart0, but something blocks the communication. The uart0 runs well over minicom, but not over ppp. When I use another uart, the ppp runs well. But I have to use uart0. The uart0 is set like debug port in u-boot and I think, that this is the reason. I don't know how to disable it. Maybe disable CONFIG_REQUIRE_SERIAL_CONSOLE in u-boot config file ? Thank you Tomas
Balldir Posted May 18, 2016 Posted May 18, 2016 I don't know if it's exact reason but it seems that uart0 is used for login. To disable - delete /etc/init/ttyS0.conf and reboot (or kill running process).
kotrs Posted May 18, 2016 Author Posted May 18, 2016 No getty daemon runs on uart0. Minicom runs well, so it measn, that no process holds the uart0.
Balldir Posted May 19, 2016 Posted May 19, 2016 No getty daemon runs on uart0. Minicom runs well, so it measn, that no process holds the uart0. I was looking through sun8i-h3-orangepi-pc.dts today and saw this string aliases { serial0 = &uart0; }; chosen { stdout-path = "serial0:115200n8"; }; It looks like uart0 is used for boot console output . You could try to delete it.
Recommended Posts