Source-Changes-HG archive

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

[src/trunk]: src Add a INSTALL_LOONGSON kernel with a ramdisk.



details:   https://anonhg.NetBSD.org/src/rev/52c80674647d
branches:  trunk
changeset: 768981:52c80674647d
user:      bouyer <bouyer%NetBSD.org@localhost>
date:      Mon Aug 29 18:32:18 2011 +0000

description:
Add a INSTALL_LOONGSON kernel with a ramdisk.
build LOONGSON and INSTALL_LOONGSON for evbmips-mip64el

diffstat:

 distrib/evbmips/instkernel/instkernel/Makefile |   5 ++++-
 etc/etc.evbmips/Makefile.inc                   |   4 +++-
 sys/arch/evbmips/conf/INSTALL_LOONGSON         |  14 ++++++++++++++
 3 files changed, 21 insertions(+), 2 deletions(-)

diffs (55 lines):

diff -r b1ff573046b3 -r 52c80674647d distrib/evbmips/instkernel/instkernel/Makefile
--- a/distrib/evbmips/instkernel/instkernel/Makefile    Mon Aug 29 18:30:52 2011 +0000
+++ b/distrib/evbmips/instkernel/instkernel/Makefile    Mon Aug 29 18:32:18 2011 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: Makefile,v 1.3 2011/02/20 08:26:09 matt Exp $
+#      $NetBSD: Makefile,v 1.4 2011/08/29 18:32:18 bouyer Exp $
 
 .include <bsd.own.mk>
 .include "${NETBSDSRCDIR}/distrib/common/Makefile.distrib"
@@ -16,6 +16,9 @@
 MDSETTARGETS+=         INSTALL_MALTA64         ${RAMDISK}      -
 MDSETTARGETS+=         INSTALL_XLSATX32        ${RAMDISK}      -
 MDSETTARGETS+=         INSTALL_XLSATX64        ${RAMDISK}      -
+.if ${MACHINE_ARCH} == "mips64el"
+MDSETTARGETS+=         INSTALL_LOONGSON        ${RAMDISK}      -
+.endif
 
 .else
 # Big endian platforms.
diff -r b1ff573046b3 -r 52c80674647d etc/etc.evbmips/Makefile.inc
--- a/etc/etc.evbmips/Makefile.inc      Mon Aug 29 18:30:52 2011 +0000
+++ b/etc/etc.evbmips/Makefile.inc      Mon Aug 29 18:32:18 2011 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: Makefile.inc,v 1.17 2011/08/24 16:03:34 matt Exp $
+#      $NetBSD: Makefile.inc,v 1.18 2011/08/29 18:32:18 bouyer Exp $
 #
 #      etc.evbmips/Makefile.inc -- evbmips-specific etc Makefile targets
 #
@@ -22,6 +22,8 @@
 
 .if ${MACHINE_ARCH} == "mips64el"
 KERNEL_SETS+=          P5064-64
+KERNEL_SETS+=          LOONGSON
+BUILD_KERNELS+=                INSTALL_LOONGSON
 KERNEL_SETS+=          GDIUM64
 .endif
 .else
diff -r b1ff573046b3 -r 52c80674647d sys/arch/evbmips/conf/INSTALL_LOONGSON
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/sys/arch/evbmips/conf/INSTALL_LOONGSON    Mon Aug 29 18:32:18 2011 +0000
@@ -0,0 +1,14 @@
+# $NetBSD: INSTALL_LOONGSON,v 1.1 2011/08/29 18:32:18 bouyer Exp $
+
+include                "arch/evbmips/conf/LOONGSON"
+
+#ident         "INSTALL_LOONGSON-$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



Home | Main Index | Thread Index | Old Index