Commit Graph

85 Commits

Author SHA1 Message Date
soren 642c31b4a3 Remove extraneous \n's in {err,warn}{,x}. 2002-08-09 10:01:53 +00:00
grant 6742cb1812 sweep of errx/warnx, remove unnecessary trailing \n 2002-07-20 08:36:17 +00:00
mjl 395027b4be Correct obviously switched args to memset() 2002-07-18 02:07:13 +00:00
thorpej 698df788fc Add -ffreestanding. 2002-05-31 20:57:41 +00:00
mhitch d4b541239a The second-stage boot loader, boot.amiga, uses the default command in the
boot loader image.  Installboot can modify the default command in the
first-stage bootblocks, which will have no effect.  Copy the default command
from the first-stage bootblock into the second-stage bootloader so modifying
the commandline with installboot actually works again.
2002-05-20 05:58:45 +00:00
heinz 47141ed0bf Add missing CVS tag 2002-04-19 16:43:38 +00:00
mhitch 77b771d03b Don't copy boot.amiga to ${DESTDIR}/ - it is now done by the install/update
script, sysinst, or manually when the bootblock is installed.
2002-04-15 08:38:55 +00:00
mhitch a0e1b0e0d1 Need to include files.o for the file descriptor table used by open().
The -S flag to indicate secondary boot no longer takes a size - size is
computed from input image.
2002-03-26 05:21:37 +00:00
mhitch 1ae1c48b8f Need to include files.o for the file descriptor table used by open(). 2002-03-26 05:19:39 +00:00
mhitch 2f871ae8a1 Check for referencing undefined symbols, and bail out if there were any.
Change the -S option to just a flag for Secondary boot, and compute size
of bootfile image from the input.  Secondary boot is no longer a fixed size.
2002-03-26 05:18:19 +00:00
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