Home | History | Annotate | Download | only in boot
History log of /src/sys/arch/amiga/stand/bootblock/boot/main.c
RevisionDateAuthorComments
 1.32  05-Dec-2021  msaitoh s/supress/suppress/
 1.31  11-Jun-2016  dholland PR 51200 gets in libsa considered harmful: use kgets
 1.30  04-Jan-2016  phx Make the -p option work, like with loadbsd.
Otherwise the kernel could load into a low-priority 512MB Z3 RAM segment.
 1.29  29-Mar-2014  mlelstv branches: 1.29.6;
Test mode is not implemented. Appease compiler.
 1.28  10-Jul-2011  mhitch branches: 1.28.2; 1.28.12; 1.28.16;
Add a serial console flag passed from the boot loader to the kernel to
allow enabling the serial console with the boot command. Loadbsd has
the option added, but I am not able to buid a new loadbsd binary at this
time, so only the bootxx loader can set the option.
 1.27  22-Jan-2011  joerg Drop bootprog_maker (formerly enabled by -M) and bootprog_date (formerly
disabled by -D) from the output of newvers_stand.sh. Change -D to the
inverted logic, so that it adds the date to bootprog_rev in ().

Change all platforms accordingly. -D is added if MKREPRO is not yes and
wasn't present before. Platforms that didn't use -D don't depend on
MKREPRO now either.
 1.26  13-Jan-2011  phx branches: 1.26.2; 1.26.4;
Recognize Amiga 600 model.
Patch submited by Radoslaw Kujawa.
 1.25  15-Nov-2009  snj branches: 1.25.4;
Drop 3rd and 4th clauses (except in one case, where copyright is shared
with UCB and only the 3rd clause is dropped). Approved by mhitch@ and is@
(copyright holders).
 1.24  12-Jan-2009  tsutsui - WARNSfy
- make sure machine and ${MACHIN_ARCH} symlinks are always created
- add src/common/dist/zlib to INCPATH and remove unnecessary options
- remove -I${DESTDIR}/usr/include from INCPATH
 1.23  04-Mar-2007  christos branches: 1.23.40; 1.23.44; 1.23.52;
Kill caddr_t; there will be some MI fallout, but it will be fixed shortly.
 1.22  27-Jun-2006  tsutsui branches: 1.22.10;
- fix signed/unsigned mismatch
- fix lvalue cast
 1.21  25-Jan-2006  christos branches: 1.21.2; 1.21.6; 1.21.14;
free -> dealloc
unsigned -> size_t for alloc/dealloc
 1.20  11-Dec-2005  christos branches: 1.20.2;
merge ktrace-lwp.
 1.19  28-Jun-2005  junyoung branches: 1.19.2;
#include <lib/libsa/stand.h> rather than <stand.h> or "stand.h"
 1.18  28-Jun-2005  junyoung Remove trailing spaces.
 1.17  20-Jan-2003  simonb branches: 1.17.2;
The Double-Semi-Colon Police.
 1.16  10-Dec-2002  thorpej Rename __LDPGSZ to AOUT_LDPGSZ, to accurately reflect what it is.
 1.15  26-Jan-2002  aymeric - ANSIfy
- remove some trailing spaces/tabs
- minor style nits
 1.14  17-Dec-2001  mhitch 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.
 1.13  24-Sep-2001  is branches: 1.13.4;
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.
 1.12  24-Sep-2000  jdolecek branches: 1.12.2; 1.12.4;
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.
 1.11  28-Nov-1999  is Very initial support for booting PPC kernels on P5 boards.
 1.10  13-Nov-1998  is branches: 1.10.10; 1.10.16;
Simplify program structure to save a few bytes.
 1.9  31-Oct-1998  is Make the exec header an automatic variable, instead of malloc()ed space.
Saves 60 bytes of code.
 1.8  08-May-1998  chopps add -m and -k flags
 1.7  08-May-1998  chopps remove -Z (load from chipmem) flag
fix copier code (startit) to work bi-directionally.
change compiler optimization options to save some bytes
 1.6  24-Mar-1997  mycroft Fix calculation of fmem and fmemsz for old ROMs.
 1.5  24-Mar-1997  mycroft Make the segment rounding code consistent. (No functional change.)
If DEBUG_MEMORY_LIST, wait for a keypress before starting the kernel; never
time out.
 1.4  24-Mar-1997  mycroft Kluge to allow building on a M68K4K system.
 1.3  01-Feb-1997  mhitch 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.
 1.2  21-Jan-1997  is * 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.
 1.1  29-Nov-1996  is branches: 1.1.1;
Initial revision
 1.1.1.1  29-Nov-1996  is 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.
 1.10.16.1  27-Dec-1999  wrstuden Pull up to last week's -current.
 1.10.10.1  20-Nov-2000  bouyer Update thorpej_scsipi to -current as of a month ago
A i386 GENERIC kernel compiles without the siop, ahc and bha drivers
(will be updated later). i386 IDE/ATAPI and ncr work, as well as
sparc/esp_sbus. alpha should work as well (untested yet).
siop, ahc and bha will be updated once I've updated the branch to current
-current, as well as machine-dependant code.

I updated the amiga SCSI drivers, but completely untested yet (may not even
compile)
 1.12.4.2  11-Feb-2002  jdolecek Sync w/ -current.
 1.12.4.1  10-Jan-2002  thorpej Sync kqueue branch with -current.
 1.12.2.1  01-Oct-2001  fvdl Catch up with -current.
 1.13.4.4  11-Dec-2002  thorpej Sync with HEAD.
 1.13.4.3  28-Feb-2002  nathanw Catch up to -current.
 1.13.4.2  08-Jan-2002  nathanw Catch up to -current.
 1.13.4.1  24-Sep-2001  nathanw file main.c was added on branch nathanw_sa on 2002-01-08 00:23:00 +0000
 1.17.2.1  10-Nov-2005  skrll Sync with HEAD. Here we go again...
 1.19.2.3  03-Sep-2007  yamt sync with head.
 1.19.2.2  30-Dec-2006  yamt sync with head.
 1.19.2.1  21-Jun-2006  yamt sync with head.
 1.20.2.1  01-Feb-2006  yamt sync with head.
 1.21.14.1  13-Jul-2006  gdamore Merge from HEAD.
 1.21.6.1  11-Aug-2006  yamt sync with head
 1.21.2.1  09-Sep-2006  rpaulo sync with head
 1.22.10.1  12-Mar-2007  rmind Sync with HEAD.
 1.23.52.1  19-Jan-2009  skrll Sync with HEAD.
 1.23.44.2  11-Mar-2010  yamt sync with head
 1.23.44.1  04-May-2009  yamt sync with head.
 1.23.40.1  17-Jan-2009  mjf Sync with HEAD.
 1.25.4.1  05-Mar-2011  rmind sync with head
 1.26.4.1  08-Feb-2011  bouyer Sync with HEAD
 1.26.2.1  06-Jun-2011  jruoho Sync with HEAD.
 1.28.16.1  18-May-2014  rmind sync with head
 1.28.12.2  03-Dec-2017  jdolecek update from HEAD
 1.28.12.1  20-Aug-2014  tls Rebase to HEAD as of a few days ago.
 1.28.2.1  22-May-2014  yamt sync with head.

for a reference, the tree before this commit was tagged
as yamt-pagecache-tag8.

this commit was splitted into small chunks to avoid
a limitation of cvs. ("Protocol error: too many arguments")
 1.29.6.2  09-Jul-2016  skrll Sync with HEAD
 1.29.6.1  19-Mar-2016  skrll Sync with HEAD

RSS XML Feed