Source-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: src/sys/arch/luna68k



Module Name:    src
Committed By:   tsutsui
Date:           Sat Jan  5 17:44:25 UTC 2013

Added Files:
        src/sys/arch/luna68k/include: loadfile_machdep.h
        src/sys/arch/luna68k/stand/boot: Makefile autoconf.c bmc.c bmd.c boot.c
            boot.ldscript conf.c cons.c device.h devopen.c disklabel.c font.c
            getline.c init_main.c ioconf.c kbd.c kbdreg.h locore.S machdep.c
            omron_disklabel.h parse.c preset.h prf.c rcvbuf.h romcons.c
            romvec.h samachdep.h sc.c screen.c scsi.c scsireg.h scsivar.h sd.c
            sio.c sioreg.h status.h stinger.h trap.c ufs_disksubr.c vectors.h
            version

Log Message:
First cut at NetBSD/luna68k native bootloader.

Based on 4.4BSD-Lite2/luna68k "Stinger" loader revision "Phase-31"
 http://svnweb.freebsd.org/csrg/sys/luna68k/stand/
and MI libsa glue stuff are taken from hp300 etc.

Tested on LUNA-I and old DK315C SCSI disk drive.

LUNA's monitor PROM can load only an a.out binary in 4.3BSD FFS partition
(i.e. created by "newfs -O 0") on disks with OMRON's UniOS disklabel,
but now we can load an ELF kernel in root partition via this bootloader.
(See luna68k/disksubr.c for details of UniOS label)

TODO:
 - LUNA-II support (check 68040 to adjust cpuspeed for DELAY())
 - secondary SCSI support for LUNA-II
 - netboot via le(4) (should be trivial)
 - support boot options on bootloader prompt
 - bootinfo (passing info about booted device and kernel symbols)
 - support "press return to boot now, any other key for boot menu" method
   like x86 bootloader (needs cnscan() like functions)
 - tapeboot (anyone wants it?)


To generate a diff of this commit:
cvs rdiff -u -r0 -r1.1 src/sys/arch/luna68k/include/loadfile_machdep.h
cvs rdiff -u -r0 -r1.1 src/sys/arch/luna68k/stand/boot/Makefile \
    src/sys/arch/luna68k/stand/boot/autoconf.c \
    src/sys/arch/luna68k/stand/boot/bmc.c \
    src/sys/arch/luna68k/stand/boot/bmd.c \
    src/sys/arch/luna68k/stand/boot/boot.c \
    src/sys/arch/luna68k/stand/boot/boot.ldscript \
    src/sys/arch/luna68k/stand/boot/conf.c \
    src/sys/arch/luna68k/stand/boot/cons.c \
    src/sys/arch/luna68k/stand/boot/device.h \
    src/sys/arch/luna68k/stand/boot/devopen.c \
    src/sys/arch/luna68k/stand/boot/disklabel.c \
    src/sys/arch/luna68k/stand/boot/font.c \
    src/sys/arch/luna68k/stand/boot/getline.c \
    src/sys/arch/luna68k/stand/boot/init_main.c \
    src/sys/arch/luna68k/stand/boot/ioconf.c \
    src/sys/arch/luna68k/stand/boot/kbd.c \
    src/sys/arch/luna68k/stand/boot/kbdreg.h \
    src/sys/arch/luna68k/stand/boot/locore.S \
    src/sys/arch/luna68k/stand/boot/machdep.c \
    src/sys/arch/luna68k/stand/boot/omron_disklabel.h \
    src/sys/arch/luna68k/stand/boot/parse.c \
    src/sys/arch/luna68k/stand/boot/preset.h \
    src/sys/arch/luna68k/stand/boot/prf.c \
    src/sys/arch/luna68k/stand/boot/rcvbuf.h \
    src/sys/arch/luna68k/stand/boot/romcons.c \
    src/sys/arch/luna68k/stand/boot/romvec.h \
    src/sys/arch/luna68k/stand/boot/samachdep.h \
    src/sys/arch/luna68k/stand/boot/sc.c \
    src/sys/arch/luna68k/stand/boot/screen.c \
    src/sys/arch/luna68k/stand/boot/scsi.c \
    src/sys/arch/luna68k/stand/boot/scsireg.h \
    src/sys/arch/luna68k/stand/boot/scsivar.h \
    src/sys/arch/luna68k/stand/boot/sd.c \
    src/sys/arch/luna68k/stand/boot/sio.c \
    src/sys/arch/luna68k/stand/boot/sioreg.h \
    src/sys/arch/luna68k/stand/boot/status.h \
    src/sys/arch/luna68k/stand/boot/stinger.h \
    src/sys/arch/luna68k/stand/boot/trap.c \
    src/sys/arch/luna68k/stand/boot/ufs_disksubr.c \
    src/sys/arch/luna68k/stand/boot/vectors.h \
    src/sys/arch/luna68k/stand/boot/version

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.




Home | Main Index | Thread Index | Old Index