Commit Graph

169 Commits

Author SHA1 Message Date
he
d871277d7d Adapt to new ufs.c needing memcmp and memmove. 2003-08-24 15:11:18 +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
mhitch
6f5554ffeb Check if 16 bit PC-relative offset will overflow, and abort if it does.
This will prevent building a bad boot file if it gets too large.
2003-04-06 03:22:50 +00:00
jklos
47ba8c1170 Version bumped to 3.0 to reflect changes to support ELF kernels. Thanks to
Gunther Nikl <gni@gecko.de> for the patches.
2003-04-03 21:02:08 +00:00
he
31f4d984cb The adler32.c file previously from libz is no longer needed. 2003-04-01 16:50:52 +00:00
mhitch
4897781d3c Use 32 bit daddr_t due to space limitations when using 64 bit div/mod. 2003-02-03 07:17:13 +00:00
mhitch
ff7f90827c Add 64 bit div/mod for 64 bit daddr_t changes and snprintf. 2003-02-03 07:16:08 +00:00
simonb
276fd1665c The Double-Semi-Colon Police. 2003-01-20 05:29:53 +00:00
mhitch
7295f9f909 Switch to MI installboot. 2003-01-15 07:25:51 +00:00
thorpej
e8cc3884de Rename __LDPGSZ to AOUT_LDPGSZ, to accurately reflect what it is. 2002-12-10 17:14:02 +00:00
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
thorpej
fca656f5b2 Don't use multi-line string literal. 2002-05-31 20:52:14 +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
heinz
e4affd8cbf Add polish keymaps pl_din and pl_us by Pawel Chwalowski <pch@polo.po.opole.pl>.
This solves part of PR port-amiga/15980
2002-04-05 01:05:03 +00:00
heinz
bac60291de add polish keymaps created by Pawel Chwalowski <pch@polo.po.opole.pl> 2002-04-05 00:55:06 +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