1#         $NetBSD: IQ80321,v 1.91 2022/08/07 02:52:25 simonb Exp $
2#
3#         IQ80321 -- Intel IQ80321 Evaluation Board Kernel
4#
5
6include   "arch/evbarm/conf/std.iq80321"
7
8#options  INCLUDE_CONFIG_FILE # embed config file in kernel binary
9
10# estimated number of users
11
12maxusers  32
13
14# Standard system options
15
16options   RTC_OFFSET=0        # hardware clock is this many mins. west of GMT
17#options  NTP                 # NTP phase/frequency locked loop
18
19# CPU options
20
21# For XScale systems
22options   CPU_XSCALE_80321    # Support the XScale core
23makeoptions         CPUFLAGS="-mcpu=xscale"
24
25# Architecture options
26options   XSCALE_CACHE_READ_WRITE_ALLOCATE
27#options  HZ=512
28
29# File systems
30
31file-system         FFS                 # UFS
32#file-system        LFS                 # log-structured file system
33file-system         MFS                 # memory file system
34file-system         NFS                 # Network file system
35#file-system        ADOSFS              # AmigaDOS-compatible file system
36#file-system        EXT2FS              # second extended file system (linux)
37#file-system        CD9660              # ISO 9660 + Rock Ridge file system
38#file-system        MSDOSFS             # MS-DOS file system
39file-system         FDESC               # /dev/fd
40file-system         KERNFS              # /kern
41file-system         NULLFS              # loopback file system
42file-system         PROCFS              # /proc
43#file-system        PUFFS               # Userspace file systems (e.g. ntfs-3g & sshfs)
44#file-system        UMAPFS              # NULLFS + uid and gid remapping
45#file-system        UNION               # union file system
46file-system         PTYFS               # /dev/pts/N support
47
48# File system options
49#options  FFS_EI              # FFS Endian Independent support
50#options  FFS_NO_SNAPSHOT     # No FFS snapshot support
51#options  QUOTA               # legacy UFS quotas
52#options  QUOTA2              # new, in-filesystem UFS quotas
53options   UFS_DIRHASH         # UFS Large Directory Hashing
54options   UFS_EXTATTR         # Extended attribute support for UFS1
55options   WAPBL               # File system journaling support
56#options  DISKLABEL_EI        # disklabel Endian Independent support
57options   NFSSERVER # Network File System server
58
59# Networking options
60
61#options  GATEWAY             # packet forwarding
62options   INET                # IP + ICMP + TCP + UDP
63options   INET6               # IPV6
64#options  IPSEC               # IP security
65#options  IPSEC_DEBUG         # debug for IP security
66#options  MROUTING  # IP multicast routing
67#options  PIM                 # Protocol Independent Multicast
68#options  NETATALK  # AppleTalk networking
69#options  PPP_BSDCOMP         # BSD-Compress compression support for PPP
70#options  PPP_DEFLATE         # Deflate compression support for PPP
71#options  PPP_FILTER          # Active filter support for PPP (requires bpf)
72#options  TCP_DEBUG # Record last TCP_NDEBUG packets with SO_DEBUG
73
74options   NFS_BOOT_BOOTP
75options   NFS_BOOT_DHCP
76#options  NFS_BOOT_BOOTPARAM
77
78# Compatibility options
79
80include   "conf/compat_netbsd14.config"
81options   COMPAT_NETBSD32     # allow running arm (e.g. non-earm) binaries
82
83# Shared memory options
84
85options   SYSVMSG             # System V-like message queues
86options   SYSVSEM             # System V-like semaphores
87options   SYSVSHM             # System V-like memory sharing
88
89# Device options
90
91#options  MEMORY_DISK_HOOKS   # boottime setup of ramdisk
92#options  MEMORY_DISK_ROOT_SIZE=3400    # Size in blocks
93#options  MEMORY_DISK_IS_ROOT # use memory disk as root
94
95# Console options.  The default console is speed is 115200 baud.
96#options  CONSPEED=9600                 # Console speed
97
98# Miscellaneous kernel options
99options   KTRACE              # system call tracing, a la ktrace(1)
100options   IRQSTATS  # manage IRQ statistics
101#options  SCSIVERBOSE         # Verbose SCSI errors
102options   PCIVERBOSE          # Verbose PCI descriptions
103options   MIIVERBOSE          # Verbose MII autoconfuration messages
104#options  PCI_CONFIG_DUMP     # verbosely dump PCI config space
105#options  DDB_KEYCODE=0x40
106options   USERCONF  # userconf(4) support
107#options  PIPE_SOCKETPAIR     # smaller, but slower pipe(2)
108#options  SYSCTL_INCLUDE_DESCR          # Include sysctl descriptions in kernel
109
110# Development and Debugging options
111
112options   DIAGNOSTIC          # internal consistency checks
113#options  DEBUG
114#options  UVMHIST             # kernhist for uvm/pmap subsystems
115#options  VERBOSE_INIT_ARM # verbose bootstraping messages
116options   DDB                 # in-kernel debugger
117options   DDB_HISTORY_SIZE=100          # Enable history editing in DDB
118#makeoptions        DEBUG="-g"          # compile full symbol table
119makeoptions         COPY_SYMTAB=1
120
121config              netbsd              root on ? type ?
122config              netbsd-wm0          root on wm0 type nfs
123config              netbsd-wd0          root on wd0 type ffs
124config              netbsd-sd0          root on sd0 type ffs
125
126# The main bus device
127mainbus0  at root
128
129# The boot CPU
130cpu0                at mainbus?
131
132# On-board device support
133obio*               at mainbus?
134com0                at obio? addr 0xfe800000 xint 1         # on-board TI 165C50 UART
135
136# i80321 I/O Processor peripheral support
137iopxs*              at mainbus?
138
139iopaau*             at iopxs?           # Application Accelerator Unit
140iopiic*             at iopxs?           # I2C Controller Unit(s)
141iic0                at iopiic?
142iic1                at iopiic?
143iopwdog*  at iopxs?           # Watchdog timer
144pci0                at iopxs? bus ?               # PCI/PCI-X support
145
146# PCI-PCI bridges
147ppb*                at pci? dev ? function ?
148pci*                at ppb? bus ?
149
150#
151# Storage devices
152#
153
154# PCI IDE/S-ATA controllers and devices
155pciide*   at pci? dev ? function ? flags 0x0000   # GENERIC pciide driver
156artsata*  at pci? dev ? function ?      # Intel i31244 SATA controller
157cmdide*   at pci? dev ? function ?      # CMD tech IDE controllers
158hptide*   at pci? dev ? function ?      # Triones/HighPoint IDE controllers
159pdcide*   at pci? dev ? function ?      # Promise IDE controllers
160pdcsata*  at pci? dev ? function ?      # Promise SATA150 controllers
161satalink* at pci? dev ? function ?      # SiI SATALink controllers
162
163atabus*   at ata? channel ?
164wd*                 at atabus? drive ? flags 0x0000
165
166# PCI SCSI controllers
167ahc*                at pci? dev ? function ?      # Adaptec [23]94x, aic78x0 SCSI
168isp*                at pci? dev ? function ?      # Qlogic ISP SCSI
169siop*               at pci? dev ? function ?      # Symbios/LSI 53c8xx SCSI
170esiop*              at pci? dev ? function ?      # Symbios/LSI 53c8xx SCSI
171mpt*                at pci? dev ? function ?      # LSI Fusion SCSI/FC
172
173scsibus*  at scsi?
174
175# SCSI devices
176sd*                 at scsibus? target ? lun ?    # SCSI disk drives
177st*                 at scsibus? target ? lun ?    # SCSI tape drives
178cd*                 at scsibus? target ? lun ?    # SCSI CD-ROM drives
179#ch*                at scsibus? target ? lun ?    # SCSI media changers
180#uk*                at scsibus? target ? lun ?    # unknown SCSI devices
181
182#
183# Networking devices
184#
185
186# PCI network devices
187fxp*                at pci? dev ? function ?      # Intel i8255x 10/100 Ethernet
188wm*                 at pci? dev ? function ?      # Intel i82544 Gig-E
189
190# MII/PHY support
191inphy*              at mii? phy ?                           # Intel i82555 10/100 PHYs
192makphy*             at mii? phy ?                           # Marvell 88E1000 PHYs
193ukphy*              at mii? phy ?                           # Generic IEEE 802.3u PHYs
194
195# Pseudo-Devices
196
197# disk/mass storage pseudo-devices
198#pseudo-device      md                            # memory disk device (ramdisk)
199pseudo-device       vnd                           # disk-like interface to files
200#pseudo-device      fss                           # file system snapshot device
201#pseudo-device      putter                        # for puffs and pud
202
203# network pseudo-devices
204pseudo-device       bpfilter            # Berkeley packet filter
205pseudo-device       loop                          # network loopback
206pseudo-device       kttcp                         # network loopback
207
208# miscellaneous pseudo-devices
209pseudo-device       pty                           # pseudo-terminals
210pseudo-device       clockctl            # user control of clock subsystem
211pseudo-device       ksyms                         # /dev/ksyms
212
213# data mover pseudo-devices
214#pseudo-device      swdmover            # software dmover(9) back-end
215pseudo-device       dmoverio            # /dev/dmover dmover(9) interface
216