summaryrefslogtreecommitdiff
path: root/sys/arch/i386/stand
AgeCommit message (Collapse)Author
2007-05-31It's the time to squash antique bugs. This has been thereTobias Weingartner
for some time. I can't believe it took a re-read for future functionality plus something I wrote and kjell@ saved from '97 for me to find this. ok tom@
2007-05-31Forgot to commit the changes to this file with the rest of the ELF32+64Tom Cosgrove
pieces. Since this is where the "boot both ELF32 and ELF64" behaviour is turned on for i386, it is quite important. Bump version numbers too. Found by ckuethe@; thanks.
2007-05-31convert to new .Dd format;Jason McIntyre
2007-05-30Pull out the ELF loadfile pieces from the standalone libraries, so thatTom Cosgrove
both 32- and 64-bit versions can be created (previously only one or the other could be built for a given boot loader). Use this to allow the i386 and amd64 boot blocks to boot both ELF32 and ELF64 kernels (i.e. amd64 boot blocks can now load i386 kernels, and vice versa). Obviously the system must support LONG mode in order to successfully run the amd64 kernel once it is loaded. Advice and discussions from/with dale@ (going back three years). Much testing nick@ and todd@; thanks.
2007-05-29remove support for many alternative kernel choices -- only try /bsd andTheo de Raadt
not the other stupid names. that feature was retarded. tested on a few architectures by a few people
2007-05-27When deciding whether to allocate a bounce buffer, we need one ifTom Cosgrove
we are going to read exactly at 1 MB (i.e. fix an off-by-one that is already correct in the amd64 version of this file). ok toby@
2007-04-27Check for Control key held down when starting, and don't read boot.confTom Cosgrove
if it is. This gives a way to recover from "switching to com0" when there's no serial cable handy. Bump version numbers. A similar change will be made to amd64 boot soon. ok toby@ deraadt@
2007-04-13Update install media generation to the new semantics of the -c flag.Todd C. Miller
Also replace "newfs -O" with "newfs -O 0" now that -O takes an option.
2007-04-04Thinkpad -> ThinkPad; from Igor SobradoJason McIntyre
ok millert jasper mbalmer
2007-02-12OpenBSD -> .OxJason McIntyre
> -> \*(Gt
2007-01-02Fix the keyboard problem seen on Intel Macs, where only the firstTom Cosgrove
keypress is seen by boot. It appears that on the Intel Mac, we have to issue the "check for keystroke" BIOS call before the "get keystroke" call will get it (unlike any other BIOS I have seen in over 20 years). It would not have been possible to fix this problem without the donation from Steven N. Fettig (steve (at) anywheretechnology.com); many thanks. Bump versions of boot, cdboot and pxeboot accordingly. Testing kettenis@, otto@, and others; ok weingart@.
2006-12-26There is a single 'p', not a double, in 'triple'.Tom Cosgrove
2006-10-31Mention that cdboot won't find boot.conf if you create the CDTom Cosgrove
with 8.3-style filenames. Issue raised by Mikolaj Kucharski, eth0 (at) o2.pl. Jointly written with, and ok, jmc@.
2006-10-30install boot.conf as a section 5 page, not section 8;Jason McIntyre
from mikolaj kucharski; ok mk deraadt krw
2006-10-12Bump versions to note behaviour change of no longer tryingKenneth R Westerback
to boot from NetBSD partitions. Requested by tom@.
2006-10-12Don't try to boot from a NetBSD MBR partition when no OpenBSD MBRKenneth R Westerback
partition is found. Change error message to 'no OpenBSD partition'.
2006-09-26Zap D_REMOVABLE flag from disklabel. If you didn't already know thatKenneth R Westerback
floppies and cd's were removable, displaying that fact in disklabel output was unlikely to help. And the display in disklabel was the only use of D_REMOVABLE in the tree. ok marco@
2006-09-18boot(8) ``machine memory'' support for > 4G.Marco Pfatschbacher
Convert parser to strtoll(3) and use 64bit printf. With help from mickey@ i386 and amd64 tests by me, alpha test by mickey@ OK mickey@, miod@, deraadt@
2006-06-06use _C_LABEL() instead of _Michael Shalayeff
2006-05-21some diskless pointers; ok deraadtJason McIntyre
2006-05-20push a BOOTARG_BOOTMAC (what PXE says is the MAC address of the interfaceTheo de Raadt
we are booting from) out towards the kernel; tested by reyk crank the version too
2006-05-15better wording for the "memory" section;Jason McIntyre
2006-05-13sensible english; ok jmc; from graham.gower@gmail.comTheo de Raadt
2006-03-27kill unused extern in ifdef DEBUG evenMichael Shalayeff
2006-02-14Fix botched format string specifiers. From adobriyan at gmail.com.Aaron Campbell
2006-01-13Fix printf format string due to types changeTodd C. Miller
2006-01-02Correctly set the %di register on PXENV calls. This should helpTom Cosgrove
older PXE clients get a bit further. Prompted by Rolf Sommerhalder's comments on misc@. ok krw@ (thanks) "no objection" mbalmer@ "go for it" fgsch@ "fine" deraadt@
2005-12-30Now that errno.h and sys/errno.h are separate header files there is noTodd C. Miller
need to use the -Derrno=errno workaround added when __errno() was introduced. OK deraadt@
2005-11-27ISOXXX/ISO-XXX -> ISO XXXJason McIntyre
2005-11-14convert and remove the last traces of i386_round_page(),Martin Reindl
i386_trunc_page(), i386_btop() and i386_ptob()
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