Deleted Added
full compact
NSLU (188944) NSLU (191954)
1# NSLU - kernel configuration file for FreeBSD/arm on Linksys NSLU2
2#
3# For more information on this file, please read the handbook section on
4# Kernel Configuration Files:
5#
6# http://www.FreeBSD.org/doc/en_US.ISO8859-1/books/handbook/kernelconfig-config.html
7#
8# The handbook is also available locally in /usr/share/doc/handbook
9# if you've installed the doc distribution, otherwise always see the
10# FreeBSD World Wide Web server (http://www.FreeBSD.org/) for the
11# latest information.
12#
13# An exhaustive list of options and more detailed explanations of the
14# device lines is also present in the ../../conf/NOTES and NOTES files.
15# If you are in doubt as to the purpose or necessity of a line, check first
16# in NOTES.
17#
1# NSLU - kernel configuration file for FreeBSD/arm on Linksys NSLU2
2#
3# For more information on this file, please read the handbook section on
4# Kernel Configuration Files:
5#
6# http://www.FreeBSD.org/doc/en_US.ISO8859-1/books/handbook/kernelconfig-config.html
7#
8# The handbook is also available locally in /usr/share/doc/handbook
9# if you've installed the doc distribution, otherwise always see the
10# FreeBSD World Wide Web server (http://www.FreeBSD.org/) for the
11# latest information.
12#
13# An exhaustive list of options and more detailed explanations of the
14# device lines is also present in the ../../conf/NOTES and NOTES files.
15# If you are in doubt as to the purpose or necessity of a line, check first
16# in NOTES.
17#
18# $FreeBSD: head/sys/arm/conf/NSLU 188944 2009-02-23 18:34:56Z thompsa $
18# $FreeBSD: head/sys/arm/conf/NSLU 191954 2009-05-10 00:00:25Z kuriyama $
19
20ident NSLU
21
22# XXX What is defined in std.avila does not exactly match the following:
23#options PHYSADDR=0x10000000
24#options KERNPHYSADDR=0x10200000
25#options KERNVIRTADDR=0xc0200000 # Used in ldscript.arm
26#options FLASHADDR=0x50000000
27#options LOADERRAMADDR=0x00000000
28#options STARTUP_PAGETABLE_ADDR=0x10000000
29
30include "../xscale/ixp425/std.ixp425"
31# NB: memory mapping is defined in std.avila (see also comment above)
32include "../xscale/ixp425/std.avila"
33options XSCALE_CACHE_READ_WRITE_ALLOCATE
34#To statically compile in device wiring instead of /boot/device.hints
35hints "NSLU.hints" #Default places to look for devices.
36makeoptions MODULES_OVERRIDE=""
37
38makeoptions DEBUG=-g #Build kernel with gdb(1) debug symbols
39makeoptions CONF_CFLAGS=-mcpu=xscale
40options HZ=100
41options DEVICE_POLLING
42
43# Debugging for use in -current
44options KDB
45#options GDB
46options DDB #Enable the kernel debugger
47#options INVARIANTS #Enable calls of extra sanity checking
48#options INVARIANT_SUPPORT #Extra sanity checks of internal structures, required by INVARIANTS
49#options WITNESS #Enable checks to detect deadlocks and cycles
50#options WITNESS_SKIPSPIN #Don't run witness on spinlocks for speed
51#options DIAGNOSTIC
52
53options SCHED_ULE #ULE scheduler
54options INET #InterNETworking
55options INET6 #IPv6 communications protocols
56options FFS #Berkeley Fast Filesystem
57options SOFTUPDATES #Enable FFS soft updates support
58options UFS_ACL #Support for access control lists
59options UFS_DIRHASH #Improve performance on big directories
60options NFSCLIENT #Network Filesystem Client
61options NFSSERVER #Network Filesystem Server
62options NFSLOCKD #Network Lock Manager
63options NFS_ROOT #NFS usable as /, requires NFSCLIENT
64#options MSDOSFS #MSDOS Filesystem
65options CD9660 #ISO 9660 Filesystem
66#options PROCFS #Process filesystem (requires PSEUDOFS)
67options PSEUDOFS #Pseudo-filesystem framework
68options SCSI_DELAY=5000 #Delay (in ms) before probing SCSI
69options KTRACE #ktrace(1) support
70options SYSVSHM #SYSV-style shared memory
71options SYSVMSG #SYSV-style message queues
72options SYSVSEM #SYSV-style semaphores
73options _KPOSIX_PRIORITY_SCHEDULING #Posix P1003_1B real-time extensions
74options MUTEX_NOINLINE #Mutex inlines are space hogs
75options RWLOCK_NOINLINE #rwlock inlines are space hogs
76options SX_NOINLINE #sx inliens are space hogs
77options BOOTP
78options BOOTP_NFSROOT
79options BOOTP_NFSV3
80options BOOTP_WIRED_TO=npe0
81options BOOTP_COMPAT
82
83device pci
84device uart
85
86# I2C Bus
87device iicbus
88device iicbb
89device iic
90
91device ixpiic # I2C bus glue
92device ixpwdog # watchdog timer
93
94device npe # Network Processing Engine
95device npe_fw
96device firmware
97device qmgr # Q Manager (required by npe)
98device mii # Minimal mii routines
99device rlphy # NSLU2 uses Realtek PHY attached to npe
100device ether
101device bpf
102
103device pty
104device loop
105
106device md
19
20ident NSLU
21
22# XXX What is defined in std.avila does not exactly match the following:
23#options PHYSADDR=0x10000000
24#options KERNPHYSADDR=0x10200000
25#options KERNVIRTADDR=0xc0200000 # Used in ldscript.arm
26#options FLASHADDR=0x50000000
27#options LOADERRAMADDR=0x00000000
28#options STARTUP_PAGETABLE_ADDR=0x10000000
29
30include "../xscale/ixp425/std.ixp425"
31# NB: memory mapping is defined in std.avila (see also comment above)
32include "../xscale/ixp425/std.avila"
33options XSCALE_CACHE_READ_WRITE_ALLOCATE
34#To statically compile in device wiring instead of /boot/device.hints
35hints "NSLU.hints" #Default places to look for devices.
36makeoptions MODULES_OVERRIDE=""
37
38makeoptions DEBUG=-g #Build kernel with gdb(1) debug symbols
39makeoptions CONF_CFLAGS=-mcpu=xscale
40options HZ=100
41options DEVICE_POLLING
42
43# Debugging for use in -current
44options KDB
45#options GDB
46options DDB #Enable the kernel debugger
47#options INVARIANTS #Enable calls of extra sanity checking
48#options INVARIANT_SUPPORT #Extra sanity checks of internal structures, required by INVARIANTS
49#options WITNESS #Enable checks to detect deadlocks and cycles
50#options WITNESS_SKIPSPIN #Don't run witness on spinlocks for speed
51#options DIAGNOSTIC
52
53options SCHED_ULE #ULE scheduler
54options INET #InterNETworking
55options INET6 #IPv6 communications protocols
56options FFS #Berkeley Fast Filesystem
57options SOFTUPDATES #Enable FFS soft updates support
58options UFS_ACL #Support for access control lists
59options UFS_DIRHASH #Improve performance on big directories
60options NFSCLIENT #Network Filesystem Client
61options NFSSERVER #Network Filesystem Server
62options NFSLOCKD #Network Lock Manager
63options NFS_ROOT #NFS usable as /, requires NFSCLIENT
64#options MSDOSFS #MSDOS Filesystem
65options CD9660 #ISO 9660 Filesystem
66#options PROCFS #Process filesystem (requires PSEUDOFS)
67options PSEUDOFS #Pseudo-filesystem framework
68options SCSI_DELAY=5000 #Delay (in ms) before probing SCSI
69options KTRACE #ktrace(1) support
70options SYSVSHM #SYSV-style shared memory
71options SYSVMSG #SYSV-style message queues
72options SYSVSEM #SYSV-style semaphores
73options _KPOSIX_PRIORITY_SCHEDULING #Posix P1003_1B real-time extensions
74options MUTEX_NOINLINE #Mutex inlines are space hogs
75options RWLOCK_NOINLINE #rwlock inlines are space hogs
76options SX_NOINLINE #sx inliens are space hogs
77options BOOTP
78options BOOTP_NFSROOT
79options BOOTP_NFSV3
80options BOOTP_WIRED_TO=npe0
81options BOOTP_COMPAT
82
83device pci
84device uart
85
86# I2C Bus
87device iicbus
88device iicbb
89device iic
90
91device ixpiic # I2C bus glue
92device ixpwdog # watchdog timer
93
94device npe # Network Processing Engine
95device npe_fw
96device firmware
97device qmgr # Q Manager (required by npe)
98device mii # Minimal mii routines
99device rlphy # NSLU2 uses Realtek PHY attached to npe
100device ether
101device bpf
102
103device pty
104device loop
105
106device md
107device random # Entropy device
107device random # Entropy device
108
109#options ARM_USE_SMALL_ALLOC
110
111device usb
112options USB_DEBUG
113device ohci
114device ehci
115device umass
116device scbus # SCSI bus (required for SCSI)
117device da # Direct Access (disks)
108
109#options ARM_USE_SMALL_ALLOC
110
111device usb
112options USB_DEBUG
113device ohci
114device ehci
115device umass
116device scbus # SCSI bus (required for SCSI)
117device da # Direct Access (disks)