Module Name: src Committed By: bouyer Date: Mon Aug 29 18:32:18 UTC 2011
Modified Files: src/distrib/evbmips/instkernel/instkernel: Makefile src/etc/etc.evbmips: Makefile.inc Added Files: src/sys/arch/evbmips/conf: INSTALL_LOONGSON Log Message: Add a INSTALL_LOONGSON kernel with a ramdisk. build LOONGSON and INSTALL_LOONGSON for evbmips-mip64el To generate a diff of this commit: cvs rdiff -u -r1.3 -r1.4 src/distrib/evbmips/instkernel/instkernel/Makefile cvs rdiff -u -r1.17 -r1.18 src/etc/etc.evbmips/Makefile.inc cvs rdiff -u -r0 -r1.1 src/sys/arch/evbmips/conf/INSTALL_LOONGSON 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.3 src/distrib/evbmips/instkernel/instkernel/Makefile:1.4 --- src/distrib/evbmips/instkernel/instkernel/Makefile:1.3 Sun Feb 20 08:26:09 2011 +++ src/distrib/evbmips/instkernel/instkernel/Makefile Mon Aug 29 18:32:18 2011 @@ -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. Index: src/etc/etc.evbmips/Makefile.inc diff -u src/etc/etc.evbmips/Makefile.inc:1.17 src/etc/etc.evbmips/Makefile.inc:1.18 --- src/etc/etc.evbmips/Makefile.inc:1.17 Wed Aug 24 16:03:34 2011 +++ src/etc/etc.evbmips/Makefile.inc Mon Aug 29 18:32:18 2011 @@ -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 Added files: Index: src/sys/arch/evbmips/conf/INSTALL_LOONGSON diff -u /dev/null src/sys/arch/evbmips/conf/INSTALL_LOONGSON:1.1 --- /dev/null Mon Aug 29 18:32:18 2011 +++ src/sys/arch/evbmips/conf/INSTALL_LOONGSON Mon Aug 29 18:32:18 2011 @@ -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