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 263301 2014-03-18 14:41:18Z imp $
| 18# $FreeBSD: head/sys/arm/conf/NSLU 265155 2014-04-30 18:02:10Z imp $
|
19
| 19
|
| 20#NO_UNIVERSE 21
|
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 29include "../xscale/ixp425/std.ixp425" 30# NB: memory mapping is defined in std.avila (see also comment above) 31include "../xscale/ixp425/std.avila" 32options XSCALE_CACHE_READ_WRITE_ALLOCATE 33#To statically compile in device wiring instead of /boot/device.hints 34hints "NSLU.hints" # Default places to look for devices. 35makeoptions MODULES_OVERRIDE="" 36 37makeoptions DEBUG=-g # Build kernel with gdb(1) debug symbols 38makeoptions CONF_CFLAGS=-mcpu=xscale 39options HZ=100 40options DEVICE_POLLING 41 42# Debugging for use in -current 43options KDB 44#options GDB 45options DDB # Enable the kernel debugger 46#options DEADLKRES # Enable the deadlock resolver 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 NFSCL # New Network Filesystem Client 61options NFSD # New Network Filesystem Server 62options NFSLOCKD # Network Lock Manager 63options NFS_ROOT # NFS usable as /, requires NFSCL 64options GEOM_PART_BSD # BSD partition scheme 65options GEOM_PART_MBR # MBR partition scheme 66options TMPFS # Efficient memory filesystem 67#options MSDOSFS # MSDOS Filesystem 68options CD9660 # ISO 9660 Filesystem 69#options PROCFS # Process filesystem (requires PSEUDOFS) 70options PSEUDOFS # Pseudo-filesystem framework 71options SCSI_DELAY=5000 # Delay (in ms) before probing SCSI 72options KTRACE # ktrace(1) support 73options SYSVSHM # SYSV-style shared memory 74options SYSVMSG # SYSV-style message queues 75options SYSVSEM # SYSV-style semaphores 76options _KPOSIX_PRIORITY_SCHEDULING #Posix P1003_1B real-time extensions 77options MUTEX_NOINLINE # Mutex inlines are space hogs 78options RWLOCK_NOINLINE # rwlock inlines are space hogs 79options SX_NOINLINE # sx inliens are space hogs 80options BOOTP 81options BOOTP_NFSROOT 82options BOOTP_NFSV3 83options BOOTP_WIRED_TO=npe0 84options BOOTP_COMPAT 85 86device pci 87device uart 88 89# I2C Bus 90device iicbus 91device iicbb 92device iic 93 94device ixpiic # I2C bus glue 95device ixpwdog # watchdog timer 96 97device npe # Network Processing Engine 98device npe_fw 99device firmware 100device qmgr # Q Manager (required by npe) 101device mii # Minimal mii routines 102device rlphy # NSLU2 uses Realtek PHY attached to npe 103device ether 104device bpf 105 106device loop 107 108device md 109device random # Entropy device 110 111device usb 112options USB_DEBUG 113device ohci 114device ehci 115device umass 116device scbus # SCSI bus (required for SCSI) 117device da # Direct Access (disks)
| 22ident NSLU 23 24# XXX What is defined in std.avila does not exactly match the following: 25#options PHYSADDR=0x10000000 26#options KERNPHYSADDR=0x10200000 27#options KERNVIRTADDR=0xc0200000 # Used in ldscript.arm 28#options FLASHADDR=0x50000000 29#options LOADERRAMADDR=0x00000000 30 31include "../xscale/ixp425/std.ixp425" 32# NB: memory mapping is defined in std.avila (see also comment above) 33include "../xscale/ixp425/std.avila" 34options XSCALE_CACHE_READ_WRITE_ALLOCATE 35#To statically compile in device wiring instead of /boot/device.hints 36hints "NSLU.hints" # Default places to look for devices. 37makeoptions MODULES_OVERRIDE="" 38 39makeoptions DEBUG=-g # Build kernel with gdb(1) debug symbols 40makeoptions CONF_CFLAGS=-mcpu=xscale 41options HZ=100 42options DEVICE_POLLING 43 44# Debugging for use in -current 45options KDB 46#options GDB 47options DDB # Enable the kernel debugger 48#options DEADLKRES # Enable the deadlock resolver 49#options INVARIANTS # Enable calls of extra sanity checking 50#options INVARIANT_SUPPORT # Extra sanity checks of internal structures, required by INVARIANTS 51#options WITNESS # Enable checks to detect deadlocks and cycles 52#options WITNESS_SKIPSPIN # Don't run witness on spinlocks for speed 53#options DIAGNOSTIC 54 55options SCHED_ULE # ULE scheduler 56options INET # InterNETworking 57options INET6 # IPv6 communications protocols 58options FFS # Berkeley Fast Filesystem 59options SOFTUPDATES # Enable FFS soft updates support 60options UFS_ACL # Support for access control lists 61options UFS_DIRHASH # Improve performance on big directories 62options NFSCL # New Network Filesystem Client 63options NFSD # New Network Filesystem Server 64options NFSLOCKD # Network Lock Manager 65options NFS_ROOT # NFS usable as /, requires NFSCL 66options GEOM_PART_BSD # BSD partition scheme 67options GEOM_PART_MBR # MBR partition scheme 68options TMPFS # Efficient memory filesystem 69#options MSDOSFS # MSDOS Filesystem 70options CD9660 # ISO 9660 Filesystem 71#options PROCFS # Process filesystem (requires PSEUDOFS) 72options PSEUDOFS # Pseudo-filesystem framework 73options SCSI_DELAY=5000 # Delay (in ms) before probing SCSI 74options KTRACE # ktrace(1) support 75options SYSVSHM # SYSV-style shared memory 76options SYSVMSG # SYSV-style message queues 77options SYSVSEM # SYSV-style semaphores 78options _KPOSIX_PRIORITY_SCHEDULING #Posix P1003_1B real-time extensions 79options MUTEX_NOINLINE # Mutex inlines are space hogs 80options RWLOCK_NOINLINE # rwlock inlines are space hogs 81options SX_NOINLINE # sx inliens are space hogs 82options BOOTP 83options BOOTP_NFSROOT 84options BOOTP_NFSV3 85options BOOTP_WIRED_TO=npe0 86options BOOTP_COMPAT 87 88device pci 89device uart 90 91# I2C Bus 92device iicbus 93device iicbb 94device iic 95 96device ixpiic # I2C bus glue 97device ixpwdog # watchdog timer 98 99device npe # Network Processing Engine 100device npe_fw 101device firmware 102device qmgr # Q Manager (required by npe) 103device mii # Minimal mii routines 104device rlphy # NSLU2 uses Realtek PHY attached to npe 105device ether 106device bpf 107 108device loop 109 110device md 111device random # Entropy device 112 113device usb 114options USB_DEBUG 115device ohci 116device ehci 117device umass 118device scbus # SCSI bus (required for SCSI) 119device da # Direct Access (disks)
|