]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/blob - sys/arm/conf/SAM9260EK
Upgrade to OpenSSH 6.7p1, retaining libwrap support (which has been removed
[FreeBSD/FreeBSD.git] / sys / arm / conf / SAM9260EK
1 # Kernel configuration for Atmel SAM9260-EK eval board
2 #
3 # For more information on this file, please read the config(5) manual page,
4 # and/or the handbook section on 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$
19
20 #NO_UNIVERSE
21
22 ident           SAM9260EK
23
24 include         "std.arm"
25 include         "../at91/std.sam9260ek"
26
27 # Coming soon, but not yet
28 #options        FDT
29 #options        FDT_DTB_STATIC
30 #makeoptions    FDT_DTS_FILE=sam9260ek.dts
31
32 options         EARLY_PRINTF
33 options         SOCDEV_PA=0xfc000000
34 options         SOCDEV_VA=0xdc000000
35
36 # To statically compile in device wiring instead of /boot/device.hints
37 hints           "SAM9260EK.hints"
38
39 #makeoptions    DEBUG=-g                # Build kernel with gdb(1) debug symbols
40 makeoptions     MODULES_OVERRIDE=""
41
42 options         SCHED_4BSD              # 4BSD scheduler
43 #options        PREEMPTION              # Enable kernel thread preemption
44 options         INET                    # InterNETworking
45 #options        INET6                   # IPv6 communications protocols
46 #options        SCTP                    # Stream Control Transmission Protocol
47 options         FFS                     # Berkeley Fast Filesystem
48 options         SOFTUPDATES             # Enable FFS soft updates support
49 #options        UFS_ACL                 # Support for access control lists
50 options         UFS_DIRHASH             # Improve performance on big directories
51 #options        UFS_GJOURNAL            # Enable gjournal-based UFS journaling
52 #options        MD_ROOT                 # MD is a potential root device
53 options         NANDFS                  # NAND file system
54 options         NFSCL                   # Network Filesystem Client
55 #options        NFSD                    # Network Filesystem Server
56 options         NFSLOCKD                # Network Lock Manager
57 options         NFS_ROOT                # NFS usable as /, requires NFSCL
58 options         TMPFS                   # Efficient memory filesystem
59 #options        MSDOSFS                 # MSDOS Filesystem
60 #options        CD9660                  # ISO 9660 Filesystem
61 #options        PROCFS                  # Process filesystem (requires PSEUDOFS)
62 #options        PSEUDOFS                # Pseudo-filesystem framework
63 options         GEOM_PART_BSD           # BSD partition scheme
64 options         GEOM_PART_MBR           # MBR partition scheme
65 #options        GEOM_PART_GPT           # GUID Partition Tables.
66 #options        GEOM_LABEL              # Provides labelization
67 #options        COMPAT_FREEBSD5         # Compatible with FreeBSD5
68 #options        COMPAT_FREEBSD6         # Compatible with FreeBSD6
69 #options        COMPAT_FREEBSD7         # Compatible with FreeBSD7
70 options         SCSI_DELAY=5000         # Delay (in ms) before probing SCSI
71 options         KTRACE                  # ktrace(1) support
72 #options        STACK                   # stack(9) support
73 options         SYSVSHM                 # SYSV-style shared memory
74 options         SYSVMSG                 # SYSV-style message queues
75 options         SYSVSEM                 # SYSV-style semaphores
76 options         _KPOSIX_PRIORITY_SCHEDULING # POSIX P1003_1B real-time extensions
77 options         PRINTF_BUFR_SIZE=128    # Prevent printf output being interspersed.
78 #options        HWPMC_HOOKS             # Necessary kernel hooks for hwpmc(4)
79 #options        AUDIT                   # Security event auditing
80 #options        CAPABILITY_MODE         # Capsicum capability mode
81 #options        CAPABILITIES            # Capsicum capabilities
82 #options        MAC                     # TrustedBSD MAC Framework
83 #options        INCLUDE_CONFIG_FILE     # Include this file in kernel
84
85 # Debugging support.  Always need this:
86 #options        KDB                     # Enable kernel debugger support
87 # For minimum debugger support (stable branch) use:
88 #options        KDB_TRACE               # Print a stack trace for a panic
89 # For full debugger support use this instead:
90 #options        DDB                     # Enable the kernel debugger
91 #options        GDB                     # Support remote GDB
92 #options        DEADLKRES               # Enable the deadlock resolver
93 #options        INVARIANTS              # Enable calls of extra sanity checking
94 #options        INVARIANT_SUPPORT       # Extra sanity checks of internal structures, required by INVARIANTS
95 #options        WITNESS                 # Enable checks to detect deadlocks and cycles
96 #options        WITNESS_SKIPSPIN        # Don't run witness on spinlocks for speed
97 #options        MALLOC_DEBUG_MAXZONES=8 # Separate malloc(9) zones
98
99 # NFS root from boopt/dhcp
100 #options        BOOTP
101 #options        BOOTP_NFSROOT
102 #options        BOOTP_COMPAT
103 #options        BOOTP_NFSV3
104 #options        BOOTP_WIRED_TO=macb0
105
106 # s3 because s1 is reserved for the DOS parittions sometimes needed to
107 # boot off SD cards on the G20 and newer chips. s2 is reserved for
108 # nanobsd's config partition. s3 and s4 are for the ping-pong upgrade
109 # path. 9260 doesn't boot off SD, but let's keep things sane.
110 options         ROOTDEVNAME=\"ufs:/dev/mmcsd0s3a\"
111
112 # Alternatively, boot from a USB card.
113 #options        ROOTDEVNAME=\"ufs:/dev/da0s1a\"
114
115 # kernel/memory size reduction
116 options         MUTEX_NOINLINE
117 options         NO_FFS_SNAPSHOT
118 options         NO_SWAPPING
119 options         NO_SYSCTL_DESCR
120 options         RWLOCK_NOINLINE
121
122 # The `bpf' device enables the Berkeley Packet Filter.
123 # Be aware of the administrative consequences of enabling this!
124 # Note that 'bpf' is required for DHCP.
125 device          bpf                     # Berkeley packet filter
126
127 # Ethernet
128 device          mii                     # Minimal MII support
129 device          macb                    # Atmel AT91 Ethernet driver
130
131 # I2C
132 device          at91_twi                # Atmel AT91 Two-wire Interface
133 device          iic                     # I2C generic I/O device driver
134 device          iicbus                  # I2C bus system
135 device          icee                    # I2C eeprom
136
137 # MMC/SD
138 # See comment for DataFlash below
139 device          at91_mci                # Atmel AT91 Multimedia Card Interface
140 options         AT91_MCI_HAS_4WIRE      # 4 wires
141 options         AT91_MCI_SLOT_B         # Wired to slot B
142 device          mmc                     # MMC/SD bus
143 device          mmcsd                   # MMC/SD memory card
144
145 # DataFlash
146 # The DataFlash and MMC card are wired together, so we must pick one or the
147 # other.  This is due to pin mux, and also due to the design of the
148 # SAM9260EK board.  SLOT A wouldn't have this issue.
149 #device         at91_spi                # Atmel AT91 Serial Peripheral Interface
150 #device         spibus                  # SPI bus
151 #device         at45d                   # Atmel AT45D
152 #device         geom_map                # GEOM partition mapping
153
154 # Pseudo devices.
155 device          loop                    # Network loopback
156 device          random                  # Entropy device
157 device          ether                   # Ethernet support
158 #device         vlan                    # 802.1Q VLAN support
159 #device         tun                     # Packet tunnel.
160 device          md                      # Memory "disks"
161 #device         gif                     # IPv6 and IPv4 tunneling
162 #device         firmware                # firmware assist module
163
164 # SCSI peripherals
165 #device         scbus                   # SCSI bus (required for ATA/SCSI)
166 #device         ch                      # SCSI media changers
167 #device         da                      # Direct Access (disks)
168 #device         sa                      # Sequential Access (tape etc)
169 #device         cd                      # CD/DVD
170 #device         pass                    # Passthrough device (direct ATA/SCSI access)
171 #device         ses                     # Enclosure Services (SES and SAF-TE)
172 #device         ctl                     # CAM Target Layer
173
174 # Serial (COM) ports
175 device          uart                    # Multi-uart driver
176 options         ALT_BREAK_TO_DEBUGGER
177
178 # USB support
179 #options        USB_DEBUG               # enable debug msgs
180 #device         ohci                    # OHCI USB interface
181 #device         usb                     # USB Bus (required)
182 #device         umass                   # Disks/Mass storage - Requires scbus and da
183
184 # watchdog
185 device          at91_wdt                # Atmel AT91 Watchdog Timer
186
187 # NAND Flash - Reference design has Samsung 256MB but others possible
188 device          nand                    # NAND interface on CS3
189
190 options         NSFBUFS=128
191 maxusers        32
192
193 # Limit IO size
194 options         NBUF=128
195
196 # Don't include the SCSI/CAM strings in the default build
197 options         SCSI_NO_SENSE_STRINGS
198 options         SCSI_NO_OP_STRINGS
199
200 # .. And no sysctl strings
201 options         NO_SYSCTL_DESCR
202
203 # For small memory footprints
204 options         VM_KMEM_SIZE_SCALE=1