RAMDISK revision 1.37 1 # $NetBSD: RAMDISK,v 1.37 2025/04/22 17:39:12 christos 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=8000 # size of memory disk, in blocks (4000KB)
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 no options COMPAT_13
39
40 no file-system EXT2FS
41 no file-system LFS
42 no file-system FDESC
43 no file-system KERNFS
44 no file-system NULLFS
45 no file-system OVERLAY
46 no file-system PUFFS
47 no file-system PROCFS
48 no file-system UMAPFS
49 no file-system UNION
50 no file-system PTYFS
51 no file-system TMPFS
52
53 no options QUOTA
54 no options QUOTA2
55 no options NFSSERVER
56 no options UFS_EXTATTR
57
58 no options NETATALK
59 no options PPP_FILTER
60
61 no options SCSIVERBOSE
62
63 no ewsms0 at zsc?
64 no wsmouse* at ewsms?
65
66 no ch* at scsibus?
67 no ses* at scsibus?
68 no ss* at scsibus?
69 no uk* at scsibus?
70
71 no pseudo-device ccd
72 no pseudo-device raid
73 no pseudo-device fss
74 no pseudo-device putter
75 no pseudo-device vnd
76 no pseudo-device carp
77 no pseudo-device npf
78 no pseudo-device ppp
79 no pseudo-device pppoe
80 no pseudo-device tap
81 no pseudo-device tun
82 no pseudo-device gre
83 no pseudo-device gif
84 no pseudo-device stf
85 no pseudo-device vlan
86 no pseudo-device bridge
87 no pseudo-device vether
88 no pseudo-device agr
89 no pseudo-device accf_data
90 no pseudo-device accf_http
91 no pseudo-device clockctl
92 no pseudo-device ksyms
93 no pseudo-device wsmux
94 no pseudo-device veriexec
95