Jump to content

Recommended Posts

Posted

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

Posted

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

Posted

No getty daemon runs on uart0. Minicom runs well, so it measn, that no process holds the uart0.

Posted

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.

Guest
This topic is now closed to further replies.
×
×
  • Create New...

Important Information

Terms of Use - Privacy Policy - Guidelines