CVS commit: src/distrib/zaurus/ramdisk

2015-07-20 Thread Matt Thomas
Module Name:src
Committed By:   matt
Date:   Tue Jul 21 01:53:44 UTC 2015

Modified Files:
src/distrib/zaurus/ramdisk: Makefile

Log Message:
Adding -DNDEBUG saves about 5KB of text and disable asserts.
Adding -mthumb -mthumb-interwork, knowing this is Xscale which
has thumb, saves about 340KB of text.


To generate a diff of this commit:
cvs rdiff -u -r1.19 -r1.20 src/distrib/zaurus/ramdisk/Makefile

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.19 src/distrib/zaurus/ramdisk/Makefile:1.20
--- src/distrib/zaurus/ramdisk/Makefile:1.19	Sun Jul 19 09:23:53 2015
+++ src/distrib/zaurus/ramdisk/Makefile	Tue Jul 21 01:53:44 2015
@@ -1,4 +1,4 @@
-#	$NetBSD: Makefile,v 1.19 2015/07/19 09:23:53 martin Exp $
+#	$NetBSD: Makefile,v 1.20 2015/07/21 01:53:44 matt Exp $
 
 .include bsd.own.mk
 .include ${NETBSDSRCDIR}/distrib/common/Makefile.distrib
@@ -9,6 +9,8 @@ MAKEFS_FLAGS=	-f 14
 
 WARNS=		1
 DBG=		-Os
+DBG+=		-mthumb -mthumb-interwork
+DBG+=		-DNDEBUG
 
 CRUNCHBIN=	ramdiskbin
 LISTS=		${.CURDIR}/list ${DISTRIBDIR}/common/list.sysinst



CVS commit: src/distrib/zaurus/ramdisk

2015-07-19 Thread Martin Husemann
Module Name:src
Committed By:   martin
Date:   Sun Jul 19 09:23:53 UTC 2015

Modified Files:
src/distrib/zaurus/ramdisk: Makefile

Log Message:
Backout previous - it is not that easy


To generate a diff of this commit:
cvs rdiff -u -r1.18 -r1.19 src/distrib/zaurus/ramdisk/Makefile

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.18 src/distrib/zaurus/ramdisk/Makefile:1.19
--- src/distrib/zaurus/ramdisk/Makefile:1.18	Fri Jul 17 19:32:48 2015
+++ src/distrib/zaurus/ramdisk/Makefile	Sun Jul 19 09:23:53 2015
@@ -1,10 +1,10 @@
-#	$NetBSD: Makefile,v 1.18 2015/07/17 19:32:48 martin Exp $
+#	$NetBSD: Makefile,v 1.19 2015/07/19 09:23:53 martin Exp $
 
 .include bsd.own.mk
 .include ${NETBSDSRCDIR}/distrib/common/Makefile.distrib
 
 IMAGE=		ramdisk.fs
-IMAGESIZE=	2350k
+IMAGESIZE=	2256k
 MAKEFS_FLAGS=	-f 14
 
 WARNS=		1



CVS commit: src/distrib/zaurus/ramdisk

2015-07-17 Thread Martin Husemann
Module Name:src
Committed By:   martin
Date:   Fri Jul 17 19:32:48 UTC 2015

Modified Files:
src/distrib/zaurus/ramdisk: Makefile

Log Message:
Bump ram disk image size slightly


To generate a diff of this commit:
cvs rdiff -u -r1.17 -r1.18 src/distrib/zaurus/ramdisk/Makefile

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.17 src/distrib/zaurus/ramdisk/Makefile:1.18
--- src/distrib/zaurus/ramdisk/Makefile:1.17	Mon Aug  4 20:20:39 2014
+++ src/distrib/zaurus/ramdisk/Makefile	Fri Jul 17 19:32:48 2015
@@ -1,10 +1,10 @@
-#	$NetBSD: Makefile,v 1.17 2014/08/04 20:20:39 martin Exp $
+#	$NetBSD: Makefile,v 1.18 2015/07/17 19:32:48 martin Exp $
 
 .include bsd.own.mk
 .include ${NETBSDSRCDIR}/distrib/common/Makefile.distrib
 
 IMAGE=		ramdisk.fs
-IMAGESIZE=	2256k
+IMAGESIZE=	2350k
 MAKEFS_FLAGS=	-f 14
 
 WARNS=		1



CVS commit: src/distrib/zaurus/ramdisk

2014-08-04 Thread Martin Husemann
Module Name:src
Committed By:   martin
Date:   Mon Aug  4 20:20:39 UTC 2014

Modified Files:
src/distrib/zaurus/ramdisk: Makefile

Log Message:
Bump imagesize slightly


To generate a diff of this commit:
cvs rdiff -u -r1.16 -r1.17 src/distrib/zaurus/ramdisk/Makefile

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.16 src/distrib/zaurus/ramdisk/Makefile:1.17
--- src/distrib/zaurus/ramdisk/Makefile:1.16	Fri Jun 28 19:24:29 2013
+++ src/distrib/zaurus/ramdisk/Makefile	Mon Aug  4 20:20:39 2014
@@ -1,10 +1,10 @@
-#	$NetBSD: Makefile,v 1.16 2013/06/28 19:24:29 he Exp $
+#	$NetBSD: Makefile,v 1.17 2014/08/04 20:20:39 martin Exp $
 
 .include bsd.own.mk
 .include ${NETBSDSRCDIR}/distrib/common/Makefile.distrib
 
 IMAGE=		ramdisk.fs
-IMAGESIZE=	2212k
+IMAGESIZE=	2256k
 MAKEFS_FLAGS=	-f 14
 
 WARNS=		1



CVS commit: src/distrib/zaurus/ramdisk

2013-06-26 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Wed Jun 26 15:53:48 UTC 2013

Modified Files:
src/distrib/zaurus/ramdisk: list

Log Message:
comment out a few more to make things fit again


To generate a diff of this commit:
cvs rdiff -u -r1.19 -r1.20 src/distrib/zaurus/ramdisk/list

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/list
diff -u src/distrib/zaurus/ramdisk/list:1.19 src/distrib/zaurus/ramdisk/list:1.20
--- src/distrib/zaurus/ramdisk/list:1.19	Sun Jul  3 19:11:34 2011
+++ src/distrib/zaurus/ramdisk/list	Wed Jun 26 11:53:48 2013
@@ -1,4 +1,4 @@
-#	$NetBSD: list,v 1.19 2011/07/03 23:11:34 tron Exp $
+#	$NetBSD: list,v 1.20 2013/06/26 15:53:48 christos Exp $
 
 # external/bsd/less/bin has to be first, otherwise the ramdisk.mk generation fails
 SRCDIRS external/bsd/less/bin bin sbin usr.bin usr.sbin
@@ -16,7 +16,7 @@ PROG	bin/mkdir
 PROG	bin/mv
 PROG	bin/pax		usr/bin/tar
 PROG	bin/pwd
-PROG	bin/rcmd
+#PROG	bin/rcmd
 PROG	bin/rm
 PROG	bin/sh
 PROG	bin/stty
@@ -41,7 +41,7 @@ PROG	sbin/ping
 PROG	sbin/reboot	sbin/halt
 PROG	sbin/restore	sbin/rrestore
 PROG	sbin/route
-PROG	sbin/scsictl
+#PROG	sbin/scsictl
 PROG	sbin/shutdown
 #PROG	sbin/slattach
 PROG	sbin/swapctl



CVS commit: src/distrib/zaurus/ramdisk

2011-05-20 Thread Izumi Tsutsui
Module Name:src
Committed By:   tsutsui
Date:   Fri May 20 07:54:13 UTC 2011

Modified Files:
src/distrib/zaurus/ramdisk: list

Log Message:
- disable chio(1) and slattach(8)
- use x_ed (no crypt support) and x_gzip (no compress and bz2 support)
- add back mount_cd9660 for USB CD/DVD drives


To generate a diff of this commit:
cvs rdiff -u -r1.16 -r1.17 src/distrib/zaurus/ramdisk/list

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/list
diff -u src/distrib/zaurus/ramdisk/list:1.16 src/distrib/zaurus/ramdisk/list:1.17
--- src/distrib/zaurus/ramdisk/list:1.16	Fri May  6 18:32:59 2011
+++ src/distrib/zaurus/ramdisk/list	Fri May 20 07:54:12 2011
@@ -1,10 +1,10 @@
-#	$NetBSD: list,v 1.16 2011/05/06 18:32:59 tsutsui Exp $
+#	$NetBSD: list,v 1.17 2011/05/20 07:54:12 tsutsui Exp $
 
 # usr.bin/less has to be first, otherwise the ramdisk.mk generation fails
 SRCDIRS usr.bin/less bin sbin usr.bin usr.sbin gnu/usr.bin
 
 PROG	bin/cat
-PROG	bin/chio
+#PROG	bin/chio
 PROG	bin/chmod
 PROG	bin/cp
 PROG	bin/dd
@@ -32,6 +32,7 @@
 PROG	sbin/init
 PROG	sbin/mknod
 PROG	sbin/mount
+PROG	sbin/mount_cd9660
 PROG	sbin/mount_ffs
 PROG	sbin/mount_msdos
 PROG	sbin/mount_nfs
@@ -42,7 +43,7 @@
 PROG	sbin/route
 PROG	sbin/scsictl
 PROG	sbin/shutdown
-PROG	sbin/slattach
+#PROG	sbin/slattach
 PROG	sbin/swapctl
 PROG	sbin/umount
 
@@ -57,11 +58,13 @@
 # init invokes the shell as -sh
 ARGVLN	sh -sh
 
+SPECIAL	ed		srcdir	distrib/utils/x_ed
+SPECIAL	gzip		srcdir	distrib/utils/x_gzip
 SPECIAL	ifconfig	srcdir	distrib/utils/x_ifconfig
 SPECIAL	ping		srcdir	distrib/utils/x_ping
 SPECIAL	route		srcdir	distrib/utils/x_route
 
-LIBS	libhack.o -lbz2 -ledit -lutil -lcurses -lterminfo -lrmt -lcrypt -ll -lm -lz -lprop
+LIBS	libhack.o -lutil -lcurses -lterminfo -lrmt -lcrypt -ll -lm -lz -lprop
 
 # various files that we need in /etc for the install
 COPY	${NETBSDSRCDIR}/etc/group		etc/group



CVS commit: src/distrib/zaurus/ramdisk

2011-05-20 Thread Izumi Tsutsui
Module Name:src
Committed By:   tsutsui
Date:   Fri May 20 07:59:44 UTC 2011

Modified Files:
src/distrib/zaurus/ramdisk: list

Log Message:
Remove gnu/usr.bin from SRCDIRS. (no sources there)


To generate a diff of this commit:
cvs rdiff -u -r1.17 -r1.18 src/distrib/zaurus/ramdisk/list

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/list
diff -u src/distrib/zaurus/ramdisk/list:1.17 src/distrib/zaurus/ramdisk/list:1.18
--- src/distrib/zaurus/ramdisk/list:1.17	Fri May 20 07:54:12 2011
+++ src/distrib/zaurus/ramdisk/list	Fri May 20 07:59:44 2011
@@ -1,7 +1,7 @@
-#	$NetBSD: list,v 1.17 2011/05/20 07:54:12 tsutsui Exp $
+#	$NetBSD: list,v 1.18 2011/05/20 07:59:44 tsutsui Exp $
 
 # usr.bin/less has to be first, otherwise the ramdisk.mk generation fails
-SRCDIRS usr.bin/less bin sbin usr.bin usr.sbin gnu/usr.bin
+SRCDIRS usr.bin/less bin sbin usr.bin usr.sbin
 
 PROG	bin/cat
 #PROG	bin/chio



CVS commit: src/distrib/zaurus/ramdisk

2011-05-06 Thread Izumi Tsutsui
Module Name:src
Committed By:   tsutsui
Date:   Fri May  6 18:33:00 UTC 2011

Modified Files:
src/distrib/zaurus/ramdisk: dot.profile list

Log Message:
Use /sbin/dmesg directly rather than kernfs and /kern/msgbuf as other ports.


To generate a diff of this commit:
cvs rdiff -u -r1.2 -r1.3 src/distrib/zaurus/ramdisk/dot.profile
cvs rdiff -u -r1.15 -r1.16 src/distrib/zaurus/ramdisk/list

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/dot.profile
diff -u src/distrib/zaurus/ramdisk/dot.profile:1.2 src/distrib/zaurus/ramdisk/dot.profile:1.3
--- src/distrib/zaurus/ramdisk/dot.profile:1.2	Sun Mar 14 12:36:32 2010
+++ src/distrib/zaurus/ramdisk/dot.profile	Fri May  6 18:32:59 2011
@@ -1,4 +1,4 @@
-# $NetBSD: dot.profile,v 1.2 2010/03/14 12:36:32 nonaka Exp $
+# $NetBSD: dot.profile,v 1.3 2011/05/06 18:32:59 tsutsui Exp $
 #
 # Copyright (c) 1997 Perry E. Metzger
 # Copyright (c) 1994 Christopher G. Demetriou
@@ -60,13 +60,9 @@
 	# 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
-
 	# pull in the functions that people will use from the shell prompt.
 	# . /.commonutils
 	# . /.instutils
-	dmesg() cat /kern/msgbuf
 	grep() sed -n /$1/p
 
 	# run the installation or upgrade script.

Index: src/distrib/zaurus/ramdisk/list
diff -u src/distrib/zaurus/ramdisk/list:1.15 src/distrib/zaurus/ramdisk/list:1.16
--- src/distrib/zaurus/ramdisk/list:1.15	Thu May  5 09:07:59 2011
+++ src/distrib/zaurus/ramdisk/list	Fri May  6 18:32:59 2011
@@ -1,4 +1,4 @@
-#	$NetBSD: list,v 1.15 2011/05/05 09:07:59 nonaka Exp $
+#	$NetBSD: list,v 1.16 2011/05/06 18:32:59 tsutsui Exp $
 
 # usr.bin/less has to be first, otherwise the ramdisk.mk generation fails
 SRCDIRS usr.bin/less bin sbin usr.bin usr.sbin gnu/usr.bin
@@ -24,6 +24,7 @@
 
 PROG	sbin/chown	bin/chgrp
 PROG	sbin/disklabel
+PROG	sbin/dmesg
 PROG	sbin/fdisk
 PROG	sbin/fsck
 PROG	sbin/fsck_ffs
@@ -32,7 +33,6 @@
 PROG	sbin/mknod
 PROG	sbin/mount
 PROG	sbin/mount_ffs
-PROG	sbin/mount_kernfs
 PROG	sbin/mount_msdos
 PROG	sbin/mount_nfs
 PROG	sbin/newfs	sbin/mount_mfs



CVS commit: src/distrib/zaurus/ramdisk

2011-05-06 Thread Izumi Tsutsui
Module Name:src
Committed By:   tsutsui
Date:   Fri May  6 18:33:59 UTC 2011

Modified Files:
src/distrib/zaurus/ramdisk: Makefile

Log Message:
Specify DGB=-Os to make libhack a bit smaller.


To generate a diff of this commit:
cvs rdiff -u -r1.12 -r1.13 src/distrib/zaurus/ramdisk/Makefile

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.12 src/distrib/zaurus/ramdisk/Makefile:1.13
--- src/distrib/zaurus/ramdisk/Makefile:1.12	Thu May  5 09:07:59 2011
+++ src/distrib/zaurus/ramdisk/Makefile	Fri May  6 18:33:59 2011
@@ -1,4 +1,4 @@
-#	$NetBSD: Makefile,v 1.12 2011/05/05 09:07:59 nonaka Exp $
+#	$NetBSD: Makefile,v 1.13 2011/05/06 18:33:59 tsutsui Exp $
 
 .include bsd.own.mk
 .include ${NETBSDSRCDIR}/distrib/common/Makefile.distrib
@@ -8,6 +8,7 @@
 MAKEFS_FLAGS=	-f 14
 
 WARNS=		1
+DBG=		-Os
 
 CRUNCHBIN=	ramdiskbin
 LISTS=		${.CURDIR}/list ${DISTRIBDIR}/common/list.sysinst