1 # Kernel configuration for Atmel AT91SAM9G20EK Rev B. development card
2 # Many after-market boards follow its conventions.
4 # For more information on this file, please read the handbook section on
5 # Kernel Configuration Files:
7 # https://www.FreeBSD.org/doc/en_US.ISO8859-1/books/handbook/kernelconfig-config.html
9 # The handbook is also available locally in /usr/share/doc/handbook
10 # if you've installed the doc distribution, otherwise always see the
11 # FreeBSD World Wide Web server (https://www.FreeBSD.org/) for the
14 # An exhaustive list of options and more detailed explanations of the
15 # device lines is also present in the ../../conf/NOTES and NOTES files.
16 # If you are in doubt as to the purpose or necessity of a line, check first
24 include "../at91/std.sam9g20ek"
27 #options FDT_DTB_STATIC
28 #makeoptions FDT_DTS_FILE=at91sam9g20ek.dts
31 options SOCDEV_PA=0xfc000000
32 options SOCDEV_VA=0xdc000000
34 #To statically compile in device wiring instead of /boot/device.hints
35 hints "SAM9G20EK.hints"
36 makeoptions MODULES_OVERRIDE=""
38 options ARM_USE_V6_BUSDMA # Use v6 to track down unaligned I/O issues
40 options SCHED_4BSD # 4BSD scheduler
41 options INET # InterNETworking
42 #options INET6 # IPv6 communications protocols
43 options TCP_HHOOK # hhook(9) framework for TCP
44 options TMPFS # Efficient memory filesystem
45 options FFS # Berkeley Fast Filesystem
46 #options SOFTUPDATES # Enable FFS soft updates support
47 #options UFS_ACL # Support for access control lists
48 #options UFS_DIRHASH # Improve performance on big directories
49 #options MD_ROOT # MD is a potential root device
50 #options MD_ROOT_SIZE=4096 # 4MB ram disk
51 options NANDFS # NAND file system
52 options NFSCL # Network Filesystem Client
53 options NFSD # Network Filesystem Server
54 options NFSLOCKD # Network Lock Manager
55 #options NFS_ROOT # NFS usable as /, requires NFSCL
56 #options MSDOSFS # MSDOS Filesystem
57 #options CD9660 # ISO 9660 Filesystem
58 #options PROCFS # Process filesystem (requires PSEUDOFS)
59 #options PSEUDOFS # Pseudo-filesystem framework
60 options GEOM_PART_BSD # BSD partition scheme
61 options GEOM_PART_MBR # MBR partition scheme
62 #options SCSI_DELAY=5000 # Delay (in ms) before probing SCSI
63 #options KTRACE # ktrace(1) 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
69 # NFS root from boopt/dhcp
71 #options BOOTP_NFSROOT
74 #options BOOTP_WIRED_TO=ate0
76 # s3 because s1 is reserved for the DOS parittions sometimes needed to
77 # boot off SD cards on the G20 and newer chips. s2 is reserved for
78 # nanobsd's config partition. s3 and s4 are for the ping-pong upgrade
80 options ROOTDEVNAME=\"ufs:/dev/mmcsd0s3a\"
82 # kernel/memory size reduction
83 options MUTEX_NOINLINE
84 options NO_FFS_SNAPSHOT
86 options NO_SYSCTL_DESCR
87 options RWLOCK_NOINLINE
89 # The `bpf' device enables the Berkeley Packet Filter.
90 # Be aware of the administrative consequences of enabling this!
91 # Note that 'bpf' is required for DHCP.
92 device bpf # Berkeley packet filter
95 device mii # Minimal MII support
96 #device ate # Atmel AT91 Ethernet driver
97 #options AT91_ATE_USE_RMII
98 device macb # Atmel AT91 Ethernet driver
99 options AT91_MACB_USE_RMII
102 device at91_twi # Atmel AT91 Two-wire Interface
103 device iic # I2C generic I/O device driver
104 device iicbus # I2C bus system
108 device at91_mci # Atmel AT91 Multimedia Card Interface
109 options AT91_MCI_HAS_4WIRE
110 options AT91_MCI_SLOT_B
111 device mmc # MMC/SD bus
112 device mmcsd # MMC/SD memory card
115 # NOTE: SPI DataFlash and mci/mmc/mmcsd have hardware
116 # confilict on this card. Use one or the other.
117 # see board_sam9g20ek.c
118 #device at91_spi # Atmel AT91 Serial Peripheral Interface
119 #device spibus # SPI bus
120 #device at45d # at45db642 and maybe others
123 device loop # Network loopback
124 device random # Entropy device
125 device ether # Ethernet support
126 device md # Memory "disks"
129 device scbus # SCSI bus (required for ATA/SCSI)
130 device da # Direct Access (disks)
132 device pass # Passthrough device (direct ATA/SCSI access)
135 device uart # Multi-uart driver
138 device ohci # OHCI USB interface
139 device usb # USB Bus (required)
140 device umass # Disks/Mass storage - Requires scbus and da
141 device uhid # "Human Interface Devices"
142 #device ulpt # Printer
143 #device udbp # USB Double Bulk Pipe devices
145 # USB Ethernet, requires miibus
147 #device aue # ADMtek USB Ethernet
148 #device axe # ASIX Electronics USB Ethernet
149 #device cdce # Generic USB over Ethernet
150 #device cue # CATC USB Ethernet
151 #device kue # Kawasaki LSI USB Ethernet
152 #device rue # RealTek RTL8150 USB Ethernet
153 #device udav # Davicom DM9601E USB
156 #device rum # Ralink Technology RT2501USB wireless NICs
157 #device uath # Atheros AR5523 wireless NICs
158 #device ural # Ralink Technology RT2500USB wireless NICs
159 #device zyd # ZyDAS zd1211/zd1211b wireless NICs
162 #device wlan # 802.11 support
163 #device wlan_wep # 802.11 WEP support
164 #device wlan_ccmp # 802.11 CCMP support
165 #device wlan_tkip # 802.11 TKIP support
166 #device wlan_amrr # AMRR transmit rate control algorithm
169 device at91_wdt # Atmel AT91 Watchdog Timer
171 # NAND Flash - Reference design has Samsung 256MB but others possible
172 device nand # NAND interface on CS3