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 > "[EMAIL PROTECTED]"
pgp1tArdDFaIj.pgp
Description: PGP signature