Commit Graph

75 Commits

Author SHA1 Message Date
aymeric
410cbf81e5 remove BINDIR definition 2002-01-29 18:47:35 +00:00
aymeric
1edc58c08c move BINDIR definition from Makefile.booters to installboot/Makefile.
all other Makefile's that need it already define it.
2002-01-29 18:46:11 +00:00
aymeric
839a40e98d Now that this file is not included when it should not, use the print-objdir
target instead of guessing (wrongly with the new toolchain) object directories.

This allows cross-building of bootblocks with the new toolchain.
2002-01-26 15:07:58 +00:00
aymeric
4de458a43c Remove this file so it doesn't get included inadvertently 2002-01-26 15:04:07 +00:00
aymeric
2eb3bcf102 include ${.CURDIR}/../Makefile.booters 2002-01-26 15:03:17 +00:00
aymeric
8cecf70c19 This is a copy of Makefile.inc
Makefile.inc is going to disappear because we don't want txlt, aout2bb and
elf2bb directories to include this stuff; it is only required by bootblocks.
2002-01-26 15:01:17 +00:00
aymeric
c54298e658 - ANSIfy
- remove some trailing spaces/tabs
- minor style nits
2002-01-26 13:18:57 +00:00
aymeric
181d083e76 s/BOOT_ELF/BOOT_ELF32/ inside a comment 2002-01-26 13:17:58 +00:00
aymeric
c520d6cae2 - ANSIfy
- remove some trailing spaces/tabs
- minor style nits
2002-01-26 13:16:06 +00:00
mhitch
8923d6ba13 The ELF counterpart to aout2bb: convert a relocatable ELF object file
to the simple relocatable image used for the amiga bootblock loader.
2001-12-19 06:51:05 +00:00
mhitch
9d4755dd24 Adjust for a.out/ELF conversion program. 2001-12-17 05:49:41 +00:00
mhitch
79193d3408 Changes for building two stage loader, and add support for ELF object
format.
2001-12-17 05:48:09 +00:00
mhitch
4038ed8a29 Select relocatable to bootblock conversion program based on which object
format is being used.
2001-12-17 05:46:52 +00:00
mhitch
5a3ab70cb5 Add some additional conversions for ELF assembler output. 2001-12-17 05:45:08 +00:00
mhitch
29ee3faf63 Change fixed-size buffers to variable, with an option to set the size for
the second stage loader.

Show the number of bytes remaining in the boot file image.
2001-12-17 05:43:40 +00:00
mhitch
e1d8eca622 Update amiga booter to two-stage booter.
First stage is bootxx_ffs (for ffs boot partitions) or bootxx_fd (for bootable
floppy disk).  These locate, load, and execute the second stage loader boot.amiga.
The console screen is created and passed to the second stage loader.

The second stage loader uses loadfile() to load the kernel image, which can
be either a.out or ELF format, and can also be compressed.  It will load a
kernel file from ffs file systems or the ustarfs used on floppy disks.
2001-12-17 05:40:40 +00:00
tv
8e6f7afb5b MKfoo=no -> NOfoo 2001-12-12 01:48:43 +00:00
mhitch
4c3d013b14 Add a left shift routine needed by changes in lib/libsa/ufs.c. 2001-12-10 05:31:39 +00:00
is
9a02c51726 Security check - don't paste new command line into bootblock that
don't look like the new style bootblock (with enough space in it).
2001-09-25 19:07:00 +00:00
is
e9023155ad Replace skript by a C program, that knows how to manipulate the default
command line in the bootblock and to recompute the bootblock checksum.
2001-09-25 18:47:55 +00:00
is
36fb85f059 Put default command line into a fixed location with a known size.
This is intended to allow patching of the command line without a
compiler.
2001-09-24 20:27:08 +00:00
simonb
023bdd2bf2 Use comments around the token after a #endif. 2001-08-31 04:44:54 +00:00
aymeric
16d48eec82 These programs are for the host, not for the target, to execute. 2001-07-25 12:32:48 +00:00
mhitch
1c10294eb2 ELF ABI requires address to be returned in A0.
Change an external reference from absolute address to PC-relative.
2001-03-11 20:15:02 +00:00
mhitch
5a182288c0 ELF ABI requires address to be returned in A0. 2001-03-11 20:10:04 +00:00
mhitch
751017e6c1 Pack the ExecBase structure to avoid aligning contraint problems with ELF
compiler
2001-03-11 20:09:07 +00:00
mhitch
626864333b Use ${NM} and ${SIZE} so cross-compiling works. The machine and m68k include
directories still need to be fixed.
2001-03-02 16:46:19 +00:00
mhitch
f9e9387cf0 More missing register prefixes and _C_LABEL()s for ELF. Should now compile
with ELF, but still needs an "elf2bb" program.
2001-03-02 16:43:25 +00:00
is
db27e55251 Add register prefixes. 2001-03-01 21:32:53 +00:00
is
025d7c7815 use ENTRY_NOPROFILE and _C_LABEL, where appropriate. 2001-02-26 14:58:36 +00:00
jdolecek
f9f2c92422 this file was oversight at first (pointed out by is):
Add new boot flags -v, -q, which switch on AB_VERBOSE or AB_QUIET
respectively. This follows recent bootverbose/bootquiet changes.
2000-09-24 20:56:04 +00:00
is
ff3205e665 Make this build again. Fixes by Michael Hitch. 2000-09-17 18:24:12 +00:00
jhawk
a022cf9d37 Use
${MAKE}
instead of
  make
2000-08-30 23:51:46 +00:00
is
136b230eaa Don't use runtime systems' includes. 2000-04-15 20:10:41 +00:00
is
b41bac45fe Assign copyright to TNF and add license. 1999-12-30 21:09:56 +00:00
is
4905974fd1 Very initial support for booting PPC kernels on P5 boards. 1999-11-28 22:10:47 +00:00
is
2ac445044e make the Amiga bootblocks link again. 1999-04-03 09:18:41 +00:00
tron
6b8842ab8e Include "bsd.prog.mk" earlier so that "CFLAGS" doesn't get clobbered. 1999-03-03 20:32:58 +00:00
is
2c7fa23c38 Fix Copyright dates 1999-02-16 23:34:10 +00:00
is
dc068e0d1f Assign my files to The NetBSD Foundation, Inc. 1999-02-16 22:46:55 +00:00
lukem
dcab0210a0 convert from NOxxx= to MKxxx=no.
include <bsd.own.mk> if testing a MKxxx variable.
1999-02-13 02:54:17 +00:00
is
9332e61aae Define _STANDALONE instead of STANDALONE. 1999-02-06 23:17:07 +00:00
veego
0e281644ed Enable fdboot again. 1999-01-03 12:46:31 +00:00
frueauf
04674130a0 pain(void) -> pain(void *), pointed out by Adam Ciarcinski. 1998-11-25 14:50:14 +00:00
is
be4fc8e1b9 Simplify program structure to save a few bytes. 1998-11-13 22:12:35 +00:00
is
6b1ed04840 Correct the calls (use AllocVec() and FreeVec()),
in case somebody ever needs free().
1998-11-11 21:43:18 +00:00
is
f02a3ccb3e Switch off the cache later.
Apparently, this avoids a problem on DraCos with HyperCom boards.
1998-11-11 20:57:33 +00:00
is
23c04fa375 Add color debug code for DraCos. 1998-11-06 20:08:20 +00:00
is
e4d73206ab Make the exec header an automatic variable, instead of malloc()ed space.
Saves 60 bytes of code.
1998-10-31 22:40:27 +00:00
chopps
9ed2f725ab add -m and -k flags 1998-05-08 23:03:49 +00:00