summaryrefslogtreecommitdiffstats
path: root/sys/mips/conf/MEDIATEK_BASE
blob: 5e6c0ad7befbfacae168aea4734800d18d0d62d3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
#
# MEDIATEK_BASE -- Base kernel configuration file for FreeBSD/MIPS
# Mediatek/Ralink SoCs.
#
# This includes all the required drivers for the SoCs.
# Ususally, users should not build this kernel configuration. It is provided
# only as a minimum base, from which customizations can be made. Please look
# at MEDIATEK kernel configuration for customization details.
#
# $FreeBSD$
#

#NO_UNIVERSE

# Include the standard file list for Mediatek SoCs.
files 		"../mediatek/files.mtk"

# Building a mips/mipsel kernel
machine 	mips mipsel

# Little-endian machine
makeoptions 	MIPS_LITTLE_ENDIAN=defined

# Default kernel load address
makeoptions 	KERNLOADADDR=0x80001000

# Mediatek/Ralink SoC support depends on FDT (with static DTB for the moment)
options 	FDT
options 	FDT_DTB_STATIC

# We rely on MIPS_INTRNG code
options 	MIPS_INTRNG
options 	MIPS_NIRQ=256

# We rely on NEW_PCIB code
options 	NEW_PCIB

# Build kernel with gdb(1) debug symbols
makeoptions 	DEBUG=-g

# Support for DDB and KDB
options 	DDB
options 	KDB

# Debugging for use in -current
options 	INVARIANTS
options 	INVARIANT_SUPPORT
options 	WITNESS
options 	WITNESS_SKIPSPIN
options 	DEBUG_REDZONE
options 	DEBUG_MEMGUARD

# For small memory footprints
options 	VM_KMEM_SIZE_SCALE=1

# General options, including scheduler, etc.
options 	SCHED_ULE	# ULE scheduler
options 	INET		# InterNETworking
#options 	INET6		# IPv6
options 	PSEUDOFS	# Pseude-filesystem framework
options 	FFS		# Berkeley Fast Filesystem
#options 	SOFTUPDATES	# Enable FFS soft updates support
#options 	UFS_ACL		# Support for access control lists
#options 	UFS_DIRHASH	# Improve big directory performance
#options 	MSDOSFS		# Enable support for MSDOS filesystems
options 	_KPOSIX_PRIORITY_SCHEDULING	# Posix P1003_1B real-time ext.

#
# Standard drivers section
#
# The drivers in the following section are required in order to successfully
# compile the kernel.
#

# FDT clock and pinctrl framework
device 		fdt_clock
device 		fdt_pinctrl

# UART support
device 		uart

# random support
device 		random

# loop device support
device 		loop

# ether device support
device 		ether
OpenPOWER on IntegriCloud