summaryrefslogtreecommitdiff
path: root/sys/arch/i386/stand/boot
AgeCommit message (Collapse)Author
2015-11-23downfalls -> pitfallsmmcc
2015-09-18Remove support for building the boot blocks with DEBUGFLAGS=-D_TEST, which isMiod Vallat
supposed to create a userland binary in order to test non-boot related functionality. This feature has been bitrotting in a non-compiling state for years, and causes a too-many-ifdefs disease now that there are intrusive EFI changes. No functional change.
2015-09-10reduce .Nd to one line and kill .Tn while hereIngo Schwarze
2015-09-02Bring the boot changes on amd64 to i386. alloca is deleted.YASUOKA Masahiko
Also fix the boot from BIOS and bump the version. input and ok deraadt
2015-06-22document that boot.conf can contain comments;Jason McIntyre
from tilo stritzky thanks miod for help with the diff, and who also noted that leading whitespace gets stripped too;
2015-01-24correct the syntax description of the boot command; ok jmc@Christian Weisgerber
2014-07-13move putchar() into libsaJasper Lievisse Adriaanse
"sure" miod@
2014-07-12move getchar() into libsa where applicableJasper Lievisse Adriaanse
ok miod@
2014-02-18Bump version numbers.Joel Sing
2014-01-02crank version after random instruction fix from jsingTheo de Raadt
2013-12-28Further clean up and unification of the amd64 and i386 boot(8) makefiles.Joel Sing
2013-12-28crank the versionTheo de Raadt
2013-12-28Try to load entropy data from disk:/etc/random.seed, and additionallyTheo de Raadt
use a MD-supplied random function. Then, insert this into the ELF openbsd.randomdata of the kernel, so that it has entropy right from the start. Some help from jsing for the softraid aspects. Also tested by phessler
2013-11-06Document 'machine boot' in boot(8) on i386 and amd64.Bryan Steele
"fine" deraadt@
2013-10-28Document softraid boot process for i386/amd64.Stefan Sperling
Requested by Adam Thompson. suggestions and ok deraadt, earlier version ok jmc
2013-10-25some cleanup for "machine memory";Jason McIntyre
2013-10-23Crank bootblock versions after last commitMike Larkin
2013-10-23Allow uppercase "K/M/G" specification in "machine memory" boot command.Mike Larkin
ok guenther, dlg, deraadt
2013-10-20Add i386/amd64 boot(8) support for keydisk-based softraid crypto volumes.Stefan Sperling
So far, only passphrase-based crypto volumes were bootable. Full disk encryption with keydisks required a non-crypto partition to load the kernel. The bootloader now scans all BIOS-visible disks for RAID partitions and automatically associates keydisk partitions with their crypto volume. Attempting to boot from a volume without its keydisk currently results in a passphrase prompt (this might be changed in the future). There is no need to re-create existing volumes. Moving the root partition onto the crypto disk and running installboot(8) is all that's needed. help & ok jsing
2013-06-02Revert previous: libsa/ufs.c was fixed to not use big types when notPhilip Guenther
necessary. If something crawls in again that needs these we want to know ok deraadt@
2013-04-23Include udivdi3/umoddi3 when compiling the amd64/i386 boot blocks - theyJoel Sing
are needed for the upcoming type changes. ok deraadt@
2013-04-23Remove softraid boot support from fdboot (again).Joel Sing
2013-03-21NBPG -> PAGE_SIZE, PGSHIFT -> PAGE_SHIFT, PGOFSET -> PAGE_MASKTheo de Raadt
2013-01-18fix bogus dependencies, and allow mkdep to runMarc Espie
checked on amd64 by rpe@ okay jsing@
2013-01-18Generate assym.h where we need it, instead of reaching around into otherJoel Sing
object directories.
2013-01-18Clean up/standardise makefiles for i386/stand.Joel Sing
2012-10-31Unbreak build on !i386.Joel Sing
Pointed out by deraadt@
2012-10-31Bump i386 boot(8) version.Joel Sing
2012-10-31Enable softraid boot support for i386 boot(8).Joel Sing
2012-10-13Only build fdboot on the appropriate architectures. Also fix the path toJoel Sing
check-boot.pl so that it works with both boot and fdboot.
2012-10-12Now that the file offset/alignment issue has been found and fixed, switchJoel Sing
back to using -N when linking i386 boot(8). This prevents issues with the .data file offset becoming mismatched with its LMA, once the binary grows.
2012-10-12Force 16 byte alignment in boot(8) srt0.S, since this is more likely to getJoel Sing
the required file offset (0x120) for the .text segment.
2012-10-12Add a script that checks the file offsets for boot(8)'s .text and .dataJoel Sing
sections match up with their LMAs. This is necessary since biosboot does not perform relocation. Discussed with deraadt@
2012-10-12Build a 'fdboot' that will be used for floppy disk media. This can be madeJoel Sing
smaller than the normal 'boot', however for now it is identical. ok deraadt@
2012-10-09Bump boot versions due to recent changes.Joel Sing
2012-10-09Remove -noinhibit-exec now that we no longer have to deal withJoel Sing
"relocation truncated" linker errors.
2012-10-09Dynamically build the Interrupt Descriptor Table (IDT), instead of usingJoel Sing
a static table. This allows the IDT to be placed in .bss and avoids the "relocation truncated" errors that result from the linker trying to put a 32-bit address into a 16-bit hole. With input from Marco Peereboom. ok weingart@
2012-09-27remove the zlib rfc text: these pages already point to gzip(1), whichJason McIntyre
has the references, and the rfc is not that relevant anyway;
2012-09-25Reduce the diff between amd64/stand and i386/stand, requested by deraadt@.Pascal Stumpf
These create essentially the same bootblocks, so the build system should not be diverging too much, or at least easily diffable. There is still a lot of work to be done here, but this is the low-hanging fruit. ok jsing@
2012-08-29Kill all NOPIE and NOPIE_FLAGS in i386/stand, replacing them with -fno-piePascal Stumpf
and -nopie directly. Binaries from a PIE system are identical to those from a recent snapshot. ok deraadt@
2012-08-21Add NOPIE= bits for sys/arch/*/stand to ensure that bootblocks will always bePascal Stumpf
built with -fno-pie. This gets the hairiest part of PIE out of the way ... ok deraadt@
2012-08-15use Lk for links;Jason McIntyre
2012-06-11serial -> serial port; ok phessler@Otto Moerbeek
2012-06-10Document the "machine comaddr" command.Mark Kettenis
2012-06-03Add support for serial consoles at non-standard addresses. This implementsMark Kettenis
a new "machine comaddr" command that makes it possible to configure the io port used to access the serial port. This can be used to use serial ports on a puc(4) device as serial console.
2011-11-06Build boot(8) for i386 in the same manner that we build boot(8) for amd64 -Joel Sing
specify a list of source files to compile, instead of building and linking against libraries. ok deraadt@
2011-04-26Make amd64/i386 boot(8) pass the DUID of the selected boot device to theJoel Sing
kernel so that it can use it to identify the root disk. This will be needed in order to correctly boot from a softraid volume. ok deraadt@ marco@ krw@
2011-03-08Fix extended partition searching so we don't get lost. The offsetKenneth R Westerback
of the next EBR is relative to the start of the extended partition described in the first MBR, not relative to the EBR specifying the offset in its extended partition entry. Clean up installboot -v output. Use daddr64_t for all sector numbers. Not a complete fix, but better than what we had. More tweaks to come. Inspired by a diff and cluebat from uscav on tech@ a few weeks ago. Feedback from matthew@, weingart@. ok deraadt@
2010-12-06- properly remove NENTS now after fixing the fallout.Jasper Lievisse Adriaanse
ok deraadt@
2010-12-06- partially revert previous NENTS removal for arches which got busted.Jasper Lievisse Adriaanse