Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/arch/sgimips/conf Disable misc options to shrink an INST...
details: https://anonhg.NetBSD.org/src/rev/9ca928ed7c19
branches: trunk
changeset: 365020:9ca928ed7c19
user: tsutsui <tsutsui%NetBSD.org@localhost>
date: Sun Sep 02 08:51:53 2018 +0000
description:
Disable misc options to shrink an INSTALL kernel for IP2x.
The ARC BIOS on Indy seems to have ~8MB limit.
Fixes PR port-sgimips/53378 from Naruaki Etomi.
Should be pulled up to netbsd-7 and netbsd-8.
diffstat:
sys/arch/sgimips/conf/INSTALL32_IP2x | 59 +++++++++++++++++++++++++++++++++++-
1 files changed, 58 insertions(+), 1 deletions(-)
diffs (73 lines):
diff -r ff86eb417e25 -r 9ca928ed7c19 sys/arch/sgimips/conf/INSTALL32_IP2x
--- a/sys/arch/sgimips/conf/INSTALL32_IP2x Sun Sep 02 01:18:22 2018 +0000
+++ b/sys/arch/sgimips/conf/INSTALL32_IP2x Sun Sep 02 08:51:53 2018 +0000
@@ -5,7 +5,7 @@
# Pull in standard `install' config
include "arch/sgimips/conf/GENERIC32_IP2x"
-makeoptions COPTS="-Os"
+makeoptions COPTS="-Os -mmemcpy"
# Enable the hooks used for initializing the root memory-disk.
options MEMORY_DISK_HOOKS
@@ -13,3 +13,60 @@
options MEMORY_DISK_SERVER=0 # no userspace memory disk support
options MEMORY_DISK_ROOT_SIZE=6400 # size of memory disk in blocks (3200k)
options MEMORY_DISK_RBFLAGS=RB_SINGLE # boot in single-user mode
+
+# shrink kernel since ARC BIOS seems to have 8MB limit
+options FFS_NO_SNAPSHOT
+
+no options KTRACE
+no options SYSVMSG
+no options SYSVSEM
+no options SYSVSHM
+no options SYSCTL_INCLUDE_DESCR
+no options COMPAT_15
+no options COMPAT_16
+no options COMPAT_20
+no options COMPAT_30
+no options COMPAT_40
+no options COMPAT_LINUX
+
+no file-system EXT2FS
+no file-system LFS
+no file-system NTFS
+no file-system FDESC
+no file-system KERNFS
+no file-system NULLFS
+no file-system OVERLAY
+no file-system PUFFS
+no file-system PROCFS
+no file-system UMAPFS
+no file-system UNION
+no file-system CODA
+no file-system TMPFS
+
+no options QUOTA
+no options QUOTA2
+no options NFSSERVER
+
+no options NETATALK
+no options PPP_FILTER
+
+no options MIIVERBOSE
+no options SCSIVERBOSE
+
+no ch* at scsibus?
+no ss* at scsibus?
+no ses* at scsibus?
+no uk* at scsibus?
+
+no ppbus*
+no lpt*
+
+no pseudo-device ccd
+no pseudo-device fss
+no pseudo-device ipfilter
+no pseudo-device bridge
+no pseudo-device accf_data
+no pseudo-device accf_http
+no pseudo-device sequencer
+no pseudo-device putter
+no pseudo-device vcoda
Home |
Main Index |
Thread Index |
Old Index