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