summaryrefslogtreecommitdiffstats
path: root/sys/i386/boot/biosboot/Makefile
Commit message (Collapse)AuthorAgeFilesLines
* Remove the old a.out-only boot loader, we don't use it any more.peter2000-03-191-90/+0
| | | | | | | | The new boot1/boot2 can load a.out and elf kernels directly. I think the sys/pc98 version can go too as the sys/boot/pc98 code appears to be functional, but I'll leave that for the pc98 folks. "There can be only one."
* Removed vestiges of BAD144 support.bde1999-12-231-2/+0
| | | | Removed -mno-486 from CFLAGS since it is no longer supported by gcc.
* $Id$ -> $FreeBSD$peter1999-08-281-1/+1
|
* Rely on ../Makefile.inc to set the object format in CFLAGS and thebde1998-12-301-14/+5
| | | | | | | | | | | | | default for BINDIR. The default BINDIR of /usr/mdec can't be overridden yet because libdisk still uses /usr/mdec and installing in /boot might clobber the new boot blocks. Don't install links to bootxx or xxboot. Install boot1 and boot2 in 1 step. Don't delete the boot.help source file on installing it when ${COPY} is null.
* add -aout key to cc, size, strip - it not work for elf systemache1998-11-211-4/+4
|
* Remove the -b boot option. It is no longer necessary now that the VESAyokota1998-09-231-2/+1
| | | | BIOS support is optionally available for syscons.
* Adjust for sd->da and the loss of od.gibbs1998-09-151-10/+6
|
* Install ${DESTDIR}/boot.help during `make distribution'.jkoshy1998-05-271-1/+5
| | | | | PR: 6063 Submitted by: Doug <Studded@dal.net>
* Make this handle -j<large>, and avoid .depend pointing at /usr/include.eivind1998-03-071-12/+3
|
* Make bootblock building independent of /usr/include if relativeeivind1998-02-151-4/+12
| | | | includes are available.
* Symlink bootblocks for 'wfd' disks as well.msmith1998-01-271-2/+2
|
* Remove pbzero(), things we load zero their own bss.phk1997-08-311-2/+2
| | | | Make VESA_SUPPORT default
* Oops, boot2 got too big. make VESA_SUPPORT nondefault.phk1997-07-311-2/+3
|
* Add support for booting in VESA 0x102 videomode. Corresponding patches tophk1997-07-311-2/+3
| | | | syscons are being reviewed by sos.
* - Added support for "dual" internal/serial consoles (-D flag). If -D is set,bde1997-06-091-16/+1
| | | | | | | | | | | | | | | | | | | | | then all i/o from the boot blocks is to and from both the internal console and the serial console. -D has no effect on the kernel (-h decides the kernel serial console as usual). -D should normally be set in /boot.config. - Get help messages from /boot.help. You should copy boot.help from the biosboot directory to the root directory on the boot drive when you install new boot blocks. - New, less invasive keyboard probe. Enable keyboard probe dynamically (-P flag). Should probably never be used (use -h instead). - Fixed/improved initialization from boot.config. It didn't interact correctly with the NAMEBLOCK option, and the initialization of the drive/unit/partition didn't stick when a non-default kernel name was entered. - Don't reset or forget the default drive/unit/... or kernel name so often. - Set the default kernel name to something unbootable after `?'. - Display the defaults better. - Removed PROBE_KEYBOARD_LOCK option (use -h instead)., - Removed BOOT_FORCE_COMCONSOLE option (use device flag 0x20 instead). - Removed -a (RB_HALT) flag. This flag is only used for reboots. Submitted by: about 2/3 by yokota
* Removed LDADD=-lc and associated DPADD. libc would probably breakbde1997-04-251-3/+1
| | | | things if it were actually used.
* Added -mno-486 to CFLAGS to force smaller code in case someone compilesbde1997-03-051-1/+2
| | | | with CC="cc -m486". This doesn't fix PR2381, since PR2381 is for 2.1.x.
* Back out part 1 of the MCFH that changed $Id$ to $FreeBSD$. We are notpeter1997-02-221-1/+1
| | | | ready for it yet.
* Make the long-awaited change from $Id$ to $FreeBSD$jkh1997-01-141-1/+1
| | | | | | | | This will make a number of things easier in the future, as well as (finally!) avoiding the Id-smashing problem which has plagued developers for so long. Boy, I'm glad we're not using sup anymore. This update would have been insane otherwise.
* Make this compile again after the syscons/psm/kbdio changes that removedpeter1996-11-231-1/+2
| | | | | | | | | | | the keyboard IO port definitions from <machine/console.h>. Note: I do not have a machine available to test this yet, I sent this for review to several people who have not replied. This is also totally busted in 2.2, which has half of the syscons/psm/kbdio changes in it. This really desperately needs to be tested and fixed in 2.2 as well.
* Rationalize support for serial consoles running at baud rates other than 9600pst1996-11-021-1/+4
| | | | | baud. This isn't particularly beautiful, but neither is it disgustingly gross.
* Expose the control mechanism for serial console boot so that the defaultpst1996-10-141-5/+15
| | | | | | | | | shipped with freebsd can be changed without modifying the Makefiles directly. Creates: BOOT_FORCE_COMCONSOLE BOOT_PROBE_KEYBOARD BOOT_PROBE_KEYBOARD_LOCK BOOT_COMCONSOLE (port value for console)
* Oops, PROBE_KEYBOARD_LOCK wasn't supposed to be enabled by default.bde1996-10-141-4/+3
|
* Added option PROBE_KEYBOARD_LOCK which gives a serial console if thebde1996-10-081-1/+4
| | | | keyboard is locked.
* Saved about 160 bytes by using the gcc-2.7 alignment options.bde1996-10-081-2/+2
|
* Use the same warning flags as for the kernel. This causes surprisinglybde1996-10-081-1/+3
| | | | few warnings.
* Remove boot2 when the size test fails so that rebuilding without fixingbde1996-09-071-2/+4
| | | | | | | the problem doesn't bogusly succeed. Print size failures to stderr instead of stdout and don't print bells and whistles.
* Back out the previous changesjulian1996-09-051-2/+2
| | | | | | | I just couldn't get the code to be as small as it should have gotten.. atill a LITTLE bigger than before as I need to allow the default string to have options as well
* 3 changes:julian1996-09-041-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | 1/ Makefile: the maximum size for boot2 is 7.5K not 7K, so don't complain until it reaches THAT size.. newfs leaves 8K and boot 1 is 512k. leaving 7.5K becasue the disklabel is considered to part of the boot2 file. [512 boot1][512 disklabel][ 7K boot2 code ] [boot1 file][ boot2 file ] 2/ Boot2.S: move the soring of the default name read from block 2 to AFTER clearing the BSS. 3/ boot.c: Move the parsing of the command line into the place it's called for clarity.. alsoi comment it a bit and clean it up a bit.. for some reason this seems ot have made it a little larger, but I can't work out why.. maybe bruce might have ideas? compensated for by shrinkage elsewhere.. the practical result of this is htat the default string can now contain args e.g. if you change the default string to have -gd then the machine will boot to the dgb debugger stub by default.. this is mostly useful with the nextboot utility.. as it now allows you to remotely force a machine to reboot into the debugger.
* Fixed some speling, punctuation.. and spac ing errors.bde1996-07-121-2/+2
|
* make the NAMEBLOCK changes conditional on that preprocessor variable,julian1996-07-091-1/+6
| | | | | and add more documentation of the option in the Makefile also CORRECT the variable mentioned in the README.
* Fixed BOOT_HD_BIAS.bde1996-05-111-5/+11
|
* Allow specifying the BIOS drive number. Removed the hd drive type.bde1996-04-071-5/+7
| | | | | | | | | hd essentially wired the FreeBSD drive number to 0 without changing the BIOS drive number. Now the numbers can be specified independently. Replaced the BOOT_HD compile time flag with with BOOT_HD_BIAS. Defining the new flag as 1 should give the same behaviour as defining the old flag as anything. I haven't tested defining these flags.
* Probe the keyboard if PROBE_KEYBOARD is defined instead of when `notyet'bde1996-03-081-3/+6
| | | | | | | | | | is defined and FORCE_COMCONSOLE isn't defined. Don't compile any keyboard probing code if PROBE_KEYBOARD isn't defined. Makefile: Removed -I paths. They weren't used, and the one to /sys hasn't worked since the source directory was moved down one level.
* Create symlinks for vnboot and bootvn, too.joerg1996-02-031-2/+2
|
* Implement an optional TIMEOUT value while entering the boot parameterjoerg1996-01-211-3/+6
| | | | | string. This avoids indefinite hangs e.g. when used on a noisy serial console. It's not turned on by default.
* Document the ``BOOT_HD'' make option for the bootblocks.joerg1996-01-061-2/+7
|
* Remove -fno-strength-reduce, gcc bug recently fixedache1996-01-051-2/+2
|
* Add -fno-strength-reduce to neutralize possible bad effect of -O2ache1995-10-101-2/+3
| | | | specified directly
* First part of importing the Japanese `od' driver.joerg1995-08-191-2/+2
| | | | | | | | | | | | | | | | | | Claim the major numbers (before sombedoy else jumps in again and claims the slots for his foocd driver :-), install all the hooks that are required. While i've been at this, i've cleaned up some of the routines at the end of i386/conf.c; all the importers of the latest CDROM drivers forgot to fill in the appropriate information. The `ata' driver (vapourware?) does only occupy a slot in the bdevsw[] array, btw. The actual import of the code does require a minor change in the SCSI subsystem, and i want to have this reviewed by Peter first, so it will be deferred for some days. The driver is already working for me though. Submitted by: akiyama@kme.mei.co.jp (Shunsuke Akiyama)
* Change `install' to `${INSTALL}' so that default install flags can bebde1995-07-251-3/+3
| | | | specified in the top level Makefiles.
* . Make Poul's boot2 overflow warning less noisy in case the blocksjoerg1995-04-201-4/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | do fit, and beeping in case of an overflow. . Drop a comment about the ``FORCE_COMCONSOLE'' option into README.serial. . Increase the name buffer for the root directory from 100 bytes to 8 KB; this is in no way ideal, but (IMHO) the best that can be done by now. People did encounter problems with their root dir name listing overflowing the allocated buffer space. Once we've got the three-stage boot, we should implement some basic malloc(). Swap space is already getting tight now, perhaps the swap should go into another 64 KB segment instead. . Make the keyboard probe less paranoid. It should not give up in case of a keyboard that's continuously demanding RESEND's. Even though the keyboard reset apparently has not been reported to be complete, it's at the very least proven that there IS something like a keyboard available. This solves problems with the ``Gateway-2000 AllKey programmable'' (sp?) keyboard, that experienced a total hang with the previous probe. Thanks goes to Scott Blachowicz <scott@statsci.com> for his extensive testing of my various interim (debugging) bootblocks to get this working.
* Added a check so compilation fails if the bootblocks are too big.phk1995-04-201-2/+6
| | | | replaces a switch with ifs to reduce size.
* Boot block cleanup.joerg1995-04-141-1/+5
| | | | | | | | | | | | | | | | | | | | | | | | o Fix the keyboard probe to properly wait for the ready bit before sending a command to the keyboard controller. This should avoid the problems some people are experiencing where the boot blocks hang the system during keyboard probe. (It does solve it for me.) o Fix a bug that effectively prevented the boot blocks from ever passing control to the serial console. [while(--retries) instead of while(retries--)] o Gratuitously reduced the keyboard probe timeout from 500 to 5 seconds. :) o Introduced a new option ``FORCE_COMCONSOLE'' as a commented-out example in the Makefile, to force the usage of a serial console regardless of a keyboard being connected or not. o Moved all external declarations to boot.h, declared all functions there, and ANSIfied all function declarations/definitions. (printf() remains bogus, however -- i'm too lazy to fix this.) We're in the ninetees, dunno why we should still support compilers from the 70's.
* Don't install /usr/mdec/bootphk1995-03-281-8/+14
| | | | | | Install the biosboot as /usr/mdec/boot[12] Make the traditional links from [swf]dboot and boot[swf]d to boot[12] files. Install dosboot as /usr/mdec/boot/fbsdboot.exe
* Y.A.B.M (Yet Another Bogus Makefile)jkh1995-01-241-2/+2
|
* Removed hardcoded definition for RB_SERIAL that I left in my accidentwpaul1995-01-201-2/+2
| | | | | (had it there for testing purposes). RB_SERIAL should be found in <sys/reboot.h>.
* Submitted by: Bill Paul (wpaul@ctr.columbia.edu)wpaul1995-01-201-4/+5
| | | | | | | | | | Obtained from: bios boot block changed to allow booting from both the attached graphics display and from a serial port. (A specially compiled serial boot block is no longer necessary.) The boot block should detect the presence or absence of a keyboard: if there is no keyboard, COM1 is turned into the console. This simulates the behavior of the Sun boot PROMs. Unplug your keyboard, attach a terminal to COM1 and you should be ready to go. :)
* Pass the slice number of the boot device to the kernel in the previouslybde1994-12-181-2/+2
| | | | | unused bitfields for the adaptor and the controller. It should go in the bitfield for the partition but that would not be backwards compatible.
* Change -O2 to -Oache1994-11-051-2/+2
| | | | | With each gcc version -O2 can cause absolutely unpredicatable things Second stage boot still fits in allowed size
OpenPOWER on IntegriCloud