FreeBSD/Linux Kernel Cross Reference
sys/mips/conf/RT5350
1 # RT5350 -- Kernel configuration file for FreeBSD/mips for Ralink RT5350 systems
2 #
3 # For more information on this file, please read the handbook section on
4 # Kernel Configuration Files:
5 #
6 # http://www.FreeBSD.org/doc/en_US.ISO8859-1/books/handbook/kernelconfig-config.html
7 #
8 # The handbook is also available locally in /usr/share/doc/handbook
9 # if you've installed the doc distribution, otherwise always see the
10 # FreeBSD World Wide Web server (http://www.FreeBSD.org/) for the
11 # latest information.
12 #
13 # An exhaustive list of options and more detailed explanations of the
14 # device lines is also present in the ../../conf/NOTES and NOTES files.
15 # If you are in doubt as to the purpose or necessity of a line, check first
16 # in NOTES.
17 #
18 # $FreeBSD: releng/11.1/sys/mips/conf/RT5350 295945 2016-02-24 00:39:36Z sobomax $
19
20 ident RT5350
21
22 machine mips mipsel
23 makeoptions MIPS_LITTLE_ENDIAN=defined
24 makeoptions KERNLOADADDR=0x80001000
25
26 # Don't build any modules yet.
27 makeoptions MODULES_OVERRIDE="wlan_xauth wlan_wep wlan_tkip wlan_acl wlan_amrr wlan_ccmp wlan_rssadapt if_bridge bridgestp msdosfs md ipfw dummynet libalias geom/geom_label ufs usb/uplcom usb/u3g usb/umodem usb/umass usb/ucom cam zlib"
28 makeoptions RT5350
29
30 include "../rt305x/std.rt305x"
31
32 hints "RT5350.hints" #Default places to look for devices.
33
34 #makeoptions DEBUG=-g #Build kernel with gdb(1) debug symbols
35
36 options RT5350
37 options RT305X_UBOOT
38
39 # Debugging for use in -current
40 options DEADLKRES #Enable the deadlock resolver
41 options INVARIANTS #Enable calls of extra sanity checking
42 options INVARIANT_SUPPORT #Extra sanity checks of internal structures, required by INVARIANTS
43 options WITNESS #Enable checks to detect deadlocks and cycles
44 options WITNESS_SKIPSPIN #Don't run witness on spinlocks for speed
45 #options DIAGNOSTIC
46 #options DEBUG_LOCKS
47 #options DEBUG_VFS_LOCKS
48 #options GDB
49 options DDB
50 options KDB
51
52 options SCHED_ULE
53 options INET #InterNETworking
54 #options NFSCL #Network Filesystem Client
55 #options NFS_ROOT #NFS usable as /, requires NFSCL
56 options PSEUDOFS #Pseudo-filesystem framework
57 #options _KPOSIX_PRIORITY_SCHEDULING #Posix P1003_1B real-time extensions
58
59 #options BOOTP
60 #options BOOTP_NFSROOT
61 #options BOOTP_NFSV3
62 #options BOOTP_WIRED_TO=rt0
63 #options BOOTP_COMPAT
64
65 options TMPFS # TMP Memory Filesystem
66
67 options FFS #Berkeley Fast Filesystem
68 #options ROOTDEVNAME=\"nfs:193.178.153.200:/bsdmips\"
69
70 #device geom_uzip
71 #options GEOM_UZIP
72 #options MD_ROOT
73 #options ROOTDEVNAME=\"ufs:md0.uzip\"
74
75 # Options for making kernel less hangry
76 makeoptions INLINE_LIMIT=1024
77 options MAXUSERS=3
78 options MAXFILES=512
79 options NSFBUFS=256
80 options SHMALL=128
81 options MSGBUF_SIZE=65536
82
83 # Options for making kernel smallest
84 options NO_SYSCTL_DESCR # No description string of sysctl
85 #options NO_FFS_SNAPSHOT # Disable Snapshot supporting
86 options SCSI_NO_SENSE_STRINGS
87 options SCSI_NO_OP_STRINGS
88 options RWLOCK_NOINLINE
89 options SX_NOINLINE
90 options NO_SWAPPING
91 options MROUTING # Multicast routing
92 options IPFIREWALL_DEFAULT_TO_ACCEPT
93
94 #device md
95 device random
96 device loop
97 # RT3050F, RT3052F have only pseudo PHYs, so mii not required
98 device rt
99
100 device ether
101 device bpf # Berkeley packet filter
102 device vlan
103 #device lagg
104 #device if_bridge
105 device uart
106 nodevice uart_ns8250
107 device tun # Packet tunnel.
108
109 device wlan
110
111 #device gpio
112 #device gpioled
113
114 #device nvram2env
115
116 device spibus
117 device mx25l
118
119 device usb
120 device ehci
121 options SCSI_DELAY=1000 # Delay (in ms) before probing SCSI
122
123 #options USB_EHCI_BIG_ENDIAN_DESC # handle big-endian byte order
124 #options USB_DEBUG
125 #options USB_REQ_DEBUG
Cache object: 9b645de8852f38d669c8df6fbc747da1
|