Permalink
Browse files

Sync with HEAD

  • Loading branch information...
1 parent 84c5bde commit a8df4a1f2de8963668a80de39f4fa8f0aff583e7 bouyer committed Mar 6, 2011
Showing with 17,859 additions and 0 deletions.
  1. +9 −0 distrib/emips/Makefile
  2. +6 −0 distrib/emips/cdroms/Makefile
  3. +11 −0 distrib/emips/cdroms/installcd/Makefile
  4. +31 −0 distrib/emips/instkernel/Makefile
  5. +4 −0 distrib/emips/instkernel/list
  6. +18 −0 distrib/emips/miniroot/Makefile.inc
  7. +20 −0 distrib/emips/miniroot/dot.profile
  8. +49 −0 distrib/emips/miniroot/list
  9. +39 −0 distrib/emips/ramdisk/Makefile
  10. +42 −0 distrib/emips/ramdisk/disktab.preinstall
  11. +62 −0 distrib/emips/ramdisk/dot.hdprofile
  12. +67 −0 distrib/emips/ramdisk/dot.profile
  13. +80 −0 distrib/emips/ramdisk/list
  14. +5 −0 distrib/notes/emips/Makefile
  15. +26 −0 distrib/notes/emips/hardware
  16. +378 −0 distrib/notes/emips/install
  17. +141 −0 distrib/notes/emips/legal
  18. +6 −0 distrib/notes/emips/prep
  19. +3 −0 distrib/notes/emips/upgrade
  20. +3 −0 distrib/notes/emips/xfer
  21. +6 −0 distrib/utils/sysinst/arch/emips/Makefile
  22. +206 −0 distrib/utils/sysinst/arch/emips/md.c
  23. +94 −0 distrib/utils/sysinst/arch/emips/md.h
  24. +40 −0 distrib/utils/sysinst/arch/emips/menus.md.en
  25. +40 −0 distrib/utils/sysinst/arch/emips/menus.md.es
  26. +40 −0 distrib/utils/sysinst/arch/emips/menus.md.fr
  27. +43 −0 distrib/utils/sysinst/arch/emips/menus.md.pl
  28. +53 −0 distrib/utils/sysinst/arch/emips/msg.md.de
  29. +52 −0 distrib/utils/sysinst/arch/emips/msg.md.en
  30. +52 −0 distrib/utils/sysinst/arch/emips/msg.md.es
  31. +53 −0 distrib/utils/sysinst/arch/emips/msg.md.fr
  32. +56 −0 distrib/utils/sysinst/arch/emips/msg.md.pl
  33. +33 −0 etc/etc.emips/MAKEDEV.conf
  34. +12 −0 etc/etc.emips/Makefile.inc
  35. +25 −0 etc/etc.emips/ttys
  36. +15 −0 external/bsd/llvm/Makefile
  37. +30 −0 external/bsd/llvm/Makefile.inc
  38. +29 −0 external/bsd/llvm/bin/Makefile
  39. +5 −0 external/bsd/llvm/bin/Makefile.inc
  40. +38 −0 external/bsd/llvm/bin/bugpoint/Makefile
  41. +64 −0 external/bsd/llvm/bin/clang/Makefile
  42. +33 −0 external/bsd/llvm/bin/llc/Makefile
  43. +33 −0 external/bsd/llvm/bin/lli/Makefile
  44. +20 −0 external/bsd/llvm/bin/llvm-ar/Makefile
  45. +20 −0 external/bsd/llvm/bin/llvm-as/Makefile
  46. +17 −0 external/bsd/llvm/bin/llvm-bcanalyzer/Makefile
  47. +21 −0 external/bsd/llvm/bin/llvm-diff/Makefile
  48. +19 −0 external/bsd/llvm/bin/llvm-dis/Makefile
  49. +26 −0 external/bsd/llvm/bin/llvm-extract/Makefile
  50. +31 −0 external/bsd/llvm/bin/llvm-ld/Makefile
  51. +23 −0 external/bsd/llvm/bin/llvm-link/Makefile
  52. +34 −0 external/bsd/llvm/bin/llvm-mc/Makefile
  53. +21 −0 external/bsd/llvm/bin/llvm-nm/Makefile
  54. +20 −0 external/bsd/llvm/bin/llvm-prof/Makefile
  55. +20 −0 external/bsd/llvm/bin/llvm-ranlib/Makefile
  56. +12 −0 external/bsd/llvm/bin/llvm-stub/Makefile
  57. +35 −0 external/bsd/llvm/bin/llvmc/Makefile
  58. +19 −0 external/bsd/llvm/bin/macho-dumpx/Makefile
  59. +32 −0 external/bsd/llvm/bin/opt/Makefile
  60. +55 −0 external/bsd/llvm/bin/tblgen/Makefile
  61. +6 −0 external/bsd/llvm/config/clang/Basic/Version.inc
  62. +29 −0 external/bsd/llvm/config/llvm/Config/AsmParsers.def
  63. +29 −0 external/bsd/llvm/config/llvm/Config/AsmPrinters.def
  64. +29 −0 external/bsd/llvm/config/llvm/Config/Disassemblers.def
  65. +28 −0 external/bsd/llvm/config/llvm/Config/Targets.def
  66. +633 −0 external/bsd/llvm/config/llvm/Config/config.h
  67. +98 −0 external/bsd/llvm/config/llvm/Config/llvm-config.h
  68. +112 −0 external/bsd/llvm/config/llvm/Support/DataTypes.h
  69. +90 −0 external/bsd/llvm/include/Makefile
  70. +69 −0 external/bsd/llvm/lib/Makefile
  71. +5 −0 external/bsd/llvm/lib/Makefile.inc
  72. +70 −0 external/bsd/llvm/lib/libLLVMAnalysis/Makefile
  73. +13 −0 external/bsd/llvm/lib/libLLVMArchive/Makefile
  74. +17 −0 external/bsd/llvm/lib/libLLVMAsmParser/Makefile
  75. +23 −0 external/bsd/llvm/lib/libLLVMAsmPrinter/Makefile
  76. +16 −0 external/bsd/llvm/lib/libLLVMBitReader/Makefile
  77. +18 −0 external/bsd/llvm/lib/libLLVMBitWriter/Makefile
  78. +11 −0 external/bsd/llvm/lib/libLLVMCBackend/Makefile
  79. +13 −0 external/bsd/llvm/lib/libLLVMCBackendInfo/Makefile
  80. +108 −0 external/bsd/llvm/lib/libLLVMCodeGen/Makefile
  81. +15 −0 external/bsd/llvm/lib/libLLVMCompilerDriver/Makefile
  82. +48 −0 external/bsd/llvm/lib/libLLVMCore/Makefile
  83. +11 −0 external/bsd/llvm/lib/libLLVMCppBackend/Makefile
  84. +13 −0 external/bsd/llvm/lib/libLLVMCppBackendInfo/Makefile
  85. +12 −0 external/bsd/llvm/lib/libLLVMExecutionEngine/Makefile
  86. +11 −0 external/bsd/llvm/lib/libLLVMHello/Makefile
  87. +27 −0 external/bsd/llvm/lib/libLLVMInstCombine/Makefile
  88. +15 −0 external/bsd/llvm/lib/libLLVMInstrumentation/Makefile
  89. +13 −0 external/bsd/llvm/lib/libLLVMInterpreter/Makefile
  90. +20 −0 external/bsd/llvm/lib/libLLVMJIT/Makefile
  91. +14 −0 external/bsd/llvm/lib/libLLVMLinker/Makefile
  92. +48 −0 external/bsd/llvm/lib/libLLVMMC/Makefile
  93. +18 −0 external/bsd/llvm/lib/libLLVMMCDisassembler/Makefile
  94. +12 −0 external/bsd/llvm/lib/libLLVMMCJIT/Makefile
  95. +23 −0 external/bsd/llvm/lib/libLLVMMCParser/Makefile
  96. +15 −0 external/bsd/llvm/lib/libLLVMObject/Makefile
  97. +47 −0 external/bsd/llvm/lib/libLLVMScalarOpts/Makefile
  98. +35 −0 external/bsd/llvm/lib/libLLVMSelectionDAG/Makefile
  99. +100 −0 external/bsd/llvm/lib/libLLVMSupport/Makefile
  100. +29 −0 external/bsd/llvm/lib/libLLVMTarget/Makefile
  101. +40 −0 external/bsd/llvm/lib/libLLVMTransformsUtils/Makefile
  102. +19 −0 external/bsd/llvm/lib/libLLVMX86AsmParser/Makefile
  103. +21 −0 external/bsd/llvm/lib/libLLVMX86AsmPrinter/Makefile
  104. +56 −0 external/bsd/llvm/lib/libLLVMX86CodeGen/Makefile
  105. +19 −0 external/bsd/llvm/lib/libLLVMX86Disassembler/Makefile
  106. +18 −0 external/bsd/llvm/lib/libLLVMX86TargetInfo/Makefile
  107. +19 −0 external/bsd/llvm/lib/libLLVMipa/Makefile
  108. +36 −0 external/bsd/llvm/lib/libLLVMipo/Makefile
  109. +56 −0 external/bsd/llvm/lib/libclangAST/Makefile
  110. +26 −0 external/bsd/llvm/lib/libclangAnalysis/Makefile
  111. +29 −0 external/bsd/llvm/lib/libclangBasic/Makefile
  112. +50 −0 external/bsd/llvm/lib/libclangCodeGen/Makefile
  113. +32 −0 external/bsd/llvm/lib/libclangDriver/Makefile
  114. +40 −0 external/bsd/llvm/lib/libclangFrontend/Makefile
  115. +15 −0 external/bsd/llvm/lib/libclangFrontendTool/Makefile
  116. +25 −0 external/bsd/llvm/lib/libclangIndex/Makefile
  117. +33 −0 external/bsd/llvm/lib/libclangLex/Makefile
  118. +27 −0 external/bsd/llvm/lib/libclangParse/Makefile
  119. +25 −0 external/bsd/llvm/lib/libclangRewrite/Makefile
  120. +47 −0 external/bsd/llvm/lib/libclangSema/Makefile
  121. +22 −0 external/bsd/llvm/lib/libclangSerialization/Makefile
  122. +70 −0 external/bsd/llvm/lib/libclangStaticAnalyzerCheckers/Makefile
  123. +28 −0 external/bsd/llvm/link.mk
  124. +15 −0 external/bsd/llvm/tablegen.mk
  125. +29 −0 external/mit/xorg/lib/libchromeXvMCPro/Makefile
  126. +4 −0 external/mit/xorg/lib/libchromeXvMCPro/shlib_version
  127. +14 −0 external/mit/xorg/server/drivers/xf86-input-synaptics/Makefile
  128. +5 −0 lib/csu/arch/powerpc/Makefile.inc
  129. +49 −0 lib/csu/arch/powerpc/crt0.S
  130. +268 −0 lib/csu/arch/powerpc/crtbegin.S
  131. +52 −0 lib/csu/arch/powerpc/crtend.S
  132. +50 −0 lib/csu/arch/powerpc/crti.S
  133. +44 −0 lib/csu/arch/powerpc/crtn.S
  134. +329 −0 lib/libm/arch/sparc64/fenv.c
  135. +70 −0 sys/arch/sandpoint/stand/altboot/Makefile
  136. +48 −0 sys/arch/sandpoint/stand/altboot/README.altboot
  137. +983 −0 sys/arch/sandpoint/stand/altboot/brdsetup.c
  138. +115 −0 sys/arch/sandpoint/stand/altboot/dev_net.c
  139. +121 −0 sys/arch/sandpoint/stand/altboot/devopen.c
  140. +530 −0 sys/arch/sandpoint/stand/altboot/dsk.c
  141. +217 −0 sys/arch/sandpoint/stand/altboot/entry.S
  142. +529 −0 sys/arch/sandpoint/stand/altboot/fxp.c
  143. +207 −0 sys/arch/sandpoint/stand/altboot/globals.h
  144. +273 −0 sys/arch/sandpoint/stand/altboot/kse.c
  145. +535 −0 sys/arch/sandpoint/stand/altboot/main.c
  146. +144 −0 sys/arch/sandpoint/stand/altboot/nif.c
  147. +413 −0 sys/arch/sandpoint/stand/altboot/nvt.c
  148. +383 −0 sys/arch/sandpoint/stand/altboot/pci.c
  149. +146 −0 sys/arch/sandpoint/stand/altboot/pciide.c
  150. +403 −0 sys/arch/sandpoint/stand/altboot/pcn.c
  151. +272 −0 sys/arch/sandpoint/stand/altboot/printf.c
  152. +396 −0 sys/arch/sandpoint/stand/altboot/rge.c
  153. +116 −0 sys/arch/sandpoint/stand/altboot/siisata.c
  154. +429 −0 sys/arch/sandpoint/stand/altboot/sip.c
  155. +501 −0 sys/arch/sandpoint/stand/altboot/skg.c
  156. +323 −0 sys/arch/sandpoint/stand/altboot/sme.c
  157. +427 −0 sys/arch/sandpoint/stand/altboot/tlp.c
  158. +8 −0 sys/arch/sandpoint/stand/altboot/version
  159. +505 −0 sys/arch/sandpoint/stand/altboot/vge.c
  160. +461 −0 sys/arch/sandpoint/stand/altboot/wm.c
  161. +11 −0 sys/dev/hil/Makefile
  162. +86 −0 sys/dev/hil/devlist2h.awk
  163. +21 −0 sys/dev/hil/files.hil
  164. +883 −0 sys/dev/hil/hil.c
  165. +50 −0 sys/dev/hil/hildevs
  166. +73 −0 sys/dev/hil/hildevs.h
  167. +60 −0 sys/dev/hil/hildevs_data.h
  168. +102 −0 sys/dev/hil/hilid.c
  169. +501 −0 sys/dev/hil/hilkbd.c
  170. +613 −0 sys/dev/hil/hilkbdmap.c
  171. +36 −0 sys/dev/hil/hilkbdmap.h
  172. +336 −0 sys/dev/hil/hilms.c
  173. +158 −0 sys/dev/hil/hilreg.h
  174. +111 −0 sys/dev/hil/hilvar.h
  175. +10 −0 sys/modules/pud/Makefile
  176. +12 −0 sys/modules/tprof_amdpmi/Makefile
  177. +20 −0 tools/llvm-clang/Makefile
  178. +6 −0 tools/llvm-include/Makefile
  179. +9 −0 tools/llvm-lib/Makefile
  180. +10 −0 tools/llvm-lib/Makefile.inc
  181. +3 −0 tools/llvm-lib/libLLVMAnalysis/Makefile
  182. +3 −0 tools/llvm-lib/libLLVMAsmParser/Makefile
  183. +3 −0 tools/llvm-lib/libLLVMAsmPrinter/Makefile
  184. +3 −0 tools/llvm-lib/libLLVMBitReader/Makefile
  185. +3 −0 tools/llvm-lib/libLLVMBitWriter/Makefile
  186. +3 −0 tools/llvm-lib/libLLVMCodeGen/Makefile
  187. +3 −0 tools/llvm-lib/libLLVMCore/Makefile
  188. +3 −0 tools/llvm-lib/libLLVMInstCombine/Makefile
  189. +3 −0 tools/llvm-lib/libLLVMMC/Makefile
  190. +3 −0 tools/llvm-lib/libLLVMMCDisassembler/Makefile
  191. +3 −0 tools/llvm-lib/libLLVMMCParser/Makefile
  192. +3 −0 tools/llvm-lib/libLLVMScalarOpts/Makefile
  193. +3 −0 tools/llvm-lib/libLLVMSelectionDAG/Makefile
  194. +3 −0 tools/llvm-lib/libLLVMSupport/Makefile
  195. +3 −0 tools/llvm-lib/libLLVMTarget/Makefile
  196. +3 −0 tools/llvm-lib/libLLVMTransformsUtils/Makefile
  197. +3 −0 tools/llvm-lib/libLLVMX86AsmParser/Makefile
  198. +3 −0 tools/llvm-lib/libLLVMX86AsmPrinter/Makefile
  199. +3 −0 tools/llvm-lib/libLLVMX86CodeGen/Makefile
  200. +3 −0 tools/llvm-lib/libLLVMX86Disassembler/Makefile
  201. +3 −0 tools/llvm-lib/libLLVMX86TargetInfo/Makefile
  202. +3 −0 tools/llvm-lib/libLLVMipa/Makefile
  203. +3 −0 tools/llvm-lib/libLLVMipo/Makefile
  204. +3 −0 tools/llvm-lib/libclangAST/Makefile
  205. +3 −0 tools/llvm-lib/libclangAnalysis/Makefile
  206. +3 −0 tools/llvm-lib/libclangBasic/Makefile
  207. +3 −0 tools/llvm-lib/libclangCodeGen/Makefile
  208. +3 −0 tools/llvm-lib/libclangDriver/Makefile
  209. +3 −0 tools/llvm-lib/libclangFrontend/Makefile
  210. +3 −0 tools/llvm-lib/libclangFrontendTool/Makefile
  211. +3 −0 tools/llvm-lib/libclangIndex/Makefile
  212. +3 −0 tools/llvm-lib/libclangLex/Makefile
  213. +3 −0 tools/llvm-lib/libclangParse/Makefile
  214. +3 −0 tools/llvm-lib/libclangRewrite/Makefile
  215. +3 −0 tools/llvm-lib/libclangSema/Makefile
  216. +3 −0 tools/llvm-lib/libclangSerialization/Makefile
  217. +3 −0 tools/llvm-lib/libclangStaticAnalyzerCheckers/Makefile
  218. +7 −0 tools/llvm-tblgen/Makefile
  219. +43 −0 tools/llvm/Makefile
  220. +3 −0 tools/llvm/Makefile.inc
@@ -0,0 +1,9 @@
+# $NetBSD: Makefile,v 1.1.2.2 2011/03/06 15:07:36 bouyer Exp $
+
+SUBDIR= ramdisk .WAIT instkernel .WAIT cdroms
+TARGETS+= release
+
+iso_image:
+ ${MAKEDIRTARGET} cdroms iso_image
+
+.include <bsd.subdir.mk>
@@ -0,0 +1,6 @@
+# $NetBSD: Makefile,v 1.1.2.2 2011/03/06 15:07:37 bouyer Exp $
+
+SUBDIR= installcd
+TARGETS+= release iso_image
+
+.include <bsd.subdir.mk>
@@ -0,0 +1,11 @@
+# $NetBSD: Makefile,v 1.1.2.2 2011/03/06 15:07:37 bouyer 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"
@@ -0,0 +1,31 @@
+# $NetBSD: Makefile,v 1.1.2.2 2011/03/06 15:07:37 bouyer 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>
@@ -0,0 +1,4 @@
+# $NetBSD: list,v 1.1.2.2 2011/03/06 15:07:37 bouyer Exp $
+
+COPY ${DESTDIR}/usr/mdec/boot.emips boot.emips
+COPY ${OBJDIR}/netbsd-INSTALL.gz netbsd
@@ -0,0 +1,18 @@
+# $NetBSD: Makefile.inc,v 1.1.2.2 2011/03/06 15:07:37 bouyer 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
@@ -0,0 +1,20 @@
+# $NetBSD: dot.profile,v 1.1.2.2 2011/03/06 15:07:37 bouyer 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
@@ -0,0 +1,49 @@
+# $NetBSD: list,v 1.1.2.2 2011/03/06 15:07:37 bouyer 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
@@ -0,0 +1,39 @@
+# $NetBSD: Makefile,v 1.1.2.2 2011/03/06 15:07:37 bouyer 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>
@@ -0,0 +1,42 @@
+# $NetBSD: disktab.preinstall,v 1.1.2.2 2011/03/06 15:07:37 bouyer 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:\
@@ -0,0 +1,62 @@
+# $NetBSD: dot.hdprofile,v 1.1.2.2 2011/03/06 15:07:37 bouyer Exp $
+#
+# Copyright (c) 1994 Christopher G. Demetriou
+# All rights reserved.
+#
+# Redistribution and use in source and binary forms, with or without
+# modification, are permitted provided that the following conditions
+# are met:
+# 1. Redistributions of source code must retain the above copyright
+# notice, this list of conditions and the following disclaimer.
+# 2. Redistributions in binary form must reproduce the above copyright
+# notice, this list of conditions and the following disclaimer in the
+# documentation and/or other materials provided with the distribution.
+# 3. All advertising materials mentioning features or use of this software
+# must display the following acknowledgement:
+# This product includes software developed for the
+# NetBSD Project. See http://www.NetBSD.org/ for
+# information about NetBSD.
+# 4. The name of the author may not be used to endorse or promote products
+# derived from this software without specific prior written permission.
+#
+# THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR
+# IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
+# OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
+# IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT,
+# INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
+# NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
+# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+# THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
+# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
+# THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+#
+# <<Id: LICENSE,v 1.2 2000/06/14 15:57:33 cgd Exp>>
+
+PATH=/sbin:/bin:/usr/bin:/usr/sbin:/
+export PATH
+TERM=vt100
+export TERM
+HOME=/
+export HOME
+
+umask 022
+
+if [ "X${DONEPROFILE}" = "X" ]; then
+ DONEPROFILE=YES
+ export DONEPROFILE
+
+ echo "Checking filesystems..."
+ fsck -y
+
+ echo "Mounting root..."
+ mount -u /
+
+ # set up some sane defaults
+ echo 'erase ^?, werase ^W, kill ^U, intr ^C'
+ stty newcrt werase ^W intr ^C kill ^U erase ^? 9600
+ echo ''
+
+ TERMCAP=/.termcap ; export TERMCAP
+
+ [ -x /sysinst ] && /sysinst
+fi
@@ -0,0 +1,67 @@
+# $NetBSD: dot.profile,v 1.1.2.2 2011/03/06 15:07:37 bouyer Exp $
+#
+# Copyright (c) 1997 Perry E. Metzger
+# Copyright (c) 1994 Christopher G. Demetriou
+# All rights reserved.
+#
+# Redistribution and use in source and binary forms, with or without
+# modification, are permitted provided that the following conditions
+# are met:
+# 1. Redistributions of source code must retain the above copyright
+# notice, this list of conditions and the following disclaimer.
+# 2. Redistributions in binary form must reproduce the above copyright
+# notice, this list of conditions and the following disclaimer in the
+# documentation and/or other materials provided with the distribution.
+# 3. All advertising materials mentioning features or use of this software
+# must display the following acknowledgement:
+# This product includes software developed for the
+# NetBSD Project. See http://www.NetBSD.org/ for
+# information about NetBSD.
+# 4. The name of the author may not be used to endorse or promote products
+# derived from this software without specific prior written permission.
+#
+# THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR
+# IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
+# OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
+# IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT,
+# INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
+# NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
+# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+# THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
+# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
+# THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+#
+# <<Id: LICENSE,v 1.2 2000/06/14 15:57:33 cgd Exp>>
+
+PATH=/sbin:/bin:/usr/bin:/usr/sbin:/
+export PATH
+TERM=vt100
+export TERM
+HOME=/
+export HOME
+
+umask 022
+
+ROOTDEV=/dev/md0a
+
+if [ "X${DONEPROFILE}" = "X" ]; then
+ DONEPROFILE=YES
+ export DONEPROFILE
+
+ # get the terminal type
+ eval `tset -s -m ":?$TERM"`
+
+ # set up some sane defaults
+ echo 'erase ^?, werase ^W, kill ^U, intr ^C'
+ stty newcrt werase ^W intr ^C kill ^U erase ^? 9600
+ echo ''
+
+ # mount the ramdisk read write
+ mount -u $ROOTDEV /
+
+ # mount the kern_fs so that we can examine the dmesg state
+ mount -t kernfs /kern /kern
+
+ # run the installation program
+ sysinst
+fi
Oops, something went wrong.

0 comments on commit a8df4a1

Please sign in to comment.