I'm trying to get a system set up to use a dual console at all times, i.e. to start showing output on the serial console as well as the video console from as early as possible until as late as possible/shutdown. Reading through the handbook page on the topic has left me a little confused, as there are two configuration files they mention editing: /boot.config, and /boot/loader.conf.
My understanding is that to get the console on the serial port ASAP, I need to edit /boot.config to add -Dh -S[speed], but it sounds like once that stage of the boot process finishes, it's handed over to the loader which is governed by /boot/loader.conf. This in turn appears to, by default, go back to a single console, selecting either the serial console or the video console depending on the presence of -h in /boot.config. However, it looks like you can continue to use a dual console by setting console="comconsole,vidconsole" in /boot/loader.conf, and then the presence/absence of -h in /boot.config is irrelevant. Is my understanding correct, in that both files need to be present and edited accordingly?
Also, it's unclear if I need to set the speed again in /boot/loader.conf, if I've already set it in /boot.config.
My understanding is that to get the console on the serial port ASAP, I need to edit /boot.config to add -Dh -S[speed], but it sounds like once that stage of the boot process finishes, it's handed over to the loader which is governed by /boot/loader.conf. This in turn appears to, by default, go back to a single console, selecting either the serial console or the video console depending on the presence of -h in /boot.config. However, it looks like you can continue to use a dual console by setting console="comconsole,vidconsole" in /boot/loader.conf, and then the presence/absence of -h in /boot.config is irrelevant. Is my understanding correct, in that both files need to be present and edited accordingly?
Also, it's unclear if I need to set the speed again in /boot/loader.conf, if I've already set it in /boot.config.