Age | Commit message (Collapse) | Author | |
---|---|---|---|
2013-11-13 | Use DL_GETPOFFSET() to get partition offset, except where we | Kenneth R Westerback | |
explicitly check p_offseth before assigning p_offset to local variables. Add missing check for p_offseth. | |||
2013-11-06 | Document 'machine boot' in boot(8) on i386 and amd64. | Bryan Steele | |
"fine" deraadt@ | |||
2013-11-05 | Sigh. How many typos can be made in one diff. Fix DL_SETPSOFFSET() to | Kenneth R Westerback | |
be DL_SETPOFFSET(). | |||
2013-11-05 | DL_SETDSIZE() and DL_SETPSIZE() are not the same thing. Use the latter | Kenneth R Westerback | |
to set partition size. Fixes tree breakage found by Scott McEachern. | |||
2013-11-05 | Replace direct references to p_size, p_offset and d_secperunit with | Kenneth R Westerback | |
DL_[GET|SET]PSIZE(), DL_[GET|SET]POFFSET(), DL_[GET|SET]DSIZE() in order to get|set correct value that includes the high bits of the value. | |||
2013-10-28 | Document softraid boot process for i386/amd64. | Stefan Sperling | |
Requested by Adam Thompson. suggestions and ok deraadt, earlier version ok jmc | |||
2013-10-25 | some cleanup for "machine memory"; | Jason McIntyre | |
2013-10-23 | Crank bootblock versions after last commit | Mike Larkin | |
2013-10-23 | Allow uppercase "K/M/G" specification in "machine memory" boot command. | Mike Larkin | |
ok guenther, dlg, deraadt | |||
2013-10-20 | Add 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-11 | final removal of daddr64_t. daddr_t has been 64 bit for a long enough | Theo de Raadt | |
test period; i think 3 years ago the last bugs fell out. ok otto beck others | |||
2013-06-02 | Revert previous: libsa/ufs.c was fixed to not use big types when not | Philip Guenther | |
necessary. If something crawls in again that needs these we want to know ok deraadt@ | |||
2013-04-23 | Include udivdi3/umoddi3 when compiling the amd64/i386 boot blocks - they | Joel Sing | |
are needed for the upcoming type changes. ok deraadt@ | |||
2013-04-23 | tedu unused makefiles. | Joel Sing | |
2013-04-23 | Remove softraid boot support from fdboot (again). | Joel Sing | |
2013-04-04 | zap redundant assignments | Alexander Hall | |
2013-03-23 | Avoid using DEV_BSHIFT, and use DEV_BSIZE instead. | Theo de Raadt | |
2013-03-21 | NBPG -> PAGE_SIZE, PGSHIFT -> PAGE_SHIFT, PGOFSET -> PAGE_MASK | Theo de Raadt | |
2013-01-18 | fix bogus dependencies, and allow mkdep to run | Marc Espie | |
checked on amd64 by rpe@ okay jsing@ | |||
2013-01-18 | Generate assym.h where we need it, instead of reaching around into other | Joel Sing | |
object directories. | |||
2013-01-18 | Clean up/standardise makefiles for i386/stand. | Joel Sing | |
2013-01-16 | properly distinguish /boot and biosboot in informational and error messages | Christian Weisgerber | |
ok guenther@ | |||
2013-01-02 | Zero out sbv_maskkey to make it boot when there's a softraid crypto | Martynas Venckus | |
partition. OK jsing@. | |||
2012-11-01 | Fix merge errors. | Joel Sing | |
Found the hard way by deraadt@ | |||
2012-10-31 | Unbreak build on !i386. | Joel Sing | |
Pointed out by deraadt@ | |||
2012-10-31 | Bump version numbers. | Joel Sing | |
2012-10-31 | Enable softraid boot support for cdboot(8) and pxeboot(8). | Joel Sing | |
2012-10-31 | Make cdboot(8) and pxeboot(8) work correctly when it is larger than 64KB in | Joel Sing | |
size. When relocating use blocks that are a maximum of 32KB in size and increment the segment registers after relocating each block. This keeps us within the confines of the %cx register and the real mode segmented addressing. | |||
2012-10-31 | Save and restore %ebx across the call to read. Otherwise we load the first | Joel Sing | |
64KB segment at 0x7c00 and any additional 64KB segments over top of each other at 0x10000. | |||
2012-10-31 | Bump i386 boot(8) version. | Joel Sing | |
2012-10-31 | Enable softraid boot support for i386 boot(8). | Joel Sing | |
2012-10-31 | Bring softraid support to i386/stand/libsa. | Joel Sing | |
2012-10-30 | Apply a bunch of style(9) and whitespace fixes to i386/amd64 libsa, making | Joel Sing | |
the code actually diffable. No binary change. | |||
2012-10-30 | Actually remove the Makefiles. | Joel Sing | |
2012-10-30 | Remove the now unused i386 libsa/libz Makefiles. | Joel Sing | |
ok deraadt@ | |||
2012-10-29 | add (consistent) STANDARDS; | Jason McIntyre | |
2012-10-29 | Build i386 cdboot(8) and pxeboot(8) using the same method as the amd64 | Joel Sing | |
versions. Compile all required sources directly, rather than linking against uninstalled libraries. Discussed with deraadt@ | |||
2012-10-25 | Some LIBC_SCCS found lurking in the shadows | Theo de Raadt | |
2012-10-13 | pxe spec reference is better placed in STANDARDS; | Jason McIntyre | |
2012-10-13 | Only build fdboot on the appropriate architectures. Also fix the path to | Joel Sing | |
check-boot.pl so that it works with both boot and fdboot. | |||
2012-10-12 | Now that the file offset/alignment issue has been found and fixed, switch | Joel 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-12 | Force 16 byte alignment in boot(8) srt0.S, since this is more likely to get | Joel Sing | |
the required file offset (0x120) for the .text segment. | |||
2012-10-12 | Add a script that checks the file offsets for boot(8)'s .text and .data | Joel Sing | |
sections match up with their LMAs. This is necessary since biosboot does not perform relocation. Discussed with deraadt@ | |||
2012-10-12 | Build a 'fdboot' that will be used for floppy disk media. This can be made | Joel Sing | |
smaller than the normal 'boot', however for now it is identical. ok deraadt@ | |||
2012-10-11 | Initialise the protected mode IDT after zeroing .bss - otherwise we wipe | Joel Sing | |
the IDT that we have just finishing building. | |||
2012-10-09 | Bump boot versions due to recent changes. | Joel Sing | |
2012-10-09 | Put the real mode IDT and the GDT back in .text - having them in .data only | Joel Sing | |
works if .data is within the same segment. | |||
2012-10-09 | Remove -noinhibit-exec now that we no longer have to deal with | Joel Sing | |
"relocation truncated" linker errors. | |||
2012-10-09 | Dynamically build the Interrupt Descriptor Table (IDT), instead of using | Joel 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-10-08 | Avoid accessing .data or .bss from real mode, since they may not be within | Joel Sing | |
the current segment. Load and store the necessary BIOS registers from protected mode, preserving the register values across the real mode and protected mode switches by directly patching instructions. This allows for boot(8) to be larger than 64KB. |