RAMDISK revision 1.26 1 # $NetBSD: RAMDISK,v 1.26 2020/04/07 11:12:25 martin 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" # 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 (12)
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 DDB
27 no options INCLUDE_CONFIG_FILE
28 no options NTP
29 no options KTRACE
30 no options USERCONF
31 no options SYSVMSG
32 no options SYSVSEM
33 no options SYSVSHM
34 no options SYSCTL_INCLUDE_DESCR
35
36 no options COMPAT_13
37 no options COMPAT_14
38 no options COMPAT_15
39 no options COMPAT_16
40 no options COMPAT_20
41 no options COMPAT_30
42 no options COMPAT_40
43 no options COMPAT_50
44 no options COMPAT_60
45 no options COMPAT_43
46
47 no file-system EXT2FS
48 no file-system LFS
49 no file-system FDESC
50 no file-system KERNFS
51 no file-system NULLFS
52 no file-system OVERLAY
53 no file-system PUFFS
54 no file-system PROCFS
55 no file-system UMAPFS
56 no file-system UNION
57 no file-system PTYFS
58 no file-system TMPFS
59
60 no options QUOTA
61 no options QUOTA2
62 no options NFSSERVER
63 no options NETATALK
64 no options PPP_FILTER
65 no options SCSIVERBOSE
66
67 no ewsms0 at zsc?
68 no wsmouse* at ewsms?
69
70 no ch* at scsibus?
71 no ses* at scsibus?
72 no ss* at scsibus?
73 no uk* at scsibus?
74
75 no pseudo-device ccd
76 no pseudo-device raid
77 no pseudo-device vnd
78 no pseudo-device fss
79 no pseudo-device putter
80 no pseudo-device ipfilter
81 no pseudo-device ppp
82 no pseudo-device pppoe
83 no pseudo-device tap
84 no pseudo-device tun
85 no pseudo-device gre
86 no pseudo-device gif
87 no pseudo-device stf
88 no pseudo-device vlan
89 no pseudo-device bridge
90 no pseudo-device agr
91 no pseudo-device accf_data
92 no pseudo-device accf_http
93 no pseudo-device clockctl
94 no pseudo-device ksyms
95 no pseudo-device wsmux
96 no pseudo-device carp
97 no pseudo-device veriexec
98