Deleted Added
full compact
PANDABOARD (253845) PANDABOARD (254461)
1# PANDABOARD -- Custom configuration for the PandaBoard ARM development
2# platform, check out www.pandaboard.org
3#
4# For more information on this file, please read the handbook section on
5# Kernel Configuration Files:
6#
7# http://www.FreeBSD.org/doc/en_US.ISO8859-1/books/handbook/kernelconfig-config.html
8#
9# The handbook is also available locally in /usr/share/doc/handbook
10# if you've installed the doc distribution, otherwise always see the
11# FreeBSD World Wide Web server (http://www.FreeBSD.org/) for the
12# latest information.
13#
14# An exhaustive list of options and more detailed explanations of the
15# device lines is also present in the ../../conf/NOTES and NOTES files.
16# If you are in doubt as to the purpose or necessity of a line, check first
17# in NOTES.
18#
1# PANDABOARD -- Custom configuration for the PandaBoard ARM development
2# platform, check out www.pandaboard.org
3#
4# For more information on this file, please read the handbook section on
5# Kernel Configuration Files:
6#
7# http://www.FreeBSD.org/doc/en_US.ISO8859-1/books/handbook/kernelconfig-config.html
8#
9# The handbook is also available locally in /usr/share/doc/handbook
10# if you've installed the doc distribution, otherwise always see the
11# FreeBSD World Wide Web server (http://www.FreeBSD.org/) for the
12# latest information.
13#
14# An exhaustive list of options and more detailed explanations of the
15# device lines is also present in the ../../conf/NOTES and NOTES files.
16# If you are in doubt as to the purpose or necessity of a line, check first
17# in NOTES.
18#
19# $FreeBSD: head/sys/arm/conf/PANDABOARD 253845 2013-07-31 17:21:18Z obrien $
19# $FreeBSD: head/sys/arm/conf/PANDABOARD 254461 2013-08-17 18:51:38Z andrew $
20
21ident PANDABOARD
22
23
24
25# This probably wants to move somewhere else. Maybe we can create a basic
26# OMAP4340 config, then make a PANDABOARD config that includes the basic one,
27# adds the start addresses and custom devices plus pulls in this hints file.
28
29hints "PANDABOARD.hints"
30
31include "../ti/omap4/pandaboard/std.pandaboard"
32
33#To statically compile in device wiring instead of /boot/device.hints
34makeoptions MODULES_OVERRIDE=""
35makeoptions WITHOUT_MODULES="ahc"
36
37makeoptions DEBUG=-g #Build kernel with gdb(1) debug symbols
38options HZ=100
39
40options SCHED_4BSD #4BSD scheduler
41options INET #InterNETworking
42#options INET6 #IPv6 communications protocols
43options FFS #Berkeley Fast Filesystem
44options SOFTUPDATES #Enable FFS soft updates support
45options UFS_ACL #Support for access control lists
46options UFS_DIRHASH #Improve performance on big directories
47device snp
48options BREAK_TO_DEBUGGER
49
50options NFSCL
51options NFS_ROOT #NFS usable as /, requires NFSCLIENT
52#options BOOTP_NFSROOT
53#options BOOTP_COMPAT
54#options BOOTP
55#options BOOTP_NFSV3
56#options BOOTP_WIRED_TO=ue0
57options MSDOSFS #MSDOS Filesystem
58#options CD9660 #ISO 9660 Filesystem
59#options PROCFS #Process filesystem (requires PSEUDOFS)
60options PSEUDOFS #Pseudo-filesystem framework
61options COMPAT_43 #Compatible with BSD 4.3 [KEEP THIS!]
62options SCSI_DELAY=5000 #Delay (in ms) before probing SCSI
63options KTRACE #ktrace(1) support
64options SYSVSHM #SYSV-style shared memory
65options SYSVMSG #SYSV-style message queues
66options SYSVSEM #SYSV-style semaphores
67options _KPOSIX_PRIORITY_SCHEDULING #Posix P1003_1B real-time extensions
68options KBD_INSTALL_CDEV # install a CDEV entry in /dev
69options FREEBSD_BOOT_LOADER
70
71options PREEMPTION
72
73# MMC/SD/SDIO Card slot support
74device mmc # mmc/sd bus
75device mmcsd # mmc/sd flash cards
76
77# I2C support
78device iicbus
79device iic
80device ti_i2c
81
82device loop
83device ether
84device mii
85device smc
86device smcphy
87device uart
88device uart_ns8250
89
90device gpio
91
92device pty
93
94device pl310 # PL310 L2 cache controller
95# Debugging for use in -current
96#options VERBOSE_SYSINIT #Enable verbose sysinit messages
97options KDB
98options DDB #Enable the kernel debugger
99#options INVARIANTS #Enable calls of extra sanity checking
100#options INVARIANT_SUPPORT #Extra sanity checks of internal structures, required by INVARIANTS
101#options WITNESS #Enable checks to detect deadlocks and cycles
102#options WITNESS_SKIPSPIN #Don't run witness on spinlocks for speed
103#options DIAGNOSTIC
104
105device md
106
107# The following enables MFS as root, this seems similar to an initramfs or initrd
108# as used in Linux.
109#options MD_ROOT
110#options MD_ROOT_SIZE=7560
111
112device random # Entropy device
113
114# USB support
115device usb
116options USB_DEBUG
117#options USB_REQ_DEBUG
118#options USB_VERBOSE
119device ohci
120device ehci
121device umass
122device scbus # SCSI bus (required for SCSI)
123device da # Direct Access (disks)
124
125
126# USB Ethernet support, requires miibus
127device miibus
128#device axe # ASIX Electronics USB Ethernet
129device smsc # SMSC LAN95xx USB Ethernet
130device bpf
131
132# OMAP-specific devices
133device ti_sdma
134device twl
135device twl_vreg
136device twl_clks
137
138# Flattened Device Tree
139options FDT
140options FDT_DTB_STATIC
141makeoptions FDT_DTS_FILE=pandaboard.dts
142
20
21ident PANDABOARD
22
23
24
25# This probably wants to move somewhere else. Maybe we can create a basic
26# OMAP4340 config, then make a PANDABOARD config that includes the basic one,
27# adds the start addresses and custom devices plus pulls in this hints file.
28
29hints "PANDABOARD.hints"
30
31include "../ti/omap4/pandaboard/std.pandaboard"
32
33#To statically compile in device wiring instead of /boot/device.hints
34makeoptions MODULES_OVERRIDE=""
35makeoptions WITHOUT_MODULES="ahc"
36
37makeoptions DEBUG=-g #Build kernel with gdb(1) debug symbols
38options HZ=100
39
40options SCHED_4BSD #4BSD scheduler
41options INET #InterNETworking
42#options INET6 #IPv6 communications protocols
43options FFS #Berkeley Fast Filesystem
44options SOFTUPDATES #Enable FFS soft updates support
45options UFS_ACL #Support for access control lists
46options UFS_DIRHASH #Improve performance on big directories
47device snp
48options BREAK_TO_DEBUGGER
49
50options NFSCL
51options NFS_ROOT #NFS usable as /, requires NFSCLIENT
52#options BOOTP_NFSROOT
53#options BOOTP_COMPAT
54#options BOOTP
55#options BOOTP_NFSV3
56#options BOOTP_WIRED_TO=ue0
57options MSDOSFS #MSDOS Filesystem
58#options CD9660 #ISO 9660 Filesystem
59#options PROCFS #Process filesystem (requires PSEUDOFS)
60options PSEUDOFS #Pseudo-filesystem framework
61options COMPAT_43 #Compatible with BSD 4.3 [KEEP THIS!]
62options SCSI_DELAY=5000 #Delay (in ms) before probing SCSI
63options KTRACE #ktrace(1) support
64options SYSVSHM #SYSV-style shared memory
65options SYSVMSG #SYSV-style message queues
66options SYSVSEM #SYSV-style semaphores
67options _KPOSIX_PRIORITY_SCHEDULING #Posix P1003_1B real-time extensions
68options KBD_INSTALL_CDEV # install a CDEV entry in /dev
69options FREEBSD_BOOT_LOADER
70
71options PREEMPTION
72
73# MMC/SD/SDIO Card slot support
74device mmc # mmc/sd bus
75device mmcsd # mmc/sd flash cards
76
77# I2C support
78device iicbus
79device iic
80device ti_i2c
81
82device loop
83device ether
84device mii
85device smc
86device smcphy
87device uart
88device uart_ns8250
89
90device gpio
91
92device pty
93
94device pl310 # PL310 L2 cache controller
95# Debugging for use in -current
96#options VERBOSE_SYSINIT #Enable verbose sysinit messages
97options KDB
98options DDB #Enable the kernel debugger
99#options INVARIANTS #Enable calls of extra sanity checking
100#options INVARIANT_SUPPORT #Extra sanity checks of internal structures, required by INVARIANTS
101#options WITNESS #Enable checks to detect deadlocks and cycles
102#options WITNESS_SKIPSPIN #Don't run witness on spinlocks for speed
103#options DIAGNOSTIC
104
105device md
106
107# The following enables MFS as root, this seems similar to an initramfs or initrd
108# as used in Linux.
109#options MD_ROOT
110#options MD_ROOT_SIZE=7560
111
112device random # Entropy device
113
114# USB support
115device usb
116options USB_DEBUG
117#options USB_REQ_DEBUG
118#options USB_VERBOSE
119device ohci
120device ehci
121device umass
122device scbus # SCSI bus (required for SCSI)
123device da # Direct Access (disks)
124
125
126# USB Ethernet support, requires miibus
127device miibus
128#device axe # ASIX Electronics USB Ethernet
129device smsc # SMSC LAN95xx USB Ethernet
130device bpf
131
132# OMAP-specific devices
133device ti_sdma
134device twl
135device twl_vreg
136device twl_clks
137
138# Flattened Device Tree
139options FDT
140options FDT_DTB_STATIC
141makeoptions FDT_DTS_FILE=pandaboard.dts
142
143#device vfp # vfp/neon
144#options ARM_VFP_SUPPORT # vfp/neon
143options VFP # vfp/neon