My understanding is that at this point in the boot up cycle, one cannot do something like:
If I wanted to send text to various TTYs, what interface might I use? I noticed that terminal.h provides a putc implementation, but I'm not sure whether this is necessary. If anyone can save me barking up the wrong tree, I'd be thankful.
Let me share my aim: I've made it possible to specify the console VT to an option set in your kernel build. I've made is possible to switch to another VT that's not getting all the hardware probe + init noise. In that (blank) console that's waiting for getty to finish, I'd like to put something like "System initializing" in (say) green (preferably with a blinking cursor too).
C:
fd=open("/dev/ttyv3", O_WRONLY); // greatly simplified C code
write(fd, "hi\n", 4); // don't try this at home
If I wanted to send text to various TTYs, what interface might I use? I noticed that terminal.h provides a putc implementation, but I'm not sure whether this is necessary. If anyone can save me barking up the wrong tree, I'd be thankful.
Let me share my aim: I've made it possible to specify the console VT to an option set in your kernel build. I've made is possible to switch to another VT that's not getting all the hardware probe + init noise. In that (blank) console that's waiting for getty to finish, I'd like to put something like "System initializing" in (say) green (preferably with a blinking cursor too).