| @@ -1,43 +1,45 @@ | | | @@ -1,43 +1,45 @@ |
1 | # | | 1 | # |
2 | # $NetBSD: ODROID-U,v 1.13 2014/08/23 20:26:57 dholland Exp $ | | 2 | # $NetBSD: ODROID-U,v 1.14 2014/09/19 14:39:34 reinoud Exp $ |
3 | # | | 3 | # |
4 | # ODROID-U -- ODROID-U series Exynos Kernel | | 4 | # ODROID-U -- ODROID-U series Exynos Kernel |
5 | # | | 5 | # |
6 | | | 6 | |
7 | include "arch/evbarm/conf/std.odroid" | | 7 | include "arch/evbarm/conf/std.odroid" |
8 | | | 8 | |
9 | # estimated number of users | | 9 | # estimated number of users |
10 | | | 10 | |
11 | maxusers 32 | | 11 | maxusers 32 |
12 | | | 12 | |
13 | # Standard system options | | 13 | # Standard system options |
14 | | | 14 | |
15 | options RTC_OFFSET=0 # hardware clock is this many mins. west of GMT | | 15 | options RTC_OFFSET=0 # hardware clock is this many mins. west of GMT |
16 | #options NTP # NTP phase/frequency locked loop | | 16 | #options NTP # NTP phase/frequency locked loop |
17 | | | 17 | |
18 | # CPU options | | 18 | # CPU options |
19 | options CPU_CORTEX | | 19 | options CPU_CORTEX |
20 | options CPU_CORTEXA9 | | 20 | options CPU_CORTEXA9 |
21 | options EXYNOS4120 | | 21 | options EXYNOS4120 |
22 | options EXYNOS4212 | | 22 | options EXYNOS4212 |
23 | options EXYNOS4412 | | 23 | options EXYNOS4412 |
24 | options EXYNOS4412P | | 24 | options EXYNOS4412P |
25 | #options MULTIPROCESSOR | | 25 | #options MULTIPROCESSOR |
26 | options PMAPCOUNTERS | | 26 | options PMAPCOUNTERS |
27 | options BUSDMA_COUNTERS | | 27 | options BUSDMA_COUNTERS |
28 | options EXYNOS_CONSOLE_EARLY | | 28 | options EXYNOS_CONSOLE_EARLY |
29 | options UVMHIST | | 29 | #options UVMHIST |
30 | #options UVMHIST_PRINT,KERNHIST_DELAY=0 | | 30 | #options UVMHIST_PRINT,KERNHIST_DELAY=0 |
| | | 31 | #options KERNHIST |
| | | 32 | #options USBHIST |
31 | options __HAVE_MM_MD_DIRECT_MAPPED_PHYS | | 33 | options __HAVE_MM_MD_DIRECT_MAPPED_PHYS |
32 | options PMAP_NEED_ALLOC_POOLPAGE | | 34 | options PMAP_NEED_ALLOC_POOLPAGE |
33 | | | 35 | |
34 | # Specify the memory size in megabytes (optional). | | 36 | # Specify the memory size in megabytes (optional). |
35 | #options MEMSIZE=2048 | | 37 | #options MEMSIZE=2048 |
36 | | | 38 | |
37 | # File systems | | 39 | # File systems |
38 | file-system FFS # UFS | | 40 | file-system FFS # UFS |
39 | #file-system LFS # log-structured file system | | 41 | #file-system LFS # log-structured file system |
40 | file-system MFS # memory file system | | 42 | file-system MFS # memory file system |
41 | file-system NFS # Network file system | | 43 | file-system NFS # Network file system |
42 | #file-system ADOSFS # AmigaDOS-compatible file system | | 44 | #file-system ADOSFS # AmigaDOS-compatible file system |
43 | #file-system EXT2FS # second extended file system (linux) | | 45 | #file-system EXT2FS # second extended file system (linux) |
| @@ -133,76 +135,76 @@ options KTRACE # system call tracing, | | | @@ -133,76 +135,76 @@ options KTRACE # system call tracing, |
133 | options MIIVERBOSE # Verbose MII autoconfuration messages | | 135 | options MIIVERBOSE # Verbose MII autoconfuration messages |
134 | #options DDB_KEYCODE=0x40 | | 136 | #options DDB_KEYCODE=0x40 |
135 | #options USERCONF # userconf(4) support | | 137 | #options USERCONF # userconf(4) support |
136 | #options PIPE_SOCKETPAIR # smaller, but slower pipe(2) | | 138 | #options PIPE_SOCKETPAIR # smaller, but slower pipe(2) |
137 | | | 139 | |
138 | # Development and Debugging options | | 140 | # Development and Debugging options |
139 | | | 141 | |
140 | #options PERFCTRS # performance counters | | 142 | #options PERFCTRS # performance counters |
141 | options DIAGNOSTIC # internal consistency checks | | 143 | options DIAGNOSTIC # internal consistency checks |
142 | options DEBUG | | 144 | options DEBUG |
143 | options LOCKDEBUG | | 145 | options LOCKDEBUG |
144 | #options PMAP_DEBUG # Enable pmap_debug_level code | | 146 | #options PMAP_DEBUG # Enable pmap_debug_level code |
145 | #options IPKDB # remote kernel debugging | | 147 | #options IPKDB # remote kernel debugging |
146 | #options VERBOSE_INIT_ARM # verbose bootstraping messages | | 148 | options VERBOSE_INIT_ARM # verbose bootstraping messages |
147 | options DDB # in-kernel debugger | | 149 | options DDB # in-kernel debugger |
148 | options DDB_ONPANIC=1 | | 150 | options DDB_ONPANIC=1 |
149 | options DDB_HISTORY_SIZE=100 # Enable history editing in DDB | | 151 | options DDB_HISTORY_SIZE=100 # Enable history editing in DDB |
150 | #options KGDB | | 152 | #options KGDB |
151 | makeoptions DEBUG="-g" # compile full symbol table | | 153 | makeoptions DEBUG="-g" # compile full symbol table |
152 | makeoptions COPY_SYMTAB=1 | | 154 | makeoptions COPY_SYMTAB=1 |
153 | | | 155 | |
154 | ## USB Debugging options | | 156 | ## USB Debugging options |
155 | options USB_DEBUG | | 157 | options USB_DEBUG |
156 | options EHCI_DEBUG | | 158 | options EHCI_DEBUG |
157 | options OHCI_DEBUG | | 159 | options OHCI_DEBUG |
158 | options UHUB_DEBUG | | 160 | options UHUB_DEBUG |
159 | options USBVERBOSE | | 161 | options USBVERBOSE |
160 | | | 162 | |
161 | # Valid options for BOOT_ARGS: | | 163 | # Valid options for BOOT_ARGS: |
162 | # single Boot to single user only | | 164 | # single Boot to single user only |
163 | # kdb Give control to kernel debugger | | 165 | # kdb Give control to kernel debugger |
164 | # ask Ask for file name to reboot from | | 166 | # ask Ask for file name to reboot from |
165 | # memorydisk=<n> Set memorydisk size to <n> KB | | 167 | # memorydisk=<n> Set memorydisk size to <n> KB |
166 | # quiet Show aprint_naive output | | 168 | # quiet Show aprint_naive output |
167 | # verbose Show aprint_normal and aprint_verbose output | | 169 | # verbose Show aprint_normal and aprint_verbose output |
168 | #options BOOT_ARGS="\"\"" | | 170 | options BOOT_ARGS="\"verbose\"" |
169 | | | 171 | |
170 | config netbsd root on ? type ? | | 172 | config netbsd root on ? type ? |
171 | | | 173 | |
172 | # The main bus device | | 174 | # The main bus device |
173 | mainbus0 at root | | 175 | mainbus0 at root |
174 | | | 176 | |
175 | # The boot cpu and secondary CPUs | | 177 | # The boot cpu and secondary CPUs |
176 | cpu0 at mainbus? | | 178 | cpu0 at mainbus? |
177 | #cpu? at mainbus? # Multiprocessor | | 179 | #cpu? at mainbus? # Multiprocessor |
178 | | | 180 | |
179 | # A9 core devices | | 181 | # A9 core devices |
180 | armperiph0 at mainbus? | | 182 | armperiph0 at mainbus? |
181 | arml2cc0 at armperiph? # L2 Cache Controller | | 183 | arml2cc0 at armperiph? # L2 Cache Controller |
182 | armgic0 at armperiph? # Interrupt Controller | | 184 | armgic0 at armperiph? # Interrupt Controller |
183 | | | 185 | |
184 | # Exynos SoC | | 186 | # Exynos SoC |
185 | exyo0 at mainbus? | | 187 | exyo0 at mainbus? |
186 | | | 188 | |
187 | # Integrated Samsung devices | | 189 | # Integrated Samsung devices |
188 | mct0 at exyo0 | | 190 | mct0 at exyo0 |
189 | | | 191 | |
190 | # Integrated Samsung UARTs | | 192 | # Integrated Samsung UARTs |
191 | sscom0 at exyo0 port 0 # UART0, expansion | | 193 | sscom0 at exyo0 port 0 # UART0, expansion |
192 | sscom1 at exyo0 port 1 # UART1, console | | 194 | sscom1 at exyo0 port 1 # UART1, console |
193 | | | 195 | |
194 | # Exynos Watchdog Timer | | 196 | # Exynos Watchdog Timer |
195 | exyowdt0 at exyo0 flags 1 # watchdog | | 197 | exyowdt0 at exyo0 flags 0 # watchdog |
196 | | | 198 | |
197 | # GPIO | | 199 | # GPIO |
198 | exyogpio0 at exyo0 | | 200 | exyogpio0 at exyo0 |
199 | gpio* at exyogpio? | | 201 | gpio* at exyogpio? |
200 | | | 202 | |
201 | # On-board USB | | 203 | # On-board USB |
202 | exyousb* at exyo0 | | 204 | exyousb* at exyo0 |
203 | ohci* at exyousb? | | 205 | ohci* at exyousb? |
204 | ehci* at exyousb? | | 206 | ehci* at exyousb? |
205 | usb* at ohci? | | 207 | usb* at ohci? |
206 | usb* at ehci? | | 208 | usb* at ehci? |
207 | | | 209 | |
208 | # Network phy for the LAN9730 | | 210 | # Network phy for the LAN9730 |