1# 2# std.rt2880 -- Base kernel configuration file for FreeBSD/MIPS RT2800 SoC 3# 4# This includes all the required drivers for the SoCs. 5# 6# $FreeBSD$ 7# 8 9# Include the standard file list for Mediatek SoCs. 10files "../mediatek/files.mediatek" 11 12# Building a mips/mipsel kernel 13machine mips mipsel 14 15# Little-endian machine 16makeoptions MIPS_LITTLE_ENDIAN=defined 17 18# Default kernel load address 19makeoptions KERNLOADADDR=0x88001000 20 21# Mediatek/Ralink SoC support depends on FDT (with static DTB for the moment) 22options FDT 23options FDT_DTB_STATIC 24 25# We rely on INTRNG code 26options INTRNG 27options MIPS_NIRQ=256 28 29# We rely on NEW_PCIB code 30options NEW_PCIB 31 32# Build kernel with gdb(1) debug symbols 33makeoptions DEBUG=-g 34 35# Support for DDB and KDB 36options DDB 37options KDB 38 39# Debugging for use in -current 40options INVARIANTS 41options INVARIANT_SUPPORT 42options WITNESS 43options WITNESS_SKIPSPIN 44options DEBUG_REDZONE 45options DEBUG_MEMGUARD 46 47# For small memory footprints 48options VM_KMEM_SIZE_SCALE=1 49 50# General options, including scheduler, etc. 51options SCHED_ULE # ULE scheduler 52options INET # InterNETworking 53#options INET6 # IPv6 54options PSEUDOFS # Pseude-filesystem framework 55options FFS # Berkeley Fast Filesystem 56#options SOFTUPDATES # Enable FFS soft updates support 57#options UFS_ACL # Support for access control lists 58#options UFS_DIRHASH # Improve big directory performance 59#options MSDOSFS # Enable support for MSDOS filesystems 60options _KPOSIX_PRIORITY_SCHEDULING # Posix P1003_1B real-time ext. 61 62# 63# Standard drivers section 64# 65# The drivers in the following section are required in order to successfully 66# compile the kernel. 67# 68 69# FDT clock and pinctrl framework 70device fdt_clock 71device fdt_pinctrl 72 73# UART support 74device uart 75 76# loop device support 77device loop 78 79# ether device support 80device ether 81 82# ether switch support 83#device etherswitch 84#device miibus 85#device ip17x 86#device mdio 87