Commit Graph

14 Commits

Author SHA1 Message Date
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
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
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 4905974fd1 Very initial support for booting PPC kernels on P5 boards. 1999-11-28 22:10:47 +00:00
is be4fc8e1b9 Simplify program structure to save a few bytes. 1998-11-13 22:12:35 +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
chopps 09332ff276 remove -Z (load from chipmem) flag
fix copier code (startit) to work bi-directionally.
change compiler optimization options to save some bytes
1998-05-08 19:08:18 +00:00
mycroft 25d692da5e Fix calculation of fmem and fmemsz for old ROMs. 1997-03-24 19:51:28 +00:00
mycroft 1b9557e827 Make the segment rounding code consistent. (No functional change.)
If DEBUG_MEMORY_LIST, wait for a keypress before starting the kernel; never
time out.
1997-03-24 18:56:26 +00:00
mycroft 86818ac5a8 Kluge to allow building on a M68K4K system. 1997-03-24 18:52:46 +00:00
mhitch e65c38353c Use the disk offset to the boot block (first block in the partition) to
pass the block number of the boot partition to the kernel.  The kernel
will use the block number to determine which disk device the kernel was
booted from and set the boot device based on that instead of the old
"generic" method.
1997-02-01 01:46:26 +00:00
is 7c2b743adf * make object dirs work:
- move the helper programs txlt and aout2bb to the topmost directory
- build the few files from libsa in the topmost directory

* while doing this, hunted down mysterious code expansion: It seems
that ld aligns code segments differently when linking .o's directly
than when using an archive consisting of the same files. Abuse this
effect to make the bootblock even smaller. The floppy boot block
"fdboot" is now small enough to build; add it back to the Makefile.

* while being here, remove a file which was committed by mistake.
1997-01-21 18:26:07 +00:00
is 6ddf65c1db First version of a NetBSD-Amiga bootblock compilable from within NetBSD,
along with toolchain enhancements.

aout2bb transforms a.out files with reloc information into bootblock format
files with a compressed relocation info.

bbstart.s relocates the bootblock using this compressed info, before jumping
to C code.

txlt changes some more of the absolute references to pc-relative ones (we know
we have a single code + data address space).

If you ever try to change this: don't even dare to change the compiler options;
they were found in weeks of trial and error as the ones producing the smallest
(not necessarily fastests) code.

installboot is just a script around dd, for now.

Some ideas by Michael Hitch, Leo Weppelman and Jason Thorpe; bugs added
by myself.
1996-11-29 23:36:29 +00:00