Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src Add support for the Extensible MIPS ("eMIPS") platform. The
details: https://anonhg.NetBSD.org/src/rev/8f04ea055786
branches: trunk
changeset: 761388:8f04ea055786
user: pooka <pooka%NetBSD.org@localhost>
date: Wed Jan 26 01:18:43 2011 +0000
description:
Add support for the Extensible MIPS ("eMIPS") platform. The
NetBSD/emips port runs on Xilinx and Beecube FPGA systems and the
Giano system simulator.
eMIPS is a platform developed at Microsoft Research for researching
reconfigurable computing. eMIPS allows dynamic loading and scheduling
of application-specific circuits for the purpose of accelerating
computations based on the current workload.
NetBSD eMIPS support for NetBSD 4.x was written at Microsoft Research
by Alessandro Forin and Neil Pittman. Microsoft Corporation has
donated full copyright to The NetBSD Foundation.
Platform support for eMIPS is the first part of Microsoft's
contribution. The second part includes the hardware accelerator
framework and will be proposed on tech-kern soon.
diffstat:
build.sh | 6 +-
distrib/emips/Makefile | 9 +
distrib/emips/cdroms/Makefile | 6 +
distrib/emips/cdroms/installcd/Makefile | 11 +
distrib/emips/instkernel/Makefile | 31 +
distrib/emips/instkernel/list | 4 +
distrib/emips/miniroot/Makefile.inc | 18 +
distrib/emips/miniroot/dot.profile | 20 +
distrib/emips/miniroot/list | 49 +
distrib/emips/ramdisk/Makefile | 39 +
distrib/emips/ramdisk/disktab.preinstall | 42 +
distrib/emips/ramdisk/dot.hdprofile | 62 +
distrib/emips/ramdisk/dot.profile | 67 +
distrib/emips/ramdisk/list | 80 +
distrib/notes/Makefile | 3 +-
distrib/notes/emips/Makefile | 5 +
distrib/notes/emips/hardware | 26 +
distrib/notes/emips/install | 378 ++++
distrib/notes/emips/legal | 141 +
distrib/notes/emips/prep | 6 +
distrib/notes/emips/upgrade | 3 +
distrib/notes/emips/xfer | 3 +
distrib/sets/lists/base/md.emips | 7 +
distrib/sets/lists/base/mi | 11 +-
distrib/sets/lists/comp/md.emips | 57 +
distrib/sets/lists/man/mi | 32 +-
distrib/utils/sysinst/Makefile | 3 +-
distrib/utils/sysinst/arch/emips/Makefile | 6 +
distrib/utils/sysinst/arch/emips/md.c | 206 ++
distrib/utils/sysinst/arch/emips/md.h | 90 +
distrib/utils/sysinst/arch/emips/menus.md.en | 40 +
distrib/utils/sysinst/arch/emips/menus.md.es | 40 +
distrib/utils/sysinst/arch/emips/menus.md.fr | 40 +
distrib/utils/sysinst/arch/emips/menus.md.pl | 43 +
distrib/utils/sysinst/arch/emips/msg.md.de | 53 +
distrib/utils/sysinst/arch/emips/msg.md.en | 52 +
distrib/utils/sysinst/arch/emips/msg.md.es | 52 +
distrib/utils/sysinst/arch/emips/msg.md.fr | 53 +
distrib/utils/sysinst/arch/emips/msg.md.pl | 56 +
distrib/utils/sysinst/disks.c | 4 +-
distrib/utils/sysinst/main.c | 8 +-
doc/CHANGES | 3 +-
etc/MAKEDEV.tmpl | 12 +-
etc/etc.emips/MAKEDEV.conf | 33 +
etc/etc.emips/Makefile.inc | 12 +
etc/etc.emips/ttys | 25 +
etc/mtree/NetBSD.dist.base | 11 +-
lib/libc/arch/mips/Makefile.inc | 5 +-
share/man/man0/intros | 1 +
share/man/man4/Makefile | 5 +-
share/man/man4/man4.emips/Makefile | 7 +
share/man/man4/man4.emips/ace.4 | 58 +
share/man/man4/man4.emips/autoconf.4 | 60 +
share/man/man4/man4.emips/dz.4 | 91 +
share/man/man4/man4.emips/ebus.4 | 67 +
share/man/man4/man4.emips/eclock.4 | 43 +
share/man/man4/man4.emips/enic.4 | 78 +
share/man/man4/man4.emips/intro.4 | 126 +
share/man/man8/Makefile | 5 +-
share/man/man8/man8.emips/Makefile | 7 +
share/man/man8/man8.emips/boot.8 | 96 +
share/mk/bsd.own.mk | 10 +-
sys/arch/emips/Makefile | 32 +
sys/arch/emips/compile/Makefile | 3 +
sys/arch/emips/conf/GENERIC | 230 ++
sys/arch/emips/conf/INSTALL | 88 +
sys/arch/emips/conf/Makefile.emips.inc | 5 +
sys/arch/emips/conf/RAMDISK | 26 +
sys/arch/emips/conf/files.emips | 112 +
sys/arch/emips/conf/majors.emips | 50 +
sys/arch/emips/conf/std.emips | 20 +
sys/arch/emips/ebus/ac97_ebus.c | 50 +
sys/arch/emips/ebus/ace_ebus.c | 2361 ++++++++++++++++++++++++++
sys/arch/emips/ebus/clock_ebus.c | 323 +++
sys/arch/emips/ebus/dz_ebus.c | 793 ++++++++
sys/arch/emips/ebus/ebus.c | 120 +
sys/arch/emips/ebus/ebus_emips.c | 116 +
sys/arch/emips/ebus/ebusvar.h | 41 +
sys/arch/emips/ebus/evga_ebus.c | 50 +
sys/arch/emips/ebus/flash_ebus.c | 2347 +++++++++++++++++++++++++
sys/arch/emips/ebus/gpio_ebus.c | 174 +
sys/arch/emips/ebus/icap_ebus.c | 422 ++++
sys/arch/emips/ebus/if_le_ebus.c | 972 ++++++++++
sys/arch/emips/ebus/lcd_ebus.c | 50 +
sys/arch/emips/ebus/ps2_ebus.c | 50 +
sys/arch/emips/ebus/stub_ebus.c | 130 +
sys/arch/emips/emips/autoconf.c | 238 ++
sys/arch/emips/emips/bus_dma.c | 738 ++++++++
sys/arch/emips/emips/bus_space.c | 124 +
sys/arch/emips/emips/clock.c | 110 +
sys/arch/emips/emips/cons.h | 44 +
sys/arch/emips/emips/cpu.c | 71 +
sys/arch/emips/emips/emipstype.h | 40 +
sys/arch/emips/emips/interrupt.c | 197 ++
sys/arch/emips/emips/locore_machdep.S | 216 ++
sys/arch/emips/emips/machdep.c | 802 ++++++++
sys/arch/emips/emips/machdep.h | 40 +
sys/arch/emips/emips/mainbus.c | 91 +
sys/arch/emips/emips/promcall.c | 241 ++
sys/arch/emips/emips/sysconf.c | 101 +
sys/arch/emips/emips/xilinx_ml40x.c | 122 +
sys/arch/emips/emips/xs_bee3.c | 120 +
sys/arch/emips/include/Makefile | 25 +
sys/arch/emips/include/ansi.h | 3 +
sys/arch/emips/include/asm.h | 3 +
sys/arch/emips/include/autoconf.h | 45 +
sys/arch/emips/include/bootinfo.h | 72 +
sys/arch/emips/include/bswap.h | 3 +
sys/arch/emips/include/bus.h | 665 +++++++
sys/arch/emips/include/cdefs.h | 3 +
sys/arch/emips/include/cpu.h | 3 +
sys/arch/emips/include/cpu_counter.h | 3 +
sys/arch/emips/include/db_machdep.h | 11 +
sys/arch/emips/include/disklabel.h | 57 +
sys/arch/emips/include/ecoff_machdep.h | 3 +
sys/arch/emips/include/elf_machdep.h | 3 +
sys/arch/emips/include/emipsreg.h | 929 ++++++++++
sys/arch/emips/include/endian.h | 3 +
sys/arch/emips/include/endian_machdep.h | 6 +
sys/arch/emips/include/float.h | 3 +
sys/arch/emips/include/ieee.h | 3 +
sys/arch/emips/include/ieeefp.h | 3 +
sys/arch/emips/include/int_const.h | 3 +
sys/arch/emips/include/int_fmtio.h | 3 +
sys/arch/emips/include/int_limits.h | 3 +
sys/arch/emips/include/int_mwgwtypes.h | 3 +
sys/arch/emips/include/int_types.h | 3 +
sys/arch/emips/include/intr.h | 129 +
sys/arch/emips/include/kcore.h | 3 +
sys/arch/emips/include/kdbparam.h | 3 +
sys/arch/emips/include/limits.h | 3 +
sys/arch/emips/include/loadfile_machdep.h | 61 +
sys/arch/emips/include/lock.h | 3 +
sys/arch/emips/include/locore.h | 3 +
sys/arch/emips/include/math.h | 3 +
sys/arch/emips/include/mcontext.h | 3 +
sys/arch/emips/include/mips_opcode.h | 3 +
sys/arch/emips/include/mutex.h | 3 +
sys/arch/emips/include/param.h | 151 +
sys/arch/emips/include/pcb.h | 3 +
sys/arch/emips/include/pmap.h | 3 +
sys/arch/emips/include/pmc.h | 3 +
sys/arch/emips/include/proc.h | 3 +
sys/arch/emips/include/profile.h | 3 +
sys/arch/emips/include/psl.h | 3 +
sys/arch/emips/include/pte.h | 3 +
sys/arch/emips/include/ptrace.h | 3 +
sys/arch/emips/include/reg.h | 3 +
sys/arch/emips/include/regdef.h | 3 +
sys/arch/emips/include/regnum.h | 3 +
sys/arch/emips/include/reloc.h | 3 +
sys/arch/emips/include/rwlock.h | 3 +
sys/arch/emips/include/setjmp.h | 3 +
sys/arch/emips/include/signal.h | 3 +
sys/arch/emips/include/stdarg.h | 3 +
sys/arch/emips/include/sysconf.h | 99 +
sys/arch/emips/include/trap.h | 3 +
sys/arch/emips/include/types.h | 14 +
sys/arch/emips/include/varargs.h | 3 +
sys/arch/emips/include/vmparam.h | 18 +
sys/arch/emips/include/wchar_limits.h | 3 +
sys/arch/emips/include/wired_map.h | 3 +
sys/arch/emips/stand/Makefile | 10 +
sys/arch/emips/stand/Makefile.booters | 130 +
sys/arch/emips/stand/Makefile.inc | 10 +
sys/arch/emips/stand/boot/Makefile | 25 +
sys/arch/emips/stand/boot/version | 7 +
sys/arch/emips/stand/bootxx_cd9660/Makefile | 10 +
sys/arch/emips/stand/bootxx_ffs/Makefile | 12 +
sys/arch/emips/stand/bootxx_lfs/Makefile | 11 +
sys/arch/emips/stand/common/ace.c | 742 ++++++++
sys/arch/emips/stand/common/ace.h | 37 +
sys/arch/emips/stand/common/boot.c | 330 +++
sys/arch/emips/stand/common/bootinfo.c | 79 +
sys/arch/emips/stand/common/bootinfo.h | 43 +
sys/arch/emips/stand/common/bootxx.c | 183 ++
sys/arch/emips/stand/common/checksize.sh | 74 +
sys/arch/emips/stand/common/clock.c | 61 +
sys/arch/emips/stand/common/common.h | 72 +
sys/arch/emips/stand/common/conf.c | 124 +
sys/arch/emips/stand/common/dev_net.c | 1 +
sys/arch/emips/stand/common/devopen.c | 143 +
sys/arch/emips/stand/common/enic.c | 318 +++
sys/arch/emips/stand/common/init_board.c | 78 +
sys/arch/emips/stand/common/printf.c | 83 +
sys/arch/emips/stand/common/prom_iface.c | 380 ++++
sys/arch/emips/stand/common/prom_iface.h | 94 +
sys/arch/emips/stand/common/putchar.c | 42 +
sys/arch/emips/stand/common/raw.c | 164 +
sys/arch/emips/stand/common/raw.h | 37 +
sys/arch/emips/stand/common/start.S | 534 +++++
sys/arch/emips/stand/common/start.h | 60 +
sys/arch/mips/include/cpu.h | 4 +-
sys/arch/mips/include/cpuregs.h | 7 +-
sys/arch/mips/include/locore.h | 3 +-
sys/arch/mips/mips/cache.c | 62 +-
sys/arch/mips/mips/locore.S | 10 +-
sys/arch/mips/mips/locore_mips1.S | 42 +-
sys/arch/mips/mips/mips_machdep.c | 10 +-
sys/arch/mips/mips/pmap.c | 21 +-
sys/arch/mips/mips/vm_machdep.c | 39 +-
tools/headerlist | 8 +-
usr.sbin/installboot/Makefile | 4 +-
usr.sbin/installboot/arch/emips.c | 145 +
usr.sbin/installboot/machines.c | 6 +-
205 files changed, 21106 insertions(+), 46 deletions(-)
diffs (truncated from 22526 to 300 lines):
diff -r 977bbbd785bc -r 8f04ea055786 build.sh
--- a/build.sh Wed Jan 26 01:02:46 2011 +0000
+++ b/build.sh Wed Jan 26 01:18:43 2011 +0000
@@ -1,5 +1,5 @@
#! /usr/bin/env sh
-# $NetBSD: build.sh,v 1.243 2011/01/23 06:50:53 matt Exp $
+# $NetBSD: build.sh,v 1.244 2011/01/26 01:18:43 pooka Exp $
#
# Copyright (c) 2001-2009 The NetBSD Foundation, Inc.
# All rights reserved.
@@ -379,7 +379,7 @@
MACHINE_ARCH=mips64eb
;;
- ews4800mips|mipsco|newsmips|sgimips)
+ ews4800mips|mipsco|newsmips|sgimips|emips)
MACHINE_ARCH=mipseb
;;
@@ -1384,7 +1384,7 @@
eval cat <<EOF ${makewrapout}
#! ${HOST_SH}
# Set proper variables to allow easy "make" building of a NetBSD subtree.
-# Generated from: \$NetBSD: build.sh,v 1.243 2011/01/23 06:50:53 matt Exp $
+# Generated from: \$NetBSD: build.sh,v 1.244 2011/01/26 01:18:43 pooka Exp $
# with these arguments: ${_args}
#
diff -r 977bbbd785bc -r 8f04ea055786 distrib/emips/Makefile
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/distrib/emips/Makefile Wed Jan 26 01:18:43 2011 +0000
@@ -0,0 +1,9 @@
+# $NetBSD: Makefile,v 1.1 2011/01/26 01:18:43 pooka Exp $
+
+SUBDIR= ramdisk .WAIT instkernel .WAIT cdroms
+TARGETS+= release
+
+iso_image:
+ ${MAKEDIRTARGET} cdroms iso_image
+
+.include <bsd.subdir.mk>
diff -r 977bbbd785bc -r 8f04ea055786 distrib/emips/cdroms/Makefile
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/distrib/emips/cdroms/Makefile Wed Jan 26 01:18:43 2011 +0000
@@ -0,0 +1,6 @@
+# $NetBSD: Makefile,v 1.1 2011/01/26 01:18:43 pooka Exp $
+
+SUBDIR= installcd
+TARGETS+= release iso_image
+
+.include <bsd.subdir.mk>
diff -r 977bbbd785bc -r 8f04ea055786 distrib/emips/cdroms/installcd/Makefile
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/distrib/emips/cdroms/installcd/Makefile Wed Jan 26 01:18:43 2011 +0000
@@ -0,0 +1,11 @@
+# $NetBSD: Makefile,v 1.1 2011/01/26 01:18:44 pooka Exp $
+CDBASE= emipscd # gives ${CDBASE}.iso
+CDRELEASE= true # include $RELEASEDIR/$MACHINE
+CDKERNELS= netbsd-INSTALL.gz netbsd
+CDINSTKERNEL= ../../instkernel
+
+#make the CD bootable
+image_md_post:
+ ${TOOL_INSTALLBOOT} -m${MACHINE} ${CDBASE}.iso bootxx.${MACHINE}
+
+.include "${.CURDIR}/../../../common/Makefile.bootcd"
diff -r 977bbbd785bc -r 8f04ea055786 distrib/emips/instkernel/Makefile
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/distrib/emips/instkernel/Makefile Wed Jan 26 01:18:43 2011 +0000
@@ -0,0 +1,31 @@
+# $NetBSD: Makefile,v 1.1 2011/01/26 01:18:44 pooka Exp $
+
+.include <bsd.own.mk>
+.include "${NETBSDSRCDIR}/distrib/common/Makefile.distrib"
+
+.include <bsd.kernobj.mk>
+
+IMAGE= diskimage
+IMAGESIZE= 2100k
+LISTS= ${.CURDIR}/list
+MTREECONF= ${DISTRIBDIR}/common/mtree.dot
+IMAGEENDIAN= be
+PRIMARYBOOT= ${DESTDIR}/usr/mdec/bootxx_ffs
+IMAGEDEPENDS= netbsd-INSTALL.gz ${DESTDIR}/usr/mdec/boot.emips ${PRIMARYBOOT}
+IMAGEPOSTBUILD= ${TOOL_INSTALLBOOT} -v -m ${MACHINE} ${IMAGE} ${PRIMARYBOOT}
+
+RAMDISKDIR!= cd ${.CURDIR}/../ramdisk && ${PRINTOBJDIR}
+RAMDISK= ${RAMDISKDIR}/ramdisk.fs
+
+MDSETTARGETS= RAMDISK ${RAMDISK} netbsd-INSTALL
+MDSET_RELEASEDIR= binary/kernel
+
+MDSET_SUFFIXES.netbsd-INSTALL= ecoff create-ecoff
+create-ecoff= ${ELF2ECOFF} ${.TARGET:R} ${.TARGET}
+
+IMAGE_RELEASEDIR= installation/diskimage
+
+.include "${DISTRIBDIR}/common/Makefile.image"
+.include "${DISTRIBDIR}/common/Makefile.mdset"
+
+.include <bsd.prog.mk>
diff -r 977bbbd785bc -r 8f04ea055786 distrib/emips/instkernel/list
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/distrib/emips/instkernel/list Wed Jan 26 01:18:43 2011 +0000
@@ -0,0 +1,4 @@
+# $NetBSD: list,v 1.1 2011/01/26 01:18:44 pooka Exp $
+
+COPY ${DESTDIR}/usr/mdec/boot.emips boot.emips
+COPY ${OBJDIR}/netbsd-INSTALL.gz netbsd
diff -r 977bbbd785bc -r 8f04ea055786 distrib/emips/miniroot/Makefile.inc
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/distrib/emips/miniroot/Makefile.inc Wed Jan 26 01:18:43 2011 +0000
@@ -0,0 +1,18 @@
+# $NetBSD: Makefile.inc,v 1.1 2011/01/26 01:18:44 pooka Exp $
+
+DBG= -Os
+
+IMAGESIZE= 32m
+MAKEFS_FLAGS= -f 15
+IMAGEENDIAN= be
+MAKEDEVTARGETS= all
+LISTS+= ${DISTRIBDIR}/common/list.sysinst
+MTREECONF+= ${.CURDIR}/mtree.usr.install
+IMAGEDEPENDS+= ${ARCHDIR}/dot.profile \
+ ${DESTDIR}/.profile ${DESTDIR}/boot.emips \
+ ${DESTDIR}/etc/disktab \
+ ${KERNOBJDIR}/GENERIC/netbsd \
+ ${KERNOBJDIR}/GENERIC/netbsd.ecoff \
+ ${KERNOBJDIR}/INSTALL/nfsnetbsd.ecoff
+
+IMAGEPOSTBUILD= ${TOOL_INSTALLBOOT} -v -m ${MACHINE} ${IMAGE} ${DESTDIR}/usr/mdec/bootxx_ffs
diff -r 977bbbd785bc -r 8f04ea055786 distrib/emips/miniroot/dot.profile
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/distrib/emips/miniroot/dot.profile Wed Jan 26 01:18:43 2011 +0000
@@ -0,0 +1,20 @@
+# $NetBSD: dot.profile,v 1.1 2011/01/26 01:18:44 pooka Exp $
+PATH=/sbin:/bin:/usr/bin:/usr/sbin:/
+export PATH
+
+ # get the terminal type
+ _loop=""
+ while [ "X${_loop}" = X"" ]; do
+ echo "" >& 2
+ echo "Setting terminal type. Options:" >& 2
+ echo " ansi-nt for Windows console window" >& 2
+ echo " vt100 for dumb serial terminal" >& 2
+ echo " xterm for xterm." >& 2
+ echo "" >& 2
+ eval `tset -s -m ":?$TERM"`
+ if [ "X${TERM}" != X"unknown" ]; then
+ _loop="done"
+ fi
+ done
+
+ sysinst
diff -r 977bbbd785bc -r 8f04ea055786 distrib/emips/miniroot/list
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/distrib/emips/miniroot/list Wed Jan 26 01:18:43 2011 +0000
@@ -0,0 +1,49 @@
+# $NetBSD: list,v 1.1 2011/01/26 01:18:44 pooka Exp $
+
+# extras in bin
+PROG bin/csh
+PROG bin/date
+PROG bin/rcp
+PROG bin/rcmd
+
+# extras in sbin
+PROG sbin/disklabel
+PROG sbin/fsck_ext2fs
+PROG sbin/mount_ext2fs
+PROG sbin/mount_kernfs
+
+# extras in usr/bin
+PROG usr/bin/netstat
+PROG usr/bin/rsh
+PROG usr/bin/tset usr/bin/reset
+PROG usr/bin/vi
+
+# extras in usr/sbin
+PROG usr/sbin/installboot
+
+# crunchgen source directory specials: progs built in nonstandard places
+SPECIAL vi srcdir usr.bin/nvi/build
+
+# Minimize use of MFS
+SYMLINK /tmp var/tmp
+
+# we need the contents of /usr/mdec
+COPYDIR ${DESTDIR}/usr/mdec usr/mdec
+# and /boot.emips
+COPY ${DESTDIR}/boot.emips boot.emips
+
+# copy the kernel(s)
+COPY ${KERNOBJDIR}/GENERIC/netbsd netbsd
+COPY ${KERNOBJDIR}/GENERIC/netbsd.ecoff netbsd.ecoff
+COPY ${KERNOBJDIR}/INSTALL/nfsnetbsd.ecoff nfsnetbsd.ecoff
+
+# various files that we need in /etc for the install
+#SYMLINK /tmp/fstab.shadow etc/fstab
+#SYMLINK /tmp/resolv.conf.shadow etc/resolv.conf
+#SYMLINK /tmp/hosts etc/hosts
+
+# and the installation tools
+COPY ${ARCHDIR}/dot.profile .profile
+
+# and a spare .profile
+COPY ${DESTDIR}/.profile tmp/.hdprofile
diff -r 977bbbd785bc -r 8f04ea055786 distrib/emips/ramdisk/Makefile
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/distrib/emips/ramdisk/Makefile Wed Jan 26 01:18:43 2011 +0000
@@ -0,0 +1,39 @@
+# $NetBSD: Makefile,v 1.1 2011/01/26 01:18:44 pooka Exp $
+
+.include <bsd.own.mk>
+.include "${NETBSDSRCDIR}/distrib/common/Makefile.distrib"
+
+IMAGE= ramdisk.fs
+IMAGETAR= diskimage.tgz
+IMAGESIZE= 3500k
+MAKEFS_FLAGS= -f 15
+
+WARNS= 1
+DBG= -Os -mmemcpy
+
+CRUNCHBIN= ramdiskbin
+CRUNCHGEN_FLAGS= -d "${DBG}"
+LISTS= ${.CURDIR}/list ${DISTRIBDIR}/common/list.sysinst
+MTREECONF= ${DISTRIBDIR}/common/mtree.common
+IMAGEENDIAN= be
+MAKEDEVTARGETS= minimal pty0 ace0 ace1
+IMAGEDEPENDS= ${CRUNCHBIN} \
+ dot.hdprofile dot.profile \
+ ${DESTDIR}/usr/mdec/boot.emips ${DESTDIR}/usr/mdec/bootxx_ffs \
+ ${NETBSDSRCDIR}/etc/group ${NETBSDSRCDIR}/etc/master.passwd \
+ ${NETBSDSRCDIR}/etc/netconfig \
+ ${DISTRIBDIR}/common/protocols \
+ ${DISTRIBDIR}/common/services
+
+IMAGETAR_RELEASEDIR= installation/netboot
+
+# Use stubs to eliminate some large stuff from libc
+HACKSRC= ${DISTRIBDIR}/utils/libhack
+.include "${HACKSRC}/Makefile.inc"
+${CRUNCHBIN}: libhack.o
+
+.include "${DISTRIBDIR}/common/Makefile.crunch"
+.include "${DISTRIBDIR}/common/Makefile.makedev"
+.include "${DISTRIBDIR}/common/Makefile.image"
+
+.include <bsd.prog.mk>
diff -r 977bbbd785bc -r 8f04ea055786 distrib/emips/ramdisk/disktab.preinstall
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/distrib/emips/ramdisk/disktab.preinstall Wed Jan 26 01:18:43 2011 +0000
@@ -0,0 +1,42 @@
+# $NetBSD: disktab.preinstall,v 1.1 2011/01/26 01:18:44 pooka Exp $
+#
+# Disk geometry and partition layout tables.
+# Key:
+# dt controller type
+# ty type of disk (fixed, removable, simulated)
+# d[0-4] drive-type-dependent parameters
+# ns #sectors/track
+# nt #tracks/cylinder
+# nc #cylinders/disk
+# sc #sectors/cylinder, nc*nt default
+# su #sectors/unit, sc*nc default
+# se sector size, DEV_BSIZE default
+# rm rpm, 3600 default
+# sf supports bad144-style bad sector forwarding
+# sk sector skew per track, default 0
+# cs sector skew per cylinder, default 0
+# hs headswitch time, default 0
+# ts one-cylinder seek time, default 0
+# il sector interleave (n:1), 1 default
+# bs boot block size, default BBSIZE
+# sb superblock size, default SBSIZE
+# o[a-h] partition offsets in sectors
+# p[a-h] partition sizes in sectors
+# b[a-h] partition block sizes in bytes
+# f[a-h] partition fragment sizes in bytes
+# t[a-h] partition types (filesystem, swap, etc)
+#
+# All partition sizes reserve space for bad sector tables.
+# (5 cylinders needed for maintenance + replacement sectors)
+#
+ace400|400MB CFcard Cartridge:\
+ :dt=ESDI:ty=removable:se#512:nt#255:ns#63:nc#50: \
+ :pa#614400:oa#0:ta=4.2BSD:ba#8192:fa#1024:\
+ :pb#18850:ob#614400:tb=swap:2: \
+ :pc#633250:oc#0:
+ace800|800MB CFcard Cartridge:\
+ :dt=ESDI:ty=removable:se#512:nt#255:ns#63:nc#100: \
+ :pa#614400:oa#0:ta=4.2BSD:ba#8192:fa#1024:\
+ :pb#18850:ob#614400:tb=swap:2 \
+ :pc#633250:oc#0: \
+ :pd#633250:oa#633250:ta=4.2BSD:ba#8192:fa#1024:\
diff -r 977bbbd785bc -r 8f04ea055786 distrib/emips/ramdisk/dot.hdprofile
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/distrib/emips/ramdisk/dot.hdprofile Wed Jan 26 01:18:43 2011 +0000
Home |
Main Index |
Thread Index |
Old Index