Module Name: src
Committed By: rin
Date: Wed Feb 8 20:11:18 UTC 2017
Modified Files:
src/distrib/zaurus/ramdisk: Makefile
src/sys/arch/zaurus/conf: INSTALL
Log Message:
Shrink the ramdisk of INSTALL kernel for zaurus in order to fit within 5MB.
Now free spaces of the main kernel and ramdisk are about 62KB and 215KB for
INSTALL, respectively.
OK christos
To generate a diff of this commit:
cvs rdiff -u -r1.21 -r1.22 src/distrib/zaurus/ramdisk/Makefile
cvs rdiff -u -r1.31 -r1.32 src/sys/arch/zaurus/conf/INSTALL
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/distrib/zaurus/ramdisk/Makefile
diff -u src/distrib/zaurus/ramdisk/Makefile:1.21 src/distrib/zaurus/ramdisk/Makefile:1.22
--- src/distrib/zaurus/ramdisk/Makefile:1.21 Tue Jan 24 18:04:05 2017
+++ src/distrib/zaurus/ramdisk/Makefile Wed Feb 8 20:11:18 2017
@@ -1,10 +1,10 @@
-# $NetBSD: Makefile,v 1.21 2017/01/24 18:04:05 christos Exp $
+# $NetBSD: Makefile,v 1.22 2017/02/08 20:11:18 rin Exp $
.include <bsd.own.mk>
.include "${NETBSDSRCDIR}/distrib/common/Makefile.distrib"
IMAGE= ramdisk.fs
-IMAGESIZE= 2256k
+IMAGESIZE= 2176k
MAKEFS_FLAGS+= -f 14
WARNS= 1
Index: src/sys/arch/zaurus/conf/INSTALL
diff -u src/sys/arch/zaurus/conf/INSTALL:1.31 src/sys/arch/zaurus/conf/INSTALL:1.32
--- src/sys/arch/zaurus/conf/INSTALL:1.31 Mon Jan 30 02:41:12 2017
+++ src/sys/arch/zaurus/conf/INSTALL Wed Feb 8 20:11:18 2017
@@ -1,4 +1,4 @@
-# $NetBSD: INSTALL,v 1.31 2017/01/30 02:41:12 nonaka Exp $
+# $NetBSD: INSTALL,v 1.32 2017/02/08 20:11:18 rin Exp $
#
# INSTALL config file (GENERIC with memory disk root)
#
@@ -9,7 +9,7 @@ include "arch/zaurus/conf/GENERIC"
options MEMORY_DISK_HOOKS # enable root ramdisk
options MEMORY_DISK_IS_ROOT # force root on memory disk
options MEMORY_DISK_SERVER=0 # no userspace memory disk support
-options MEMORY_DISK_ROOT_SIZE=4516 # size of memory disk, in blocks
+options MEMORY_DISK_ROOT_SIZE=4352 # size of memory disk, in blocks
options MEMORY_DISK_RBFLAGS=RB_SINGLE # boot in single-user mode
# for reduce kernel size.