| 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@
|
|
|
|
|
|
| |
Return an error if write is requested, only reading is implemented.
Set *cnt only if the pointer is non-NULL.
|
| |
|
|
|
|
| |
operations for ufs and ufs2 into the file_system[] array ...
|
| |
|
|
|
|
|
| |
(fchmod +T by bootcode, chmod 600 by /etc/rc). If the seed is reused, and
HWRNG isn't available, the kernel won't get RB_GOODSEED indication...
|
|
|
|
|
|
| |
relax the fstat() check because the system will have left the file
in the right mode.
ok visa kettenis
|
|
|
|
|
|
| |
Tested with boot64 on IP30. State of boot32 and bootecoff is unknown.
OK otto@, deraadt@
|
|
|
|
|
|
|
|
|
| |
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
|
| |
|
|
|
|
| |
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
|
|
|
|
|
|
|
| |
sectors (installXX.iso). The change to properly locate the disklabel,
introduced after 6.0, assumed incorrectly 512 byte sectors.
Diff from miod@
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
| |
assuming that the 'a' partition starts at the same location as the
volume header partition #0.
Diff from Miod Vallat
|
|
|
|
|
| |
as discussed with jsing@ it's easier this way to ensure people have
bootblocks capable of loading the section
|
|
|
|
| |
ok millert@ kettenis@
|
|
|
|
| |
ok beck@ deraadt@
|
|
|
|
|
|
| |
this work better than it does now. Eliminates a stray use of LABELSECTOR.
ok miod@
|
| |
|
| |
|
|
|
|
| |
after discussions with beck deraadt kettenis.
|
|
|
|
| |
ok dlg@ mpi@ deraadt@
|
| |
|
| |
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
| |
boot blocks to fail on IP27 and IP35 (IP26, IP30 and 32-bit ARCBios systems
unaffected).
While there, provide a simpler ARC_Call() macro for 32-bit boot blocks, and
put a few more variables and statements within explicit __LP64__ guards.
Crank boot blocks version as well.
|
|
|
|
|
|
| |
which allows them to run on IP26 (POWER Indigo2 R8000).
Crank boot blocks version.
|
|
|
|
| |
tested by and ok deraadt@
|
|
|
|
|
|
| |
built with -fno-pie. This gets the hairiest part of PIE out of the way ...
ok deraadt@
|
|
|
|
|
| |
ECC checking disabled, which allows the existing Indigo2 drivers to run
unmodified.
|
|
|
|
|
|
|
|
|
|
|
|
| |
recognize a kernel bootpath (when not autobooting) even if it does not start
with a /, and will also recognize when this is a full path (e.g.
bootp()mykernel), in which case OSLoadPartition does not need to be
prepended to the constructed path.
This will allow ELF kernels to be booted on ELF-unaware PROM with
bootp()bootecoff bootp()kernel
without doomed-to-fail tomfoolery to convert the 64-bit ELF kernel to a
32-bit ECOFF binary.
|
|
|
|
| |
some ARCBios don't like this.
|
|
|
|
|
|
|
|
| |
is bootp() instead of a disk). Kind of ugly because of the usual `can't seek'
problem causing kernels with symbols to be read from the network twice.
While there, add a 32 bit ECOFF boot block, not hooked to the build yet,
to be used shortly.
|
|
|
|
| |
integer zero is intended.
|
|
|
|
|
|
|
| |
do 32-bit block spanning. If later on we get some that can/should do
64-bit, that can be done now using daddr64_t (but of course, we are taking
this step to finalize the daddr_t 64-bit conversion).
ok miod krw
|
| |
|
|
|
|
| |
fallout from using -mno-abicalls noticed by jsing@
|
|
|
|
| |
ok jsing
|
|
|
|
|
| |
for the platform we are running on (i.e. trying to boot e.g. bsd.IP32 on an
IP27 machine).
|
| |
|
|
|
|
| |
accordingly.
|
| |
|
| |
|
|
|
|
| |
load bsd.rd but bsd.rd.IP## matching the IP code of the machine.
|
|
|
|
|
|
|
| |
as a relocatable object, suitable for IP27/IP30/IP35.
Boot blocks are now found is /usr/mdec/boot{32,64}, with boot-IP## being
hard links to them for easy boot block pick.
|
|
|
|
|
|
|
|
|
| |
necessary, to allow the same C code to be used against 32 bit ARCBios, when
compiled in 32 bit mode, or against 64 bit ARCBios, when compiled in native
mode.
Soon to be used by the boot blocks; this commit doesn't introduce any
functional change yet.
|
|
|
|
|
|
| |
than rolling our own load functions.
tested jasper@, feedback and ok miod@
|
|
|
|
|
|
| |
rather than just rebooting.
ok deraadt@, miod@, jasper@
|
|
|
|
| |
ok miod@
|