RAMDISK revision 1.29 1 # $NetBSD: RAMDISK,v 1.29 2020/06/09 17:13:41 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 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_43
37
38 no file-system EXT2FS
39 no file-system LFS
40 no file-system FDESC
41 no file-system KERNFS
42 no file-system NULLFS
43 no file-system OVERLAY
44 no file-system PUFFS
45 no file-system PROCFS
46 no file-system UMAPFS
47 no file-system UNION
48 no file-system PTYFS
49 no file-system TMPFS
50
51 no options QUOTA
52 no options QUOTA2
53 no options NFSSERVER
54 no options NETATALK
55 no options PPP_FILTER
56 no options SCSIVERBOSE
57
58 no ewsms0 at zsc?
59 no wsmouse* at ewsms?
60
61 no ch* at scsibus?
62 no ses* at scsibus?
63 no ss* at scsibus?
64 no uk* at scsibus?
65
66 no pseudo-device ccd
67 no pseudo-device raid
68 no pseudo-device vnd
69 no pseudo-device fss
70 no pseudo-device putter
71 no pseudo-device ipfilter
72 no pseudo-device ppp
73 no pseudo-device pppoe
74 no pseudo-device tap
75 no pseudo-device tun
76 no pseudo-device gre
77 no pseudo-device gif
78 no pseudo-device stf
79 no pseudo-device vlan
80 no pseudo-device bridge
81 no pseudo-device agr
82 no pseudo-device accf_data
83 no pseudo-device accf_http
84 no pseudo-device clockctl
85 no pseudo-device ksyms
86 no pseudo-device wsmux
87 no pseudo-device carp
88 no pseudo-device veriexec
89