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