1# 2# Custom kernel for Marvell Armada XP 3# 4# For more information on this file, please read the config(5) manual page, 5# and/or the handbook section on Kernel Configuration Files: 6# 7# https://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 (https://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$ 20 21# TODO: Port to INTRNG 22#NO_UNIVERSE 23 24ident MV-88F78XX0 25 26include "std.armv7" 27include "../mv/armadaxp/std.mv78x60" 28 29options SOC_MV_ARMADAXP 30 31makeoptions WERROR="-Werror" 32 33options SCHED_ULE # ULE scheduler 34options SMP # Enable multiple cores 35 36# NFS root from boopt/dhcp 37options BOOTP 38options BOOTP_NFSROOT 39options BOOTP_NFSV3 40options BOOTP_WIRED_TO=mge0 41 42options ROOTDEVNAME=\"ufs:/dev/da0p1\" 43 44options MUTEX_NOINLINE 45options RWLOCK_NOINLINE 46options NO_FFS_SNAPSHOT 47options NO_SWAPPING 48 49# Pseudo devices 50device random 51device pty 52device loop 53device md 54 55# USB 56device usb 57device ehci 58device umass 59device scbus 60device pass 61device da 62 63# SATA 64device mvs 65 66# Serial ports 67device uart 68 69# I2C (TWSI) 70device iic 71device iicbus 72device twsi 73 74#Network 75device ether 76device mge # Marvell Gigabit Ethernet controller 77device mii 78device mdio 79device e1000phy 80device bpf 81options DEVICE_POLLING 82device vlan 83 84#PCI/PCIE 85device pci 86 87# Flattened Device Tree 88options FDT # Configure using FDT/DTB data 89options FDT_DTB_STATIC 90makeoptions FDT_DTS_FILE=db78460.dts 91 92options INTRNG 93 94options PLATFORM 95