I am porting linux to one of the custom architectures. My serial console is unconventional, in the sense it does not work on interrupts.
I am trying to output messages from linux boot process onto kernel console. I used register_console and printk started working. Now I can see kernel printk messages being printed on console.
Now I am trying to get messages from the user space process onto console. I was under the impression that console registered for kernel will also work for user processes. However, it is not working. I am under the impression that I need to install a tty driver for user processes prints.
I am trying to understand how serial consoles are configured for user space and kernel space separately. Can someone please point me to some documentation or explain it.
Thanks
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…