How to enable output to serial console at run-time?

From: Paul Menzel
Date: Thu Nov 02 2017 - 11:39:42 EST


Dear Linux folks,


If I want to output the Linux kernel messages to the serial console, but the `console=ttySâ` line is missing on the Linux command line, is there a way to activate that during run-time by, for example, using the sysfs interface?


Kind regards,

Paul