summaryrefslogtreecommitdiff
path: root/sys/arch/i386/stand
AgeCommit message (Collapse)Author
2005-07-30build libkernTodd C. Miller
2005-07-30Add libkern and link it in after libzTodd C. Miller
2005-07-15- add /bsd.rd to FILESJason McIntyre
- for amd64/i386 add /bsd.mp to FILES ok tom@
2005-05-31spelling corrections in comments;Jason McIntyre
from charlie root;
2005-05-03The return value from getEBDAaddr() (info) is not used in bios_E820(),Tom Cosgrove
so nuke it. amd64 no longer needs biosprobe.c listed in SRCS. Trims 100 bytes from the boot blocks. Bump versions on boot, cdboot and pxeboot, as I'm getting cautious in my old age. ok weingart@
2005-05-03Convert the size of a memory chunk from bytes to megabytes beforeTom Cosgrove
casting to a 32-bit value, not after. Corrects the display of large memory chunks in the probing: line (mem[615K 3518M 0M a20=on] becomes mem[615K 3518M 12288M a20=on]). Bump version on boot, cdboot and pxeboot accordingly. "looks ok to me" weingart@
2005-04-30Ensure we save the %ebx register returned from the BIOS call, not justTom Cosgrove
%bx. Fixes problem introduced in gidt.S r1.29, which could lead to an incomplete memory map, and "too little memory available; running in degraded mode", as found by Roy Morris rmorris (at) internetsecure (dot) com. (Thanks for the report, and for testing the fix.) Bump version on boot, cdboot and pxeboot accordingly. ok weingart@
2005-04-25[OpenBSD]Tom Cosgrove
Make boot code use real mode with 64K segments instead of 1M segments. Improves stability with some disk controller cards. Also explicitly state operand size on some moves. Bump version on boot, cdboot and pxeboot accordingly. "just get them in" beck@ ok weingart@
2005-03-13Only use bangpxe calling on PXE 2.1 and above. Makes no difference onTom Cosgrove
current-spec PXE systems, but allows some older ones (I tested 0.98 and 0.99) to get a bit further. ok weingart@; "please get it in" deraadt@.
2005-03-12KNFTom Cosgrove
2005-03-12On return from real mode, reload the GDT using a 16-bit pointer ratherTom Cosgrove
than a 32-bit value. Found by Tim Fletcher <tim (at) parrswood (dot) manchester (dot) sch (dot) uk> using Etherboot; thanks to Tim and the Etherboot developers who narrowed this down. Also bump the pxeboot version to 1.01. ok weingart@, "go ahead" deraadt@
2005-02-18fix zlib's homepage; ok henning@, jmc@Robert Nagy
2004-12-23make com[123] work for console on i386, but allow override with CONADDR/CONUNITMarkus Friedl
ok mickey, deraadt
2004-12-04add /etc/dhcpd.conf to FILES;Jason McIntyre
2004-09-20addres -> addressMiod Vallat
2004-08-24Better description of the path to bsd.rd, to avoid having to update itTom Cosgrove
every release. Mentioned by marc@, among others. Also note that cdboot's ls command doesn't work on ISO-9660 filesystems. help and ok jmc@ and deraadt@
2004-08-24Correctly document the order in which cdboot looks for kernels.Tom Cosgrove
2004-08-24Have cdboot look for /3.6/i386/bsd.rd first.Tom Cosgrove
"go for it" deraadt@
2004-08-24Have cdbr look for cdboot at /3.6/i386/cdboot as well as at /cdboot.Tom Cosgrove
"go for it" deraadt@; part of diff reviewed and ok weingart@.
2004-08-21Fix typo in commentTom Cosgrove
2004-08-17Calculate time_t correctly from (day, month, year): 1/1/70 is 0, not 1.Tom Cosgrove
ok deraadt@
2004-08-06do not be quiet about this operationTheo de Raadt
2004-07-24Use '=' not '==' with test. While ksh accepts '==' as a synomym for '=',Todd C. Miller
it is not valid in sh.
2004-07-15"mib[4] is too much and mib[3] would be enough" (left over from whenTom Cosgrove
another sysctl() - which did require mib[4] - was removed). From Andrey Matveev - andrushock (at) vniigim (dot) ru - via mickey@. ok mickey@
2004-07-13errno changes, lib major version bumps, and general flag dayMarco S Hyman
To build you must: cd /usr/src && make obj && make includes cd lib/libc && make depend && make && NOMAN=1 sudo make install cd /usr/src && make build
2004-06-26Initial stab at CPU identification code for i386 boot programs. AddedTom Cosgrove
to i386 libsa, but not yet used by boot etc. ok weingart@
2004-06-23Hook cdbr and cdboot into the build (though nothing uses them yet).Tom Cosgrove
suggested by deraadt@ ok weingart@
2004-06-23Enter cdboot, a CD-specific second-stage bootrap.Tom Cosgrove
Testing krw@ and todd@, thanks. assistance, testing and ok weingart@
2004-06-22Remove... almost 10 years, and things have changed enough that thisTobias Weingartner
is more historic than anything else. If ya want it, find it in the Attic. ok tom@
2004-06-22Enter cdbr, an El Torito no-emulation CD boot sector that fitsTom Cosgrove
comfortably in a single CD sector of 2,048. Not currently hooked into the build. Based on the FreeBSD equivalent by John Baldwin, jhb (at) FreeBSD (dot) org, who agreed to change to a 3-clause BSD licence. Thanks. assistance, testing and ok weingart@
2004-05-05errx shall be used hereMichael Shalayeff
2004-04-07Allow pxeboot to compile with gcc3.Tom Cosgrove
Found by various (thanks!), fix originally from naddy@. Prodded by espie@. ok deraadt@
2004-04-03add pxeboot references to FILES and SEE ALSO;Jason McIntyre
ok deraadt@
2004-03-22Fix dates on my copyrights.Tom Cosgrove
Noticed my miod@, thanks. ok deraadt@.
2004-03-21Remove example for ISC dhcpd. The vendor-class-identifier option is notTom Cosgrove
useful anyway, since amd64 machines use the same value as i386. requested by deraadt@
2004-03-19Tidy up the man pageTom Cosgrove
Help and kickings from jmc@
2004-03-19Enter pxeboot, derived from the NetBSD implementation. InitiallyTom Cosgrove
intended to support network installs using bsd.rd over TFTP. Thanks to the many who tested, including Diana Eichert. ok deraadt@
2004-03-12missing .El;Jason McIntyre
2004-03-11If apm_connect() fails, don't try to pass the bios_apminfo_t structureTom Cosgrove
to the kernel, since it won't have been filled in, and since we can't make APM calls if we don't connect (per spec). Also tidy up the error message, to make it clear that it's an APM error. Problem found, and fix tested, by jmc@ ok millert@, weingart@
2004-03-09Spacing and KNF. Partly from Joris Vink <nimadeus at pandora dot be>.Tom Cosgrove
ok henning@, deraadt@
2004-02-22Remove #if 0'd code.Tom Cosgrove
requested by weingart@
2004-02-21Tidy up installboot -v output.Tom Cosgrove
requested by and ok deraadt@
2004-02-10Make debug_init void debug_init(void), like nearly all of the otherTom Cosgrove
functions that machdep() calls. ok deraadt@
2004-02-10Enable interrupts before halt when we error out. Allows use ofTom Cosgrove
Ctl-Alt-Del to reboot in case of failure. Much testing nick@; thanks. ok weingart@, deraadt@.
2004-01-26Major overhaul of biosboot and installboot, using EDD (LBA) reads ifTom Cosgrove
the BIOS supports it. File location data now geometry-independent (biosboot groks part of the inode), so installboot loses -h and -s. Many thanks to all those brave enough to try the snapshots. Thanks for the test reports, everyone. ok deraadt@
2004-01-20Check the values given to -h and -s. Closes PR 3640.Tom Cosgrove
ok weingart@, deraadt@
2004-01-13Allow building w/o -traditional. OK weingart@ and mickey@Todd C. Miller
2004-01-09spelling; jjy2+@pitt.eduTheo de Raadt
2004-01-05Major overhaul of our master boot record.Tom Cosgrove
We now use EDD calls if the disk supports it, so we can boot partitions that start above the 8 GB CHS limit. Of itself, this change does not remove the current 8 GB limit for OpenBSD/i386. Much testing nick@; thanks. ok weingart@, deraadt@.
2004-01-02after some advice from nick, note that only com0 is currently supportedJason McIntyre
as serial; closes PR 3621 from Johan Fredin; ok nick@ krw@ millert@ deraadt@