| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
| |
At a minimum, amd64/i386 should now boot from 4TB GPT formatted disks.
More daddr32_t terminations with extreme prejudice to follow.
Tested by various, in snaps for a few days.
ok deraadt@
|
| |
|
|
|
|
|
|
|
|
|
|
| |
If loadrandom() succeeds, set RB_GOODRANDOM in boothowto.
To enable fchmod(), disk_open() has to mount the filesystem in writable
mode. This is tricky because the filesystem might be unclean. Hence the
code has to use MNT_FORCE.
Input and OK deraadt@
|
|
|
|
|
|
|
|
| |
Load the kernel image from the filesystem upfront in rdboot and pass
the loaded image to octboot(4)'s kexec call in a memory buffer. As a
result, octboot(4) does not rely on a mounted filesystem.
OK deraadt@
|
| |
|
|
|
|
| |
OK deraadt@
|
| |
|
| |
|
|
|
|
|
|
| |
inspect the memory layout that the firmware has created. It is
especially useful for UEFI debugging.
OK deraadt@ kettenis@
|
|
|
|
|
| |
it larger than RC4STATE. A long discussion ensued. In conclusion all
entropy inputs are either satisfactory enough, or just as shitty at 512.
|
|
|
|
|
|
|
|
|
| |
section, which has grown a fair bit with the introduction of retguard.
Mortimer discovered the repeated 512-byte sequence as retguard keys, and
this resolves the issue. (Chacha does not fit on the media, so 1.5K early
drop RC4 is hopefully sufficient in our KARL link universe)
Version crank the bootblocks. sysupgrade -s will install new bootblocks.
ok djm mortimer
|
| |
|
|
|
|
|
|
| |
approach was not right, and there is still room for improvement.
OK deraadt@
|
| |
|
|
|
|
| |
OK deraadt@
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
The firmware on OCTEON machines usually does not provide an interface
for accessing devices, which has made it tricky to implement an OpenBSD
bootloader. To solve this device access problem, this new loader has
been built on top of a small kernel. The kernel provides all the
necessary devices drivers, while most of the usual bootloader logic
is in a userspace program in a ramdisk.
The loader program is accompanied by a special device, octboot(4).
The main purpose of this device is to implement a mechanism for
loading and launching kernels. The mechanism has been inspired by Linux'
kexec(2) system call.
The bootloader will be enabled later when it is ready for general use.
Discussed with deraadt@
|
|
|
|
| |
memcpy() correct behaviour. This also brings the bcopy() macro into line.
|
| |
|
|
|
|
|
| |
details from the ELF header instead of faking it.
Proposal from mlarkin, tested on most architectures already
|
| |
|
|
|
|
|
|
|
|
|
| |
defer their creation to later, so that they are owned by BUILDUSER.
This eliminates the last root-owned files in obj/ from 'make build'.
In addition, place a MACHINE == hppa test in hppa/stand/Makefile.inc
to avoid creating bogus symlinks on all other archs.
joint work with & ok natano, "let's try it" deraadt
|
|
|
|
|
|
| |
reinstate the original of 115200
spotted by brad
|
|
|
|
| |
Same thought from kettenis@, ok krw@ phessler@ millert@
|
|
|
|
|
| |
as discussed with jsing@ it's easier this way to ensure people have
bootblocks capable of loading the section
|
|
|
|
| |
ok millert@ kettenis@
|
|
|
|
|
|
|
|
|
|
|
|
| |
correctly - logically complete that now by removing MLINKS from base;
authors need only to ensure there is an entry in NAME for any function/
util being added. MLINKS will still work, and remain for perl to ease
upgrades;
ok nicm (curses) bcook (ssl)
ok schwarze, who provided a lot of feedback and assistance
ok tb natano jung
|
|
|
|
|
|
| |
all the local ones to ``nticks''.
ok stefan@, deraadt@
|
|
|
|
|
| |
and convert all gets() users.
ok deraadt@
|
|
|
|
| |
ok deraadt@
|
|
|
|
| |
but this time for bootdev(). defaults to octcf0a if all else fails.
|
| |
|
|
|
|
| |
"sure" miod@
|
|
|
|
| |
- remove unused define
|
| |
|
|
|
|
| |
ok miod@
|
|
|
|
|
|
|
| |
pass it to the kernel later on. also use it to get the clock frequency.
- implement getsecs() so the bootprompt timeout works
input/ok miod@ pirofti@
|
| |
|
|
|
|
|
|
| |
wreaking havoc.
from miod@
|
| |
|
|
|
|
|
|
|
|
|
|
| |
is the right approach
- write into _THR instead of _RBR for cnputc() as per miod's suggestion
this doesn't fix the first character that gets eaten, but it's the right way
to move forward.
with pirofti@
|
| |
|
| |
|
|
|
|
|
|
| |
- call boot() so we get to play with the prompt; turns out there's an issue
where the first 2-3 readline reads from the uart result in no data...to be
investigated.
|
| |
|
|
|
|
|
|
|
| |
broke printing characters to the early console.
discussed with pirofti@ and uebayasi@
ok uebayasi@
|
|
|
|
| |
- remove commented and unneeded SRCS
|
|
|
|
| |
point accordingly.
|
|
committing it now so I can work on this in tree.
|