tmm
60d66be3df
NFS support should be conditional on LOADER_NFS_SUPPORT, not
...
LOADER_NET_SUPPORT.
2003-07-11 16:12:50 +00:00
jake
fc203320de
Remember to release the loader's heap.
...
Reviewed by: tmm
2003-06-15 19:16:43 +00:00
peter
0c9f89b00a
Commit a missed change to keep in sync with the MI elf loader.
2003-05-01 04:39:22 +00:00
peter
a2b7260f7d
Also look for an "elf64 kernel" (for sparc64) and "elf32 kernel" (for
...
powerpc) when building metadata.
2003-04-30 22:00:16 +00:00
jake
aa8a03363d
Fix breakage from earlier inadvertant changes.
2002-12-20 04:32:10 +00:00
jake
081cb688ba
Renamed the loader's zipfs to gzipfs. zipfs.c was repo-copied to gzipfs.c.
2002-12-19 19:34:59 +00:00
jake
73d398d702
Change the device path representation in libofw to use the full firmware
...
path, instead of an internal i386 specific one. Don't try to interpret
a disklabel in ofw_disk.c, open the partition's device node directly and
let the firmware do it. This fixes booting from a partition other than 'a'
on sparc64, which is needed to support more installation methods.
No objection: ppc
2002-11-10 19:17:36 +00:00
tmm
bef256b79f
Pass the right number of tlb slots to the kernel. The allocation scheme
...
was changed in r1.4, but I neglected to update most of the code in
metadata.c.
Pointy hat to: tmm
2002-10-18 23:49:18 +00:00
jake
083845b5c0
Compile in support for zipfs and bzipfs so we can load the gzipped mfsroot
...
that releases use.
2002-10-13 18:52:46 +00:00
jake
7eb367b57b
Remove NOFORTH=yes, it seems to work now thanks to scottl.
2002-09-02 01:11:46 +00:00
robert
d5203d1ff8
- Do not pretend to compile a kernel and remove the definition
...
of the _KERNEL macro.
- Do not include <sys/pcpu.h> for no reason.
Suggested by: jake
2002-08-21 15:52:23 +00:00
robert
e5cb539085
- Define the macro _KERNEL to pretend we are compiling a kernel.
...
This is required by recent changes to <sys/pcpu.h>, which uses
the #error preprocessor directive to keep non-kernel
applications from using it.
_KERNEL is defined below the #include <stand.h>, because <stand.h>
removes the definition of _KERNEL.
- Move the inclusion of <sys/queue.h> above the inclusion of
<sys/linker.h> to avoid syntax errors.
2002-08-21 12:45:36 +00:00
jake
2eb842c01d
Print out the strings in vers.o instead of hardcoding the loader banner.
2002-08-04 01:30:26 +00:00
jake
e06b8c244d
Enable netboot support by default, since it can now coexist with disk and
...
cdrom support. This avoids having to distribute separate loaders.
2002-07-07 23:08:22 +00:00
jake
0985bbadd9
Make building with ficl work. Unfortunately booting with it doesn't.
2002-07-07 18:23:10 +00:00
jake
070181b525
Enable cd9660 support by default.
2002-06-21 22:34:51 +00:00
peter
9fb8326f23
Add boot_serial and boot_multicons variables to set RB_SERIAL and
...
RB_MULTIPLE since this seems to be the easiest way to add these flags
for non-forth loaders etc.
2002-06-20 06:29:42 +00:00
jake
8511f99ef3
Add needed include of queue.h. Remove unneeded include of smp.h.
2002-05-29 19:38:49 +00:00
jake
2a45651b25
Use a contrived 'tlb_entry' structure for passing the mappings for the
...
kernel text and data from the loader to the kernel, so that the tte format
is not part of the loader->kernel ABI.
2002-05-29 05:49:59 +00:00
jake
d314b7908f
Sync with i386. The loader was being installed before the beforeinstall
...
target, which conventiently moved it to loader.old, leaving no loader.
2002-05-28 23:09:59 +00:00
trhodes
28d42899b7
More s/file system/filesystem/g
2002-05-16 21:28:32 +00:00
jake
2923a1a3ac
Attempt to not crash and burn on UltraSPARC III machines; the cpuid property
...
is named differently.
2002-05-11 22:05:22 +00:00
obrien
ce04447cdf
-ffreestanding is the word.
...
(also resort some CFLAGS such that the more "important" value are first so
they are easier to see)
2002-05-10 09:26:35 +00:00
tmm
eb20435a69
Do not use semi-fixed TLB slots for the 4M kernel pages any more.
2002-04-02 17:10:15 +00:00
tmm
2025cfe33a
1.) Rename locore.s to locore.S (by repocopy), to be able to remove
...
special-case make rule
2.) Cleanups, remove superfluous expicit rules, add -nostdlib to LDFLAGS,
remove -X and -g, remove -g from CFLAGS
3.) Add BINDIR
4.) Build install the loader help file, add an empty help.sparc64
5.) Change the default configuration to only support booting from disk
6.) Get libofw.a from a path relative ${.OBJDIR}, not ${.CURDIR}
Submitted by: jake (1 - 5), obrien (6)
2002-04-02 17:08:37 +00:00
tmm
a683bcc922
Add support for booting from CD-ROM. Make it possible to enable UFS
...
support using make arguments.
2002-04-01 23:28:35 +00:00
jake
7d70ce2abc
Catch up to change in tte format.
...
Forgetten by: jake
Submitted by: tmm
2002-03-01 06:17:28 +00:00
jake
33e8ee5265
Keep track of the ttes used to map the kernel and pass them to it as loader
...
metadata. Modify tlb handling functions to take a tte, instead of virtual
address, physical address and flags.
2002-02-23 11:06:37 +00:00
jake
ce801add09
Add make variables for fs support and propagate them to CFLAGS. Put
...
-ffreestanding in CFLAGS. Remove unnecessary LDFLAGS.
2002-02-23 04:35:28 +00:00
jake
c34e322792
Fix fs support ifdefs. Add tftp support. Add physical and virtual
...
watchpoint support for debugging (under LOADER_DEBUG). Claim the
physical and virtual addresses used to map the kernel from the prom;
we map it ourselves behind the scenes though. Add a reboot command.
Submitted by: tmm
2002-02-23 04:04:30 +00:00
jake
9ee486a3f2
Allocate a frame on our initial stack so that it doesn't run off into
...
random memory. Disable interrupts while loading the tlb.
Submitted by: tmm
2002-02-23 03:38:18 +00:00
jake
cd8694ee32
Include <machine/metadata.h>.
2002-02-23 03:33:39 +00:00
robert
099b3fa082
Avoid having the text and data sections merged into one program
...
header table entry by removing the -N flag from the LDFLAGS.
2001-12-28 22:12:38 +00:00
jake
cf11e2a00d
Add code to copy the enironment and loader metadata into kernel space.
2001-10-30 06:37:36 +00:00
jake
db9bc81630
Add definitions for network support, doesn't work yet.
...
Pass the right arguments to the kernel.
Replace magic numbers with symbolic constants.
Pass the real openfirmware entry point to OF_init.
2001-10-30 06:31:45 +00:00
jake
2fe78b0a1e
Use ENTRY() for defining functions in asm.
...
Remove asm functions to call the openfirmware and kernel entry points;
we can just call them directly.
Don't use the stack pointer for an intermediate result in setx.
Put the stack in the bss.
2001-10-30 06:27:34 +00:00
robert
ffc6df5e2b
Fix some warnings.
2001-10-15 14:40:36 +00:00
robert
c710d21b7e
Add the FreeBSD/sparc64 boot loader source files.
2001-10-15 14:35:39 +00:00
robert
d4a2167afc
Add a Makefile for the sparc64 boot loader.
2001-10-15 10:36:35 +00:00