1#         $NetBSD: IMX31LITE,v 1.36 2022/08/07 02:52:25 simonb Exp $
2#
3#         IMX31LITE -- Freescale IMX31LITE Evaluation Board Kernel
4#
5
6include   "arch/evbarm/conf/std.imx31"
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 StrongARM systems
22options   CPU_ARM1136         # Support the SA110 core
23
24# Architecture options
25options        IMX31_IPGCLK_FREQ=66000000         # Fixme. bogus value
26
27# File systems
28
29file-system         FFS                 # UFS
30#file-system        LFS                 # log-structured file system
31file-system         MFS                 # memory file system
32file-system         NFS                 # Network file system
33#file-system        ADOSFS              # AmigaDOS-compatible file system
34#file-system        EXT2FS              # second extended file system (linux)
35#file-system        CD9660              # ISO 9660 + Rock Ridge file system
36#file-system        MSDOSFS             # MS-DOS file system
37file-system         FDESC               # /dev/fd
38file-system         KERNFS              # /kern
39file-system         NULLFS              # loopback file system
40file-system         PROCFS              # /proc
41#file-system        PUFFS               # Userspace file systems (e.g. ntfs-3g & sshfs)
42file-system         TMPFS               # memory file system
43#file-system        UMAPFS              # NULLFS + uid and gid remapping
44#file-system        UNION               # union file system
45file-system         PTYFS               # /dev/pts/N support
46
47# File system options
48#options  FFS_EI              # FFS Endian Independent support
49#options  FFS_NO_SNAPSHOT     # No FFS snapshot support
50#options  QUOTA               # legacy UFS quotas
51#options  QUOTA2              # new, in-filesystem UFS quotas
52#options  UFS_DIRHASH         # UFS Large Directory Hashing
53#options  UFS_EXTATTR         # Extended attribute support for UFS1
54options   WAPBL               # File system journaling support
55#options  DISKLABEL_EI        # disklabel Endian Independent support
56options   NFSSERVER # Network File System server
57
58# Networking options
59
60#options  GATEWAY             # packet forwarding
61options   INET                # IP + ICMP + TCP + UDP
62options   INET6               # IPV6
63#options  IPSEC               # IP security
64#options  IPSEC_DEBUG         # debug for IP security
65#options  MROUTING  # IP multicast routing
66#options  PIM                 # Protocol Independent Multicast
67#options  NETATALK  # AppleTalk networking
68#options  PPP_BSDCOMP         # BSD-Compress compression support for PPP
69#options  PPP_DEFLATE         # Deflate compression support for PPP
70#options  PPP_FILTER          # Active filter support for PPP (requires bpf)
71#options  TCP_DEBUG # Record last TCP_NDEBUG packets with SO_DEBUG
72
73options   NFS_BOOT_BOOTP
74options   NFS_BOOT_DHCP
75#options  NFS_BOOT_BOOTPARAM
76
77# Compatibility options
78
79include   "conf/compat_netbsd14.config"
80options   COMPAT_NETBSD32     # allow running arm (e.g. non-earm) binaries
81
82# Shared memory options
83
84options   SYSVMSG             # System V-like message queues
85options   SYSVSEM             # System V-like semaphores
86options   SYSVSHM             # System V-like memory sharing
87
88# Device options
89
90#options  MEMORY_DISK_HOOKS   # boottime setup of ramdisk
91#options  MEMORY_DISK_ROOT_SIZE=3400    # Size in blocks
92#options  MEMORY_DISK_IS_ROOT # use memory disk as root
93
94# Console options.
95#options  CONSPEED=38400                # Console speed
96
97# Miscellaneous kernel options
98options   KTRACE              # system call tracing, a la ktrace(1)
99options   IRQSTATS  # manage IRQ statistics
100#options  SCSIVERBOSE         # Verbose SCSI errors
101options   MIIVERBOSE          # Verbose MII autoconfuration messages
102#options  PCI_CONFIG_DUMP     # verbosely dump PCI config space
103#options  DDB_KEYCODE=0x40
104options   USERCONF  # userconf(4) support
105#options  PIPE_SOCKETPAIR     # smaller, but slower pipe(2)
106#options  SYSCTL_INCLUDE_DESCR          # Include sysctl descriptions in kernel
107
108# Development and Debugging options
109
110options   DIAGNOSTIC          # internal consistency checks
111options   DEBUG
112#options  LOCKDEBUG
113#options  UVMHIST             # kernhist for uvm/pmap subsystems
114options   VERBOSE_INIT_ARM # verbose bootstraping messages
115options   DDB                 # in-kernel debugger
116options   DDB_HISTORY_SIZE=100          # Enable history editing in DDB
117#makeoptions        DEBUG="-g"          # compile full symbol table
118makeoptions         COPY_SYMTAB=1
119
120config              netbsd              root on ? type ?
121
122# The main bus device
123mainbus0  at root
124
125# The boot cpu
126cpu0                at mainbus?
127#l2cc0              at mainbus?
128
129# Specify the memory size in bytes.
130options   MEMSIZE=0x8000000
131
132# Devices
133
134ahb0                at mainbus?
135avic0               at ahb? addr 0x68000000 irqbase 0
136aips*               at ahb0
137imxuart*  at aips? addr 0x43f90000 intr 45
138imxgpio0  at ahb? addr 0x53fcc000 irqbase 64 intr 52
139imxgpio1  at ahb? addr 0x53fd0000 irqbase 96 intr 51
140imxgpio2  at ahb? addr 0x53fa4000 irqbase 128 intr 56
141gpio*               at imxgpio?
142
143# pcic
144imx31lk_pcic0       at aips? addr 0xb8004000
145pcmcia*             at imx31lk_pcic0
146wdc*                at pcmcia? function ?
147atabus*             at wdc? channel ?
148wd*                 at atabus? drive ? flags 0x0000
149
150# Pseudo-Devices
151
152# disk/mass storage pseudo-devices
153#pseudo-device      md                            # memory disk device (ramdisk)
154#pseudo-device      vnd                           # disk-like interface to files
155#pseudo-device      fss                           # file system snapshot device
156#pseudo-device      putter                        # for puffs and pud
157
158# network pseudo-devices
159#pseudo-device      bpfilter            # Berkeley packet filter
160pseudo-device       loop                          # network loopback
161
162# miscellaneous pseudo-devices
163pseudo-device       pty                           # pseudo-terminals
164pseudo-device       ksyms                         # /dev/ksyms
165pseudo-device       clockctl            # NTP clockctl
166