summaryrefslogtreecommitdiffstats
path: root/sys/boot/sparc64/loader
Commit message (Collapse)AuthorAgeFilesLines
* Convert to __FBSDID.obrien2004-01-042-3/+7
|
* Set RB_SERIAL in boothowto if the firmware output-device is ttya or ttyb.jake2003-11-111-4/+6
| | | | | | This ensures that uart gets a higher console priority than syscons when a serial console is being used. Testing against the "console" environment variable doesn't make sense since we only have one loader console driver.
* NFS support should be conditional on LOADER_NFS_SUPPORT, nottmm2003-07-111-1/+1
| | | | LOADER_NET_SUPPORT.
* Remember to release the loader's heap.jake2003-06-151-1/+7
| | | | Reviewed by: tmm
* Commit a missed change to keep in sync with the MI elf loader.peter2003-05-011-4/+4
|
* Also look for an "elf64 kernel" (for sparc64) and "elf32 kernel" (forpeter2003-04-301-1/+3
| | | | powerpc) when building metadata.
* Fix breakage from earlier inadvertant changes.jake2002-12-201-4/+0
|
* Renamed the loader's zipfs to gzipfs. zipfs.c was repo-copied to gzipfs.c.jake2002-12-191-1/+4
|
* Change the device path representation in libofw to use the full firmwarejake2002-11-103-48/+25
| | | | | | | | | 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
* Pass the right number of tlb slots to the kernel. The allocation schemetmm2002-10-181-10/+4
| | | | | | | was changed in r1.4, but I neglected to update most of the code in metadata.c. Pointy hat to: tmm
* Compile in support for zipfs and bzipfs so we can load the gzipped mfsrootjake2002-10-132-0/+14
| | | | that releases use.
* Remove NOFORTH=yes, it seems to work now thanks to scottl.jake2002-09-021-1/+0
|
* - Do not pretend to compile a kernel and remove the definitionrobert2002-08-211-2/+0
| | | | | | | of the _KERNEL macro. - Do not include <sys/pcpu.h> for no reason. Suggested by: jake
* - Define the macro _KERNEL to pretend we are compiling a kernel.robert2002-08-211-1/+2
| | | | | | | | | | 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.
* Print out the strings in vers.o instead of hardcoding the loader banner.jake2002-08-041-2/+4
|
* Enable netboot support by default, since it can now coexist with disk andjake2002-07-071-3/+3
| | | | cdrom support. This avoids having to distribute separate loaders.
* Make building with ficl work. Unfortunately booting with it doesn't.jake2002-07-072-5/+10
|
* Enable cd9660 support by default.jake2002-06-211-1/+1
|
* Add boot_serial and boot_multicons variables to set RB_SERIAL andpeter2002-06-201-0/+2
| | | | | RB_MULTIPLE since this seems to be the easiest way to add these flags for non-forth loaders etc.
* Add needed include of queue.h. Remove unneeded include of smp.h.jake2002-05-291-1/+1
|
* Use a contrived 'tlb_entry' structure for passing the mappings for thejake2002-05-293-18/+18
| | | | | kernel text and data from the loader to the kernel, so that the tte format is not part of the loader->kernel ABI.
* Sync with i386. The loader was being installed before the beforeinstalljake2002-05-281-26/+39
| | | | target, which conventiently moved it to loader.old, leaving no loader.
* More s/file system/filesystem/gtrhodes2002-05-161-2/+2
|
* Attempt to not crash and burn on UltraSPARC III machines; the cpuid propertyjake2002-05-111-1/+2
| | | | is named differently.
* -ffreestanding is the word.obrien2002-05-101-1/+1
| | | | | (also resort some CFLAGS such that the more "important" value are first so they are easier to see)
* Do not use semi-fixed TLB slots for the 4M kernel pages any more.tmm2002-04-023-25/+24
|
* 1.) Rename locore.s to locore.S (by repocopy), to be able to removetmm2002-04-023-144/+21
| | | | | | | | | | | | 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)
* Add support for booting from CD-ROM. Make it possible to enable UFStmm2002-04-012-0/+27
| | | | support using make arguments.
* Catch up to change in tte format.jake2002-03-011-3/+3
| | | | | Forgetten by: jake Submitted by: tmm
* Keep track of the ttes used to map the kernel and pass them to it as loaderjake2002-02-234-35/+126
| | | | | metadata. Modify tlb handling functions to take a tte, instead of virtual address, physical address and flags.
* Add make variables for fs support and propagate them to CFLAGS. Putjake2002-02-231-9/+21
| | | | -ffreestanding in CFLAGS. Remove unnecessary LDFLAGS.
* Fix fs support ifdefs. Add tftp support. Add physical and virtualjake2002-02-231-12/+107
| | | | | | | | 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
* Allocate a frame on our initial stack so that it doesn't run off intojake2002-02-232-12/+24
| | | | | | random memory. Disable interrupts while loading the tlb. Submitted by: tmm
* Include <machine/metadata.h>.jake2002-02-231-0/+2
|
* Avoid having the text and data sections merged into one programrobert2001-12-281-1/+1
| | | | header table entry by removing the -N flag from the LDFLAGS.
* Add code to copy the enironment and loader metadata into kernel space.jake2001-10-302-2/+320
|
* Add definitions for network support, doesn't work yet.jake2001-10-301-27/+40
| | | | | | Pass the right arguments to the kernel. Replace magic numbers with symbolic constants. Pass the real openfirmware entry point to OF_init.
* Use ENTRY() for defining functions in asm.jake2001-10-302-156/+32
| | | | | | | 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.
* Fix some warnings.robert2001-10-151-4/+4
|
* Add the FreeBSD/sparc64 boot loader source files.robert2001-10-153-0/+658
|
* Add a Makefile for the sparc64 boot loader.robert2001-10-151-0/+76
OpenPOWER on IntegriCloud