2 # $NetBSD: BEAGLEBOARD,v 1.6 2009/10/11 16:20:22 bsh Exp $
4 # BEAGLEBOARD -- TI OMAP 3530 Eval Board Kernel
7 include "arch/evbarm/conf/std.beagle"
9 # estimated number of users
13 # Standard system options
15 options RTC_OFFSET=0 # hardware clock is this many mins. west of GMT
16 #options NTP # NTP phase/frequency locked loop
24 # Architecture options
29 #file-system LFS # log-structured file system
30 file-system MFS # memory file system
31 file-system NFS # Network file system
32 #file-system ADOSFS # AmigaDOS-compatible file system
33 #file-system EXT2FS # second extended file system (linux)
34 #file-system CD9660 # ISO 9660 + Rock Ridge file system
35 file-system MSDOSFS # MS-DOS file system
36 #file-system FDESC # /dev/fd
37 #file-system KERNFS # /kern
38 #file-system NULLFS # loopback file system
39 #file-system PROCFS # /proc
40 #file-system UMAPFS # NULLFS + uid and gid remapping
41 #file-system UNION # union file system
42 file-system TMPFS # memory file system
43 file-system PTYFS # /dev/pts/N support
46 #options QUOTA # UFS quotas
47 #options FFS_EI # FFS Endian Independant support
49 options WAPBL # File system journaling support - Experimental
50 #options FFS_NO_SNAPSHOT # No FFS snapshot support
54 #options GATEWAY # packet forwarding
55 options INET # IP + ICMP + TCP + UDP
57 #options IPSEC # IP security
58 #options IPSEC_ESP # IP security (encryption part; define w/ IPSEC)
59 #options IPSEC_NAT_T # IPsec NAT traversal (NAT-T)
60 #options IPSEC_DEBUG # debug for IP security
61 #options MROUTING # IP multicast routing
62 #options PIM # Protocol Independent Multicast
64 #options NSIP # XNS tunneling over IP
65 #options ISO,TPIP # OSI
66 #options EON # OSI tunneling over IP
67 #options CCITT,LLC,HDLC # X.25
68 #options NETATALK # AppleTalk networking
69 #options PFIL_HOOKS # pfil(9) packet filter hooks
70 #options PPP_BSDCOMP # BSD-Compress compression support for PPP
71 #options PPP_DEFLATE # Deflate compression support for PPP
72 #options PPP_FILTER # Active filter support for PPP (requires bpf)
73 #options TCP_DEBUG # Record last TCP_NDEBUG packets with SO_DEBUG
75 options NFS_BOOT_BOOTP
77 #options NFS_BOOT_BOOTSTATIC
78 #options NFS_BOOTSTATIC_MYIP="\"192.168.1.4\""
79 #options NFS_BOOTSTATIC_GWIP="\"192.168.1.1\""
80 #options NFS_BOOTSTATIC_MASK="\"255.255.255.0\""
81 #options NFS_BOOTSTATIC_SERVADDR="\"192.168.1.1\""
82 #options NFS_BOOTSTATIC_SERVER="\"192.168.1.1:/nfs/sdp2430\""
84 options NFS_BOOT_RWSIZE=1024
86 # Compatibility options
88 #options COMPAT_43 # 4.3BSD compatibility.
89 options COMPAT_50 # NetBSD 5.0 compatibility.
90 options COMPAT_40 # NetBSD 4.0 compatibility.
91 options COMPAT_30 # NetBSD 3.0 compatibility.
92 #options COMPAT_20 # NetBSD 2.0 compatibility.
93 #options COMPAT_16 # NetBSD 1.6 compatibility.
94 #options COMPAT_15 # NetBSD 1.5 compatibility.
95 #options COMPAT_14 # NetBSD 1.4 compatibility.
96 #options COMPAT_13 # NetBSD 1.3 compatibility.
97 #options COMPAT_12 # NetBSD 1.2 compatibility.
98 #options COMPAT_11 # NetBSD 1.1 compatibility.
99 #options COMPAT_10 # NetBSD 1.0 compatibility.
100 #options COMPAT_09 # NetBSD 0.9 compatibility.
101 #options TCP_COMPAT_42 # 4.2BSD TCP/IP bug compat. Not recommended.
102 #options COMPAT_BSDPTY # /dev/[pt]ty?? ptys.
104 # Shared memory options
106 options SYSVMSG # System V-like message queues
107 options SYSVSEM # System V-like semaphores
108 #options SEMMNI=10 # number of semaphore identifiers
109 #options SEMMNS=60 # number of semaphores in system
110 #options SEMUME=10 # max number of undo entries per process
111 #options SEMMNU=30 # number of undo structures in system
112 options SYSVSHM # System V-like memory sharing
116 #options MEMORY_DISK_HOOKS # boottime setup of ramdisk
117 #options MEMORY_DISK_ROOT_SIZE=8192 # Size in blocks
118 #options MEMORY_DISK_DYNAMIC
119 #options MINIROOTSIZE=1000 # Size in blocks
120 #options MEMORY_DISK_IS_ROOT # use memory disk as root
122 # Miscellaneous kernel options
123 options KTRACE # system call tracing, a la ktrace(1)
124 #options KMEMSTATS # kernel memory statistics
125 #options SCSIVERBOSE # Verbose SCSI errors
126 #options MIIVERBOSE # Verbose MII autoconfuration messages
127 #options DDB_KEYCODE=0x40
128 #options USERCONF # userconf(4) support
129 #options PIPE_SOCKETPAIR # smaller, but slower pipe(2)
131 # Development and Debugging options
133 #options PERFCTRS # performance counters
134 options DIAGNOSTIC # internally consistency checks
136 #options PMAP_DEBUG # Enable pmap_debug_level code
137 #options IPKDB # remote kernel debugging
138 options VERBOSE_INIT_ARM # verbose bootstraping messages
139 options DDB # in-kernel debugger
140 options DDB_ONPANIC=1
141 options DDB_HISTORY_SIZE=100 # Enable history editing in DDB
143 makeoptions DEBUG="-g" # compile full symbol table
144 options SYMTAB_SPACE=300000
146 ## USB Debugging options
152 # Valid options for BOOT_ARGS:
153 # single Boot to single user only
154 # kdb Give control to kernel debugger
155 # ask Ask for file name to reboot from
156 # pmapdebug=<n> If PMAP_DEBUG, set pmap_debug_level to <n>
157 # memorydisk=<n> Set memorydisk size to <n> KB
158 # quiet Show aprint_naive output
159 # verbose Show aprint_normal and aprint_verbose output
160 options BOOT_ARGS="\"\""
162 config netbsd root on ? type ?
164 # The main bus device
170 # Specify the memory size in megabytes.
177 obio0 at mainbus? base 0x48000000 size 0x1000000 # L4 CORE
178 obio1 at mainbus? base 0x48300000 size 0x0040000 # L4 WAKEUP
179 obio2 at mainbus? base 0x49000000 size 0x0100000 # L4 PERIPHERAL
180 #obio3 at mainbus? base 0x54000000 size 0x0800000 # L4 EMUL
182 # General Purpose Memory Controller
183 gpmc0 at mainbus? base 0x6e000000
185 # Interrupt Controller
186 omapicu0 at obio0 addr 0x48200000 size 0x1000 intrbase 0
187 omapgpio0 at obio1 addr 0x48310000 size 0x0400 intrbase 96 intr 29
188 #omapgpio1 at obio2 addr 0x49050000 size 0x0400 intrbase 128 intr 30
189 #omapgpio2 at obio2 addr 0x49052000 size 0x0400 intrbase 160 intr 31
190 #omapgpio3 at obio2 addr 0x49054000 size 0x0400 intrbase 192 intr 32
191 omapgpio4 at obio2 addr 0x49056000 size 0x0400 intrbase 224 intr 33
192 #omapgpio5 at obio2 addr 0x49058000 size 0x0400 intrbase 256 intr 34
197 # omapi2c0 at tipb? addr 0xfffb3800 intr 36 mult 4
199 # # omap's own i2c address
200 # options OMAP_I2C_ADDRESS=0xe
201 # # i2c bus clock low and high times in ns
202 # options I2C_LOW_TIME_nSEC=1500
203 # options I2C_HIGH_TIME_nSEC=1000
205 # On-board 16550 UARTs
206 com0 at obio2 addr 0x49020000 intr 74 mult 4 # UART3 (console)
207 options CONSADDR=0x49020000, CONSPEED=57600
208 #options CONSADDR=0x49020000, CONSPEED=115200
210 # Operating System Timer
211 omapmputmr0 at obio2 addr 0x49032000 intr 38 # GP Timer 2
213 omapmputmr1 at obio2 addr 0x49034000 intr 39 # GP Timer 3
214 # Microtime Reference Timer
215 omapmputmr2 at obio2 addr 0x49036000 intr 40 # GP Timer 4
216 options OMAP_MPU_TIMER_CLOCK_FREQ=12000000
219 omapwdt32k* at obio2 addr 0x49030000 size 2048 # WDT3
220 #omapwdt32k* at obio1 addr 0x4830c000 size 2048 # WDT1
221 #omapwdt32k* at obio1 addr 0x48314000 size 2048 # WDT2
224 #ehci* at obio0 addr 0x48064800 size 0x0400 intr 77
225 #ohci* at obio0 addr 0x48064400 size 0x0400 intr 76
228 ##umass* at uhub? port ? configuration ? interface ?
230 #axe* at uhub? port ? configuration ? interface ?
232 # Hardware clocking and power management
235 options HWCLOCK_MACHINE="<arch/arm/omap/hwclock_omap1.h>"
236 options OMAP_CK_REF_SPEED=12000000
240 # disk/mass storage pseudo-devices
241 pseudo-device md 1 # memory disk device (ramdisk)
242 #pseudo-device vnd # disk-like interface to files
243 #pseudo-device fss 4 # file system snapshot device
245 # network pseudo-devices
246 pseudo-device bpfilter # Berkeley packet filter
247 pseudo-device loop # network loopback
248 #pseudo-device kttcp # network loopback
250 # miscellaneous pseudo-devices
251 pseudo-device pty # pseudo-terminals
252 pseudo-device rnd # /dev/random and in-kernel generator
254 #pseudo-device clockctl # user control of clock subsystem
255 pseudo-device ksyms # /dev/ksyms