RAMDISK revision 1.31 1 # $NetBSD: RAMDISK,v 1.31 2020/06/14 04:46:27 tsutsui Exp $
2 #
3 # kernel config file with memory disk for installation
4 #
5
6 include "arch/ews4800mips/conf/GENERIC"
7
8 # Enable the hooks used for initializing the root memory-disk.
9 makeoptions COPTS="-Os -mmemcpy -fno-unwind-tables" # optimize for space
10
11 options MEMORY_DISK_HOOKS
12 options MEMORY_DISK_IS_ROOT # force root on memory disk
13 options MEMORY_DISK_SERVER=0 # no userspace memory disk support
14 # This sets the memory disk image size for the kernel. There is another
15 # memory disk image size defined in the boot blocks:
16 # src/sys/arch/ews4800mips/stand/boot/Makefile
17 options MEMORY_DISK_ROOT_SIZE=6144 # size of memory disk, in blocks (3MB)
18 options MEMORY_DISK_RBFLAGS=RB_SINGLE # boot in single-user mode
19
20 options PIPE_SOCKETPAIR
21 options NFS_V2_ONLY
22 options FFS_NO_SNAPSHOT
23 options NO_DEV_PTM
24
25 # disable some options to shrink kernel
26 no options INCLUDE_CONFIG_FILE
27 no options NTP
28 no options KTRACE
29 no options SYSVMSG
30 no options SYSVSEM
31 no options SYSVSHM
32 no options USERCONF
33 no options SYSCTL_INCLUDE_DESCR
34
35 no options DDB
36
37 no options COMPAT_43
38
39 no file-system EXT2FS
40 no file-system LFS
41 no file-system FDESC
42 no file-system KERNFS
43 no file-system NULLFS
44 no file-system OVERLAY
45 no file-system PUFFS
46 no file-system PROCFS
47 no file-system UMAPFS
48 no file-system UNION
49 no file-system PTYFS
50 no file-system TMPFS
51
52 no options QUOTA
53 no options QUOTA2
54 no options NFSSERVER
55
56 no options NETATALK
57 no options PPP_FILTER
58
59 no options SCSIVERBOSE
60
61 no ewsms0 at zsc?
62 no wsmouse* at ewsms?
63
64 no ch* at scsibus?
65 no ses* at scsibus?
66 no ss* at scsibus?
67 no uk* at scsibus?
68
69 no pseudo-device ccd
70 no pseudo-device raid
71 no pseudo-device fss
72 no pseudo-device putter
73 no pseudo-device vnd
74 no pseudo-device carp
75 no pseudo-device npf
76 no pseudo-device ppp
77 no pseudo-device pppoe
78 no pseudo-device tap
79 no pseudo-device tun
80 no pseudo-device gre
81 no pseudo-device gif
82 no pseudo-device stf
83 no pseudo-device vlan
84 no pseudo-device bridge
85 no pseudo-device agr
86 no pseudo-device accf_data
87 no pseudo-device accf_http
88 no pseudo-device clockctl
89 no pseudo-device ksyms
90 no pseudo-device wsmux
91 no pseudo-device veriexec
92