diff options
author | Thomas Graichen <graichen@cvs.openbsd.org> | 1996-11-22 11:11:34 +0000 |
---|---|---|
committer | Thomas Graichen <graichen@cvs.openbsd.org> | 1996-11-22 11:11:34 +0000 |
commit | 15f38a96d7d693f2d2c2ebe736bfa90606d96fc3 (patch) | |
tree | 310513e6bf382a704f61a3d4d42050e2239f8508 /sys/arch/i386/boot/Makefile | |
parent | a9debb6f3e65da00502dbcddc1b2bbb29818c6ec (diff) |
fix booting with serial console - i replaced the bios code from OpenBSD with
FreeBSD's polling code so that it works with all serial terminals - if you now
remove the comment in front of #CPPFLAGS+=-DSERIAL -D... - the bootprompt
should appear on the serial console
note: i had to rename "geometry" in one printf of sys.c to "geom." to get the
bootblocks small enough for serial console booting
Diffstat (limited to 'sys/arch/i386/boot/Makefile')
-rw-r--r-- | sys/arch/i386/boot/Makefile | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/sys/arch/i386/boot/Makefile b/sys/arch/i386/boot/Makefile index e272ec29953..7e10e288ade 100644 --- a/sys/arch/i386/boot/Makefile +++ b/sys/arch/i386/boot/Makefile @@ -41,10 +41,11 @@ CFLAGS= -O6 -D_KERNEL -DI386_CPU -DI486_CPU -DI586_CPU CFLAGS+=-DDO_BAD144 -I. -I${.CURDIR} -I$S -I${.CURDIR}/../.. # Uncomment this to make the boot block talk to a serial port. -#CPPFLAGS+=-DSERIAL +#CPPFLAGS+=-DSERIAL -DCOMCONSOLE=0x3F8 -DCONSPEED=9600 # start.o should be first -OBJS= start.o table.o boot.o asm.o bios.o io.o disk.o sys.o version.o +OBJS= start.o table.o boot.o asm.o bios.o io.o disk.o sys.o version.o \ + serial.o boot: ${OBJS} ${LD} -Bstatic -e start -N -T 0 -o boot ${OBJS} |