Commit Graph

33 Commits

Author SHA1 Message Date
chs
1ef96a6714 fix .BEGIN lossage. 2005-05-01 18:41:18 +00:00
jmc
355c871f88 Fix the way this checks the object files so it works correctly with make -j 2004-11-29 15:19:26 +00:00
christos
1e31f0a642 Use .S for assembly files instead of .s 2004-11-07 21:58:45 +00:00
chs
ed0b81628a move DBG settings to CPPFLAGS and COPTS as appropriate
so that we can use the default DBG now.
2004-08-09 16:01:37 +00:00
skrll
bc26aea7ac Build hp700's mkboot as a host tool called nbhp700-mkboot. mkboot also
gets built and installed in a hp700 distribution.

TODO

- merge with hp300

- pick a preferred method for dealing with the elf headers.
  hp700-mkboot and prep-mkbootimage (bintuils) vs mips-elf2ecoff and
  tools/installboot
2004-07-28 09:17:31 +00:00
jkunz
61c5baa29e Ignore disklabel errors. Needed to make netbooting work again on some
old 700 machines and to be able to boot from LIF images on disk.
2004-06-28 16:40:44 +00:00
jkunz
0751bf5e12 The bootloader overwrites itself when relocated to 0x720000 and booting a
"big" kernel like GENERIC. So relocate the boot loader just below kernel text.
2004-06-28 16:27:15 +00:00
itohy
064488f724 Add xxboot 2004-06-15 03:10:56 +00:00
itohy
b119940e75 NetBSD/hp700 FFS/LFS Primary Bootstrap 2004-06-15 03:10:30 +00:00
lukem
f85d2d1c14 Use ${HOST_SH} instead of `sh'.
If necessary, pull in <bsd.sys.mk> to get the definition of HOST_SH;
Makefiles that pull in one of (most of) <bsd.*.mk> will get this anyway.
2003-10-26 07:25:33 +00:00
itohy
29baf4fd02 white space police 2003-10-21 13:10:42 +00:00
itohy
173218ef29 Slightly change the base address so GENERIC kernel may boot (but not confirmed). 2003-10-21 12:43:19 +00:00
itohy
87bcaf3acc 1.2: Support disklabel. 2003-10-21 12:40:15 +00:00
itohy
3fd01cc3f8 Add -D__daddr_t=int32_t so that the arguments of IODC are
not promoted to 64bit.

On 32bit PDC machines, IODC *requires* 32bit args and IODC
can handle only 2GB, and need not to use 64bit integer.
2003-10-21 12:35:23 +00:00
itohy
59f09ea752 Fix types of printf() args to match the format strings. 2003-10-21 12:26:27 +00:00
itohy
76595c213b Enable disklabel support. 2003-10-21 12:24:11 +00:00
itohy
d71dd6d1f4 #if 0 unused parts. 2003-10-21 12:22:37 +00:00
itohy
a57f5d5d08 Use ../common/libsa.h for prototype declarations of common functions.
Add tgets prototype (should be in some header file?).
2003-10-21 12:21:05 +00:00
itohy
1bb2ee7654 Add prototypes. 2003-10-21 12:19:24 +00:00
itohy
9833e639a8 Add a prototype.
Silence -Wshadow.
2003-10-21 12:18:02 +00:00
he
fe6ca02de9 Since the boot loader is a stand-alone program, stub out LIBCRT0,
LIBCRTBEGIN, LIBCRTEND, and LIBC -- these are being added to the
PROG target list by bsd.prog.mk.
2003-10-12 18:56:44 +00:00
matt
e291b36f05 Get hp700 boot tools to compile again. Patches from Jochen Knuz.
(with some modification from me).
2003-10-11 03:57:31 +00:00
chs
06332c88ef update for new gas syntax. from Jochen Kunz. 2003-10-10 15:07:43 +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
simonb
276fd1665c The Double-Semi-Colon Police. 2003-01-20 05:29:53 +00:00
chs
c456a3cd29 remove the goofy hack to have the target be the LIF file,
just build the boot program with this Makefile.
2002-11-28 06:03:25 +00:00
chs
371349a205 do the "hppa" symlink too. 2002-11-28 06:01:00 +00:00
chs
3c3d32aaea force useful values for MACHINE_ARCH and MACHINE.
remove the goofy hack to have the target be the LIF file,
just build the boot program with this Makefile.
just add to CFLAGS, don't override.
use NOMAN.
2002-11-28 06:00:28 +00:00
chs
27f9e27d6a de-__P, remove register, ansify, KNF.
remove whacky compat stuff (our normal cross-compat stuff will handle it).
fix endian dependencies and type-size errors, it works on little-endian now.
terminate the LIF directory after the last entry we use.
just use the filename last component of the file we're given for its name
in the LIF directory (if the path has a slash).
truncate the century part of the year for the BCD date, like hp-ux does.
check error returns.
2002-11-28 05:51:02 +00:00
chs
2c73702df2 de-__P, remove register, ansify, KNF 2002-11-28 05:38:41 +00:00
lukem
5b95beaf5f this is a host prog... 2002-10-23 14:35:28 +00:00
grant
6742cb1812 sweep of errx/warnx, remove unnecessary trailing \n 2002-07-20 08:36:17 +00:00
fredette
1eb29e31bf Added hp700-specific files. Still a work in progress. 2002-06-06 19:48:01 +00:00