]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/blob - sys/arm/conf/ATMEL
Allow DTrace to be compiled-in to the kernel.
[FreeBSD/FreeBSD.git] / sys / arm / conf / ATMEL
1 # Kernel configuration to test compile all the atmel bits with one
2 # configuration.  This kernel will not (presently) boot.  Do not copy
3 # it to create your own custom config file.
4 #
5 # $FreeBSD$
6
7 ident           ATMEL
8
9 include         "std.arm"
10 include         "../at91/std.atmel"
11
12 # Typical values for most SoCs and board configurations.  Will not work for
13 # at91sam9g45 or on some boards with non u-boot boot loaders.
14 makeoptions     KERNPHYSADDR=0x20000000
15 makeoptions     KERNVIRTADDR=0xc0000000
16 options         KERNPHYSADDR=0x20000000
17 options         KERNVIRTADDR=0xc0000000
18
19 makeoptions     MODULES_OVERRIDE="dtb/atmel"
20
21 # list all boards here, but not just yet (no multiboard in mainline).
22 options         ARM_MANY_BOARD
23 device          at91_board_bwct
24 device          at91_board_ethernut5
25 device          at91_board_hl200
26 device          at91_board_hl201
27 device          at91_board_kb920x
28 device          at91_board_qila9g20
29 device          at91_board_sam9260ek
30 device          at91_board_sam9g20ek
31 device          at91_board_sam9x25ek
32 device          at91_board_sn9g45
33 device          at91_board_tsc4370
34
35 #makeoptions    DEBUG=-g                # Build kernel with gdb(1) debug symbols
36
37 options         SCHED_4BSD              # 4BSD scheduler
38 #options        PREEMPTION              # Enable kernel thread preemption
39 options         INET                    # InterNETworking
40 options         INET6                   # IPv6 communications protocols
41 options         SCTP                    # Stream Control Transmission Protocol
42 options         FFS                     # Berkeley Fast Filesystem
43 options         SOFTUPDATES             # Enable FFS soft updates support
44 options         UFS_ACL                 # Support for access control lists
45 options         UFS_DIRHASH             # Improve performance on big directories
46 options         UFS_GJOURNAL            # Enable gjournal-based UFS journaling
47 options         MD_ROOT                 # MD is a potential root device
48 options         NFSCL                   # Network Filesystem Client
49 options         NFSD                    # Network Filesystem Server
50 options         NFSLOCKD                # Network Lock Manager
51 options         NFS_ROOT                # NFS usable as /, requires NFSCL
52 options         TMPFS                   # Efficient memory filesystem
53 options         MSDOSFS                 # MSDOS Filesystem
54 options         CD9660                  # ISO 9660 Filesystem
55 options         PROCFS                  # Process filesystem (requires PSEUDOFS)
56 options         PSEUDOFS                # Pseudo-filesystem framework
57 options         GEOM_PART_BSD           # BSD partition scheme
58 options         GEOM_PART_MBR           # MBR partition scheme
59 options         GEOM_PART_GPT           # GUID Partition Tables.
60 options         GEOM_LABEL              # Provides labelization
61 options         COMPAT_FREEBSD5         # Compatible with FreeBSD5
62 options         COMPAT_FREEBSD6         # Compatible with FreeBSD6
63 options         COMPAT_FREEBSD7         # Compatible with FreeBSD7
64 options         COMPAT_FREEBSD9         # Compatible with FreeBSD9
65 options         COMPAT_FREEBSD10        # Compatible with FreeBSD10
66 options         SCSI_DELAY=5000         # Delay (in ms) before probing SCSI
67 options         KTRACE                  # ktrace(1) support
68 options         STACK                   # stack(9) support
69 options         SYSVSHM                 # SYSV-style shared memory
70 options         SYSVMSG                 # SYSV-style message queues
71 options         SYSVSEM                 # SYSV-style semaphores
72 options         _KPOSIX_PRIORITY_SCHEDULING # POSIX P1003_1B real-time extensions
73 options         PRINTF_BUFR_SIZE=128    # Prevent printf output being interspersed.
74 #options        HWPMC_HOOKS             # Necessary kernel hooks for hwpmc(4)
75 #options        AUDIT                   # Security event auditing
76 #options        CAPABILITY_MODE         # Capsicum capability mode
77 #options        CAPABILITIES            # Capsicum capabilities
78 #options        MAC                     # TrustedBSD MAC Framework
79 #options        INCLUDE_CONFIG_FILE     # Include this file in kernel
80
81 # Debugging support.  Always need this:
82 options         KDB                     # Enable kernel debugger support
83 # For minimum debugger support (stable branch) use:
84 options         KDB_TRACE               # Print a stack trace for a panic
85 # For full debugger support use this instead:
86 options         DDB                     # Enable the kernel debugger
87 options         GDB                     # Support remote GDB
88 #options        DEADLKRES               # Enable the deadlock resolver
89 #options        INVARIANTS              # Enable calls of extra sanity checking
90 #options        INVARIANT_SUPPORT       # Extra sanity checks of internal structures, required by INVARIANTS
91 #options        WITNESS                 # Enable checks to detect deadlocks and cycles
92 #options        WITNESS_SKIPSPIN        # Don't run witness on spinlocks for speed
93 #options        MALLOC_DEBUG_MAXZONES=8 # Separate malloc(9) zones
94
95 # NFS root from boopt/dhcp
96 options         BOOTP
97 options         BOOTP_NFSROOT
98 options         BOOTP_COMPAT
99 options         BOOTP_NFSV3
100 options         BOOTP_WIRED_TO=ate0
101
102 # alternatively, boot from a MMC/SD memory card
103 #options        ROOTDEVNAME=\"ufs:/dev/mmcsd0a\"
104
105 # kernel/memory size reduction
106 options         MUTEX_NOINLINE
107 options         NO_FFS_SNAPSHOT
108 options         NO_SWAPPING
109 options         NO_SYSCTL_DESCR
110 options         RWLOCK_NOINLINE
111
112 # The `bpf' device enables the Berkeley Packet Filter.
113 # Be aware of the administrative consequences of enabling this!
114 # Note that 'bpf' is required for DHCP.
115 device          bpf                     # Berkeley packet filter
116
117 # Ethernet
118 device          mii                     # Minimal MII support
119 device          ate                     # Atmel AT91 Ethernet driver
120
121 # I2C
122 device          at91_twi                # Atmel AT91 Two-wire Interface
123 device          iic                     # I2C generic I/O device driver
124 device          iicbus                  # I2C bus system
125 device          pcf8563                 # NXP PCF8563 clock/calendar
126
127 # MMC/SD
128 device          at91_mci                # Atmel AT91 Multimedia Card Interface
129 options         AT91_MCI_HAS_4WIRE
130 device          mmc                     # MMC/SD bus
131 device          mmcsd                   # MMC/SD memory card
132
133 # DataFlash
134 device          at91_spi                # Atmel AT91 Serial Peripheral Interface
135 device          spibus                  # SPI bus
136 device          at45d                   # Atmel AT45D
137 device          geom_map                # GEOM partition mapping
138
139 # Pseudo devices.
140 device          loop                    # Network loopback
141 device          random                  # Entropy device
142 device          ether                   # Ethernet support
143 device          vlan                    # 802.1Q VLAN support
144 device          tun                     # Packet tunnel.
145 device          md                      # Memory "disks"
146 device          gif                     # IPv6 and IPv4 tunneling
147 #device         firmware                # firmware assist module
148
149 # SCSI peripherals
150 device          scbus                   # SCSI bus (required for ATA/SCSI)
151 device          ch                      # SCSI media changers
152 device          da                      # Direct Access (disks)
153 device          sa                      # Sequential Access (tape etc)
154 device          cd                      # CD
155 device          pass                    # Passthrough device (direct ATA/SCSI access)
156 device          ses                     # Enclosure Services (SES and SAF-TE)
157 #device         ctl                     # CAM Target Layer
158
159 # Serial (COM) ports
160 device          uart                    # Multi-uart driver
161 options         ALT_BREAK_TO_DEBUGGER
162
163 # USB support
164 options         USB_DEBUG               # enable debug msgs
165 device          ohci                    # OHCI USB interface
166 device          usb                     # USB Bus (required)
167 device          umass                   # Disks/Mass storage - Requires scbus and da
168
169 # USB device (gadget) support
170 device          at91_dci                # Atmel's usb device
171 device          usfs                    # emulate a flash
172 device          cdce                    # emulate an ethernet
173 device          usb_template            # Control of the gadget
174
175 # watchdog
176 device          at91_wdt                # Atmel AT91 Watchdog Timer
177
178 device          at91_rtc
179 device          at91_ssc
180 #device         at91_tc                 # missing?
181
182 # NAND Flash - Reference design has Samsung 256MB but others possible
183 device          nand                    # NAND interface on CS3