Commit Graph

26 Commits

Author SHA1 Message Date
simonb 970b12080e Define LIB{CRT0,C,CRTBEGIN,CRTEND} as nothing, we don't need to link
against them.
2003-10-08 01:40:22 +00:00
tsutsui 026b6946bd Fix typo. From Christopher SEKIYA. 2003-09-28 08:21:08 +00:00
agc aad01611e7 Move UCB-licensed code from 4-clause to 3-clause licence.
Patches provided by Joel Baker in PR 22364, verified by myself.
2003-08-07 16:26:28 +00:00
rafal 090fac3d8b Update for devopen() change. 2003-03-17 03:07:14 +00:00
rafal 5bd093cfbd If the boot device starts with a PCI bus spec, skip over that when looking
for a boot device type; this gets the boot.ip32 booting a kernel off disk.

While here remove some unrolled string compares in favor of strncmp() to
make code more readable.
2003-03-17 03:04:51 +00:00
simonb 3a93f29238 Update for LFSv2 support. Ports that have "bootxx_lfs"-style
bootblocks currently only support LFSv2, but the second level
"boot" program supports both LFS versions.
2003-02-23 23:23:07 +00:00
pooka 2f32342d20 also create boot.ip32 with the entry point set to the IP32 load address
from Chris Sekiya
2002-12-23 19:31:24 +00:00
lukem 7f7f9da211 minor delint 2002-12-13 02:36:37 +00:00
thorpej 9972dfbbbf Add "-mno-abicalls" to AFLAGS. Add "-ffreestanding -msoft-float" to
CFLAGS.
2002-11-10 17:12:58 +00:00
rafal 695a5c114c Cleanup and enhancements to sgivol, mostly from Scott G. Taylor, with some
tweaking by me.  Specifically, this gives sgivol an "unattended" mode that
can be used from eg. sysinst to install the bootblocks.
2002-07-18 16:02:42 +00:00
rafal fa5c0332f8 Fix PR port-sgimips/17568: the PROM on early Indigo2 machines did not like
the ECOFF version of boot produced by `objcopy'.  Using elf2ecoff make it
work, so use that instead.  Also, don't bother stripping the bootblocks on
install (as that confuses strip, at least for the ECOFF one, and since the
build already strips them).
2002-07-12 13:04:03 +00:00
rafal 3ac921616c Make sure to read from stdin, not stdout. From Scott Taylor. 2002-05-21 21:53:35 +00:00
simonb 707b8da2e8 Replace lots of 8x<space> with <tabs> and other miscellaneous indentation
fixes.
Wrap a couple of long lines.
Use <return-type>\n<function name> as per KNF in a few places.
2002-03-13 13:12:25 +00:00
thorpej e091c2afd1 Add -Dsgimips to CPPFLAGS. 2001-12-20 20:30:59 +00:00
tv 8e6f7afb5b MKfoo=no -> NOfoo 2001-12-12 01:48:43 +00:00
soren 6c3e025b46 Nuke cleandir target override. 2001-11-22 02:18:24 +00:00
soren b63ced481c Note kernel load adress change. 2001-11-22 01:30:03 +00:00
thorpej aabfa72384 - Clean up the bootloader Makefiles somewhat.
- Build an ECOFF version of the bootloader as "boot".  As a temporary
  measure (due to a bug in libbfd which has not yet been fixed, but
  for which a work-around exists as a patch), install and ELF version
  of the bootload as well as "boot.elf".  "boot.elf" will go away once
  the toolchain issue is resolved.
2001-11-22 00:58:07 +00:00
thorpej 3975cecee7 - Adjust bootinfo to work sanely in an ARCS world, and pass some
info along to the kernel (currently just the symbol table info).
- Don't bother with the startprog dance; we don't need to do anything
  special, here, so just call the entry point directly.
- A bunch of random cleanup.
2001-11-21 23:33:17 +00:00
soren 482d429ddc Install loader in /usr/mdec. 2001-11-21 22:14:51 +00:00
soren 57bd30a92c s/pmax/sgimips/ in comments. 2001-11-21 22:13:55 +00:00
thorpej 4e63f44f6c Initial cut at a bootloader for NetBSD/sgimips, by Michael Hitch. 2001-11-21 19:09:06 +00:00
thorpej bcc50e9703 Use strncmp() when looking up volume files. 2001-11-20 23:09:45 +00:00
thorpej c8f26da0bd - General code cleanup (and enable warnings).
- It's perfectly legal to have an 8 byte volume filename; the trailing
  NUL is not required in this case.
- Default the partition type to "4.2BSD", not "EFS".
2001-11-20 23:07:16 +00:00
soren 0f71151d6e stand Makefile. 2001-11-20 18:36:31 +00:00
soren 1e6da897d3 Michael Hitch's volume header tool. 2001-11-20 18:35:22 +00:00