History log of /src/sys/arch/atari/stand/bootxx/bootxx.c |
Revision | | Date | Author | Comments |
1.17 |
| 11-Jun-2016 |
dholland | PR 51200 gets in libsa considered harmful: use kgets
|
1.16 |
| 15-Nov-2014 |
tsutsui | branches: 1.16.2; Expand heap to 64KB so that bootxx can load bootxxx from 32KB blocksize ffs.
Tested on TT030 with 32GB SSD via SATA->IDE->SCSI converters. Should be pulled up to netbsd-7 and netbsd-6 branches..
|
1.15 |
| 24-Aug-2009 |
tsutsui | branches: 1.15.18; 1.15.22; 1.15.38; KNF, ANSIfy etc.
|
1.14 |
| 18-Mar-2009 |
cegger | bzero -> memset
|
1.13 |
| 06-Jan-2009 |
tsutsui | branches: 1.13.2; Fix PR port-atari/40315: Bootloader fails on Atari TT030 Add asm sources which provide a fixed entry point for raw bootxx and bootxxx because modern aggressive gcc4 may reorder functions in the same source and the first function in a C source won't always appear at the beginning in its object.
Also overhaul various files in the stand directory: - rename stand/Makefile.inc to stand/Makefile.booters and explicitly include it from each Makefile because the stand directory contains non standalone programs like installboot and Makefile.inc will be included implicitly from all Makefiles in SUBDIRs - put more common options into Makefile.booters so that all boot programs use proper options (-Os etc.) - make standalone boot programs compile without installed ${DESTDIR}: - create machine and m68k symlinks in ${.OBJDIR} in all boot programs - set appropriate make environments to suppress errors and warnings - <string.h> isn't there in _STANDALONE case - put #ifdef TOSTOOLS (looks equivarent with !_STANDALONE) to some files in stand/tostools - use ${LD} ${LINKFLAGS} rather than ${CC} ${LDFLAGS} - create raw binaries on ${PROG} target rather than on beforeinstall and stop weird renaming on beforeinstall and afterinstall - print proper error message if bootxx size is larger than limit - create ${DESTDIR}/usr/mdec/{milan,std} directories on beforeinstall in all boot programs (XXX: how can we put MD /usr/mdec/foo directories into src/etc/mtree?) - prototype warnsfy - cleanup Makefiles for readablity and remove unnecessary rules - no need to use daddr_t in installboot because the AHDI label doesn't support 64 bit block numbers
Tested by David Ross (PR submitter) on port-atari, and finally NetBSD/atari on TT030 is now fully functional.
Should be pulled up to netbsd-4 (where gcc4 was initially imported) and netbsd-5.
|
1.12 |
| 11-Dec-2005 |
christos | branches: 1.12.24; 1.12.74; 1.12.78; 1.12.86; 1.12.88; merge ktrace-lwp.
|
1.11 |
| 28-Jun-2005 |
junyoung | #include <lib/libsa/stand.h> rather than <stand.h> or "stand.h"
|
1.10 |
| 28-Jun-2005 |
junyoung | ANSIfy, KNF, remove trailing spaces, and etc.
|
1.9 |
| 18-Apr-2002 |
leo | branches: 1.9.10; Handle uninitialize warning.
|
1.8 |
| 24-Oct-2001 |
leo | branches: 1.8.2; Small changes to the boot system: - Install boot.atari in both / and /usr/mdec. It looks good to have a spare copy soemwhere... - Add '/boot.ata' as a last resort bootname.
All per discussion with Simon Burge, Matthew Green and Soren S. Jorvang.
|
1.7 |
| 14-Oct-2001 |
leo | branches: 1.7.2; Change the name of the tertiary boot to /boot.atari. This was a suggestion from Matthew Green. It would still allow multi-platform boots. Thus, the second level loader first tries /boot.atari and uses /boot as a fallback.
|
1.6 |
| 13-Oct-2001 |
leo | Bootxx is no longer the last booting stage. It now handles only the command line options. If NetBSD should be loaded, bootxx tries to load the raw binary file '/boot' that resides on the same filesystem as the kernel to be booted. This 3rd level boot is supposed to actually load the kernel.
|
1.5 |
| 08-Sep-2001 |
thomas | Make the bootloader ELF aware. It can load either a.out or ELF, depending on compile options.
|
1.4 |
| 24-Sep-2000 |
jdolecek | branches: 1.4.2; 1.4.4; add new macro BOOT_FLAG() (defined in <sys/boot_flag.h>) - this maps standard boot flags to corresponding RB_* values use BOOT_FLAG() in port's MD code as appropriate
as discussed on tech-kern, add new boot flags -v, -q for booting verbosely or quietly, and corresponding AB_VERBOSE/AB_QUIET boot flags; also add FreeBSD-compatible bootverbose macro and NetBSD-specific bootquiet macro
for hpcmips, use new bootverbose instead of it's own hpcmips_verbose
Tested on i386, and to limited extend (compile of affected files) also for mvme68k, hp300, luna68k, sun3.
|
1.3 |
| 10-Feb-1998 |
leo | branches: 1.3.14; Accept an 68060 as cpu-type. (Thomas Gerner).
|
1.2 |
| 28-Jun-1997 |
leo | branches: 1.2.8; Add 'libsa/atari_stand.h' that defines atari specific things. This allows for a removal of our own copy of stand.h which was out-of-date by definition.
|
1.1 |
| 29-Feb-1996 |
leo | branches: 1.1.1; Initial revision
|
1.1.1.1 |
| 29-Feb-1996 |
leo | NetBSD/Atari bootcode by Waldi Ravens.
|
1.2.8.1 |
| 30-Oct-1998 |
cgd | pull up rev 1.3 from trunk (leo)
|
1.3.14.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.
|
1.4.4.3 |
| 23-Jun-2002 |
jdolecek | catch up with -current on kqueue branch
|
1.4.4.2 |
| 10-Jan-2002 |
thorpej | Sync kqueue branch with -current.
|
1.4.4.1 |
| 13-Sep-2001 |
thorpej | Update the kqueue branch to HEAD.
|
1.4.2.1 |
| 01-Oct-2001 |
fvdl | Catch up with -current.
|
1.7.2.1 |
| 12-Nov-2001 |
thorpej | Sync the thorpej-mips-cache branch with -current.
|
1.8.2.2 |
| 20-Jun-2002 |
nathanw | Catch up to -current.
|
1.8.2.1 |
| 24-Oct-2001 |
nathanw | file bootxx.c was added on branch nathanw_sa on 2002-06-20 03:38:19 +0000
|
1.9.10.1 |
| 10-Nov-2005 |
skrll | Sync with HEAD. Here we go again...
|
1.12.88.1 |
| 16-Jan-2009 |
bouyer | Pull up following revision(s) (requested by tsutsui in ticket #274): sys/arch/atari/stand/xxboot/Makefile.xxboot: revision 1.5 sys/arch/atari/stand/tostools/libtos/libtos.h: revision 1.5 sys/arch/atari/stand/installboot/disklabel.c: revision 1.3 sys/arch/atari/stand/bootxxx/Makefile.bootxxx: revision 1.4, 1.5 sys/arch/atari/stand/libsa/Makefile: revision 1.28 sys/arch/atari/stand/bootxx/start.S: revision 1.1 distrib/utils/sysinst/arch/atari/md.c: revision 1.23 sys/arch/atari/stand/bootxx/Makefile.bootxx: revision 1.8 sys/arch/atari/stand/tostools/libtos/aout.c: revision 1.11 sys/arch/atari/stand/installboot/installboot.h: revision 1.9 sys/arch/atari/stand/bootxxx/bootxxx.c: revision 1.4 sys/arch/atari/stand/Makefile.inc: file removal distrib/sets/lists/base/md.atari: revision 1.50 sys/arch/atari/stand/Makefile.booters: revision 1.1 sys/arch/atari/stand/bootxx/bootxx.c: revision 1.13 sys/arch/atari/stand/installboot/installboot.c: revision 1.22 sys/arch/atari/stand/tostools/libtos/elf.c: revision 1.9 sys/arch/atari/stand/tostools/libtos/sysinfo.c: revision 1.8 sys/arch/atari/stand/bootxxx/start.S: revision 1.1 Fix PR port-atari/40315: Bootloader fails on Atari TT030 Add asm sources which provide a fixed entry point for raw bootxx and bootxxx because modern aggressive gcc4 may reorder functions in the same source and the first function in a C source won't always appear at the beginning in its object. Also overhaul various files in the stand directory: - rename stand/Makefile.inc to stand/Makefile.booters and explicitly include it from each Makefile because the stand directory contains non standalone programs like installboot and Makefile.inc will be included implicitly from all Makefiles in SUBDIRs - put more common options into Makefile.booters so that all boot programs use proper options (-Os etc.) - make standalone boot programs compile without installed ${DESTDIR}: - create machine and m68k symlinks in ${.OBJDIR} in all boot programs - set appropriate make environments to suppress errors and warnings - <string.h> isn't there in _STANDALONE case - put #ifdef TOSTOOLS (looks equivarent with !_STANDALONE) to some files in stand/tostools - use ${LD} ${LINKFLAGS} rather than ${CC} ${LDFLAGS} - create raw binaries on ${PROG} target rather than on beforeinstall and stop weird renaming on beforeinstall and afterinstall - print proper error message if bootxx size is larger than limit - create ${DESTDIR}/usr/mdec/{milan,std} directories on beforeinstall in all boot programs (XXX: how can we put MD /usr/mdec/foo directories into src/etc/mtree?) - prototype warnsfy - cleanup Makefiles for readablity and remove unnecessary rules - no need to use daddr_t in installboot because the AHDI label doesn't support 64 bit block numbers Tested by David Ross (PR submitter) on port-atari, and finally NetBSD/atari on TT030 is now fully functional. Should be pulled up to netbsd-4 (where gcc4 was initially imported) and netbsd-5. Don't install built boot.atari loaders into / of DESTDIR because there are two variants of boot.atari per machine types (std or milan) and they should be selected and copied from /usr/mdec/{std,milan} dirs to /targetroot during installation. Problem on default installation with sysinst was reported by David Ross. Remove /boot.atari, which is no longer installed during build and removed from base.tgz. Note we must not mark this obsolete because this tertiary bootloader will be copied into / during installation and it shouldn't be removed by postinstall(8). Before installboot(8), check running machine types (milan or others) via sysctl(3) and copy appropriate tertiary boot.atari loader from /usr/mdec/{std,milan} into targetroot. Full fresh installations of 5.0_BETA and 4.0_STABLE with the same change have been tested by David Ross on port-atari. Fixes the final portion of PR port-atari/40315, and pullup requests to both netbsd-4 and netbsd-5 will be sent shortly.
|
1.12.86.2 |
| 28-Apr-2009 |
skrll | Sync with HEAD.
|
1.12.86.1 |
| 19-Jan-2009 |
skrll | Sync with HEAD.
|
1.12.78.2 |
| 16-Sep-2009 |
yamt | sync with head
|
1.12.78.1 |
| 04-May-2009 |
yamt | sync with head.
|
1.12.74.1 |
| 17-Jan-2009 |
mjf | Sync with HEAD.
|
1.12.24.1 |
| 15-Jan-2009 |
bouyer | Pull up following revision(s) (requested by tsutsui in ticket #1263): sys/arch/atari/stand/xxboot/Makefile.xxboot: revision 1.5 sys/arch/atari/stand/tostools/libtos/libtos.h: revision 1.5 sys/arch/atari/stand/installboot/disklabel.c: revision 1.3 sys/arch/atari/stand/bootxxx/Makefile.bootxxx: revision 1.4 sys/arch/atari/stand/bootxxx/Makefile.bootxxx: revision 1.5 sys/arch/atari/stand/libsa/Makefile: revision 1.28 sys/arch/atari/stand/bootxx/start.S: revision 1.1 distrib/utils/sysinst/arch/atari/md.c: revision 1.23 sys/arch/atari/stand/bootxx/Makefile.bootxx: revision 1.8 sys/arch/atari/stand/tostools/libtos/aout.c: revision 1.11 sys/arch/atari/stand/installboot/installboot.h: revision 1.9 sys/arch/atari/stand/bootxxx/bootxxx.c: revision 1.4 distrib/sets/lists/base/md.atari: revision 1.50 sys/arch/atari/stand/Makefile.booters: revision 1.1 sys/arch/atari/stand/bootxx/bootxx.c: revision 1.13 sys/arch/atari/stand/installboot/installboot.c: revision 1.22 sys/arch/atari/stand/tostools/libtos/elf.c: revision 1.9 sys/arch/atari/stand/tostools/libtos/sysinfo.c: revision 1.8 sys/arch/atari/stand/bootxxx/start.S: revision 1.1 Fix PR port-atari/40315: Bootloader fails on Atari TT030 Add asm sources which provide a fixed entry point for raw bootxx and bootxxx because modern aggressive gcc4 may reorder functions in the same source and the first function in a C source won't always appear at the beginning in its object. Also overhaul various files in the stand directory: - rename stand/Makefile.inc to stand/Makefile.booters and explicitly include it from each Makefile because the stand directory contains non standalone programs like installboot and Makefile.inc will be included implicitly from all Makefiles in SUBDIRs - put more common options into Makefile.booters so that all boot programs use proper options (-Os etc.) - make standalone boot programs compile without installed ${DESTDIR}: - create machine and m68k symlinks in ${.OBJDIR} in all boot programs - set appropriate make environments to suppress errors and warnings - <string.h> isn't there in _STANDALONE case - put #ifdef TOSTOOLS (looks equivarent with !_STANDALONE) to some files in stand/tostools - use ${LD} ${LINKFLAGS} rather than ${CC} ${LDFLAGS} - create raw binaries on ${PROG} target rather than on beforeinstall and stop weird renaming on beforeinstall and afterinstall - print proper error message if bootxx size is larger than limit - create ${DESTDIR}/usr/mdec/{milan,std} directories on beforeinstall in all boot programs (XXX: how can we put MD /usr/mdec/foo directories into src/etc/mtree?) - prototype warnsfy - cleanup Makefiles for readablity and remove unnecessary rules - no need to use daddr_t in installboot because the AHDI label doesn't support 64 bit block numbers Tested by David Ross (PR submitter) on port-atari, and finally NetBSD/atari on TT030 is now fully functional. Should be pulled up to netbsd-4 (where gcc4 was initially imported) and netbsd-5. Don't install built boot.atari loaders into / of DESTDIR because there are two variants of boot.atari per machine types (std or milan) and they should be selected and copied from /usr/mdec/{std,milan} dirs to /targetroot during installation. Problem on default installation with sysinst was reported by David Ross. Remove /boot.atari, which is no longer installed during build and removed from base.tgz. Note we must not mark this obsolete because this tertiary bootloader will be copied into / during installation and it shouldn't be removed by postinstall(8). Before installboot(8), check running machine types (milan or others) via sysctl(3) and copy appropriate tertiary boot.atari loader from /usr/mdec/{std,milan} into targetroot. Full fresh installations of 5.0_BETA and 4.0_STABLE with the same change have been tested by David Ross on port-atari. Fixes the final portion of PR port-atari/40315, and pullup requests to both netbsd-4 and netbsd-5 will be sent shortly.
|
1.13.2.1 |
| 13-May-2009 |
jym | Sync with HEAD.
Commit is split, to avoid a "too many arguments" protocol error.
|
1.15.38.1 |
| 14-Dec-2014 |
martin | Pull up following revision(s) (requested by tsutsui in ticket #322): sys/arch/atari/stand/bootxx/bootxx.c: revision 1.16 Expand heap to 64KB so that bootxx can load bootxxx from 32KB blocksize ffs. Tested on TT030 with 32GB SSD via SATA->IDE->SCSI converters.
|
1.15.22.1 |
| 03-Dec-2017 |
jdolecek | update from HEAD
|
1.15.18.1 |
| 14-Dec-2014 |
martin | Pull up following revision(s) (requested by tsutsui in ticket #1211): sys/arch/atari/stand/bootxx/bootxx.c: revision 1.16 Expand heap to 64KB so that bootxx can load bootxxx from 32KB blocksize ffs. Tested on TT030 with 32GB SSD via SATA->IDE->SCSI converters.
|
1.16.2.1 |
| 09-Jul-2016 |
skrll | Sync with HEAD
|