Age | Commit message (Collapse) | Author |
|
loadfile or a derivative of.
|
|
in libkern from getting a ".abicalls" pseudo-op from including <machine/asm.h>;
this will in turn flag the .o file as PIC even though it doesn't contain PIC
code, really.
This gets rid of the annoying "linking PIC files with non-PIC files" warnings
spewed by ld at link time.
|
|
unresolved symbols, then as a relocatable image as initially intended. This
will prevent the arcbios.c 1.18 breakage from occuring again.
|
|
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@
|
|
sector rather than just the bytes for the volume header itself.
Silences the "sloppy I/O" warnings triggered by sgi's distrib scripts.
tested and 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.
|
|
(IP20, IP22, IP24) in 64-bit mode, adapated from NetBSD. Currently limited
to headless operation, input and video drivers will get ported soon.
Should work on all R4000, R4440 and R5000 based systems. L2 cache on R5000SC
Indy not supported yet (coming soon), R4600 not supported yet either (coming
soon as well).
Tested to boot multiuser on: Indigo2 R4000SC, Indy R4000PC, Indy R4000SC,
Indy R5000SC, Indigo2 R4400SC. There are still glitches in the Ethernet driver
which are being looked at.
Expansion support is limited to the GIO E++ board; GIO boards with PCI-GIO
bridges not ported yet due to the lack of hardware, and this kind of driver
does not port blindly.
Most of this work comes from NetBSD, polishing and integration work, as well
as putting as many ``R4x00 in 64-bit mode'' erratas as necessary, by yours
truly.
More work is coming, as well as trying to get some easy way to boot install
kernels (as older PROM can only boot ECOFF binaries, which won't do for the
kernel).
|
|
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.
|
|
"Go for it" deraadt@
|
|
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
|
|
ok miod
|
|
to the assembler now unless -mno-abicalls is specified.
|
|
gets rid of #include <sys/dkio.h> in sys/ioctl.h and adds #include
<sys/dkio.h> to the places that actually want and use the disk
ioctls.
this became an issue when krw@'s X build failed when he was testing
a change to dkio.h.
tested by krw@
help from and ok miod@
|
|
identifier, allowing the disk to be identified without relying on the
device name.
ok deraadt@ krw@ beck@ marco@ todd@
|
|
for the platform we are running on (i.e. trying to boot e.g. bsd.IP32 on an
IP27 machine).
|
|
|
|
spotted by deraadt@
|
|
|
|
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.
|
|
Whilst here, check the return value of fread() and improve error messages.
ok krw@ miod@
|
|
us to use sgivol on devices which have a sector size != DEV_BSIZE, such as
a CD drive.
ok miod@ krw@
|
|
|
|
declaring another.
ok miod@
|
|
Not sure what's more surprising: how long it took for NetBSD to
catch up to the rest of the BSDs (including UCB), or the amount of
code that NetBSD has claimed for itself without attributing to the
actual authors.
OK deraadt@
|
|
than rolling our own load functions.
tested jasper@, feedback and ok miod@
|
|
rather than just rebooting.
ok deraadt@, miod@, jasper@
|
|
ok miod@
|
|
|
|
From Iruata Souza <iru.muzgo@gmail.com>
|
|
option - if we ask sgivol(8) to manipulate the volume header we really
mean it. Also, use a single mode variable rather than a bunch of nutty
opt_* variables. Improve the man page and usage() whilst we're here.
Aside from the removal of '-f' there should be no functional changes.
ok miod@ jmc@.
|
|
|
|
|
|
|