Date: Wed, 30 Mar 2005 13:48:43 +0200 From: Emanuel Strobl <emanuel.strobl@gmx.net> To: freebsd-questions@freebsd.org Cc: John Pettitt <jpp@cloudview.com> Subject: Re: How do I kill the console? (or how to make nullconsole work) Message-ID: <200503301348.53238@harrymail> In-Reply-To: <424A5247.1050401@cloudview.com>
index | next in thread | previous in thread | raw e-mail
[-- Attachment #1 --] Am Mittwoch, 30. März 2005 09:16 schrieb John Pettitt: > I'm running 5.4 BETA1 on a soekris 4801 board. The unit emulates a > console on a serial port. I want to use the serial port for my GPS so I > want the console messages from BSD to go away - an in particular I want > BSD to ignore inbound data during the boot process. > > So far: > > I've used the regular mbr so that I don't get the disk prompt > I've added "boot" to loader.rc before the beastie call so that it > doesn't display the menu > > Both these change work > > However if I add boot.config with -n -m the system doesn't boot (and I > can't tell why because I have no messages!) > If I set console="nullconsole" the system doesn't boot and again I can't > see why. > > Does anybody have any wisdom on how to get nullconsole to work? Unfortunately not, but if you defined nullconsole I think no /boot.config is allowed. I'd suggest you try to set hints.sio.1.flags="0x10" and make sure hints.sio.0.flags doesn't exist. This should make the second (not DB-9 connected) serial ports of the 4801 systemconsole. Alternatively you can try setting boot_serial="sio1" in /boot/loader.conf, but I never tried that. Make sure in any case you also have "console=comconsole" in /boot/loader.conf since the soekris bios emulates a simple "VGA"-Console. You can also recompile the loader to tell it what sio (and at what speed) it should use. The following in /etc/make.conf does the trick: BOOT_COMCONSOLE_PORT= 0x2F8 BOOT_COMCONSOLE_SPEED= 115200 For the loader to recompile goto /usr/src/sys/boot and do: make clean && make depend && make && make install Good luck, -Harry > > John > > > > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to > "freebsd-questions-unsubscribe@freebsd.org" [-- Attachment #2 --] -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.0 (FreeBSD) iD8DBQBCSpIlBylq0S4AzzwRAvvJAJ4mUFDMc8qSGRQytOSmG/Q4BsGoNwCeL9o9 CmR44/3DHv6FO7BpKRZTljs= =bu5U -----END PGP SIGNATURE-----home | help
Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200503301348.53238>
