Module Name: src
Committed By: joerg
Date: Mon Apr 6 14:18:09 UTC 2015
Modified Files:
src/distrib/evbmips/instkernel/instkernel: Makefile
src/etc/etc.evbmips: Makefile.inc
Added Files:
src/sys/arch/evbmips/conf: INSTALL_CI20
Log Message:
Add CI20 install kernel and build that and the normal image as kernel set.
To generate a diff of this commit:
cvs rdiff -u -r1.4 -r1.5 src/distrib/evbmips/instkernel/instkernel/Makefile
cvs rdiff -u -r1.18 -r1.19 src/etc/etc.evbmips/Makefile.inc
cvs rdiff -u -r0 -r1.1 src/sys/arch/evbmips/conf/INSTALL_CI20
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/distrib/evbmips/instkernel/instkernel/Makefile
diff -u src/distrib/evbmips/instkernel/instkernel/Makefile:1.4 src/distrib/evbmips/instkernel/instkernel/Makefile:1.5
--- src/distrib/evbmips/instkernel/instkernel/Makefile:1.4 Mon Aug 29 18:32:18 2011
+++ src/distrib/evbmips/instkernel/instkernel/Makefile Mon Apr 6 14:18:09 2015
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.4 2011/08/29 18:32:18 bouyer Exp $
+# $NetBSD: Makefile,v 1.5 2015/04/06 14:18:09 joerg Exp $
.include <bsd.own.mk>
.include "${NETBSDSRCDIR}/distrib/common/Makefile.distrib"
@@ -8,7 +8,8 @@ RAMDISK= ${RAMDISKDIR}/ramdisk.fs
.if ${MACHINE_ARCH} == "mipsel"
# Little endian platforms.
-MDSETTARGETS= INSTALL_OMSAL400 ${RAMDISK} -
+MDSETTARGETS= INSTALL_CI20 ${RAMDISK} -
+MDSETTARGETS+= INSTALL_OMSAL400 ${RAMDISK} -
MDSETTARGETS+= INSTALL_MALTA ${RAMDISK} -
.elif ${MACHINE_ARCH} == "mips64eb" || ${MACHINE_ARCH} == "mips64el"
Index: src/etc/etc.evbmips/Makefile.inc
diff -u src/etc/etc.evbmips/Makefile.inc:1.18 src/etc/etc.evbmips/Makefile.inc:1.19
--- src/etc/etc.evbmips/Makefile.inc:1.18 Mon Aug 29 18:32:18 2011
+++ src/etc/etc.evbmips/Makefile.inc Mon Apr 6 14:18:08 2015
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile.inc,v 1.18 2011/08/29 18:32:18 bouyer Exp $
+# $NetBSD: Makefile.inc,v 1.19 2015/04/06 14:18:08 joerg Exp $
#
# etc.evbmips/Makefile.inc -- evbmips-specific etc Makefile targets
#
@@ -9,9 +9,9 @@
KERNEL_SUFFIXES= srec
.if ${MACHINE_ARCH} == "mipsel"
-KERNEL_SETS= ALCHEMY CPMBR1400 DBAU1500 DBAU1550 GDIUM
+KERNEL_SETS= ALCHEMY CI20 CPMBR1400 DBAU1500 DBAU1550 GDIUM
KERNEL_SETS+= MALTA MTX-1 OMSAL400
-BUILD_KERNELS= INSTALL_OMSAL400 INSTALL_MALTA
+BUILD_KERNELS= INSTALL_CI20 INSTALL_OMSAL400 INSTALL_MALTA
KERNEL_SETS+= P4032 P5064 P6032
Added files:
Index: src/sys/arch/evbmips/conf/INSTALL_CI20
diff -u /dev/null src/sys/arch/evbmips/conf/INSTALL_CI20:1.1
--- /dev/null Mon Apr 6 14:18:09 2015
+++ src/sys/arch/evbmips/conf/INSTALL_CI20 Mon Apr 6 14:18:09 2015
@@ -0,0 +1,14 @@
+# $NetBSD: INSTALL_CI20,v 1.1 2015/04/06 14:18:09 joerg Exp $
+
+include "arch/evbmips/conf/CI20"
+
+#ident "INSTALL_CI20-$Revision: 1.1 $"
+
+# Enable the hooks used for initializing the root memory-disk.
+# The ramdisk size must be kept in sync manually with the size of
+# the `ramdisk' image (which is built in distrib/evbmips/ramdisk/ramdisk).
+pseudo-device md # memory disk device
+options MEMORY_DISK_HOOKS
+options MEMORY_DISK_IS_ROOT # force root on memory disk
+options MEMORY_DISK_SERVER=0 # no userspace memory disk
+options MEMORY_DISK_ROOT_SIZE=12288 # size of memory disk, in blocks