2008-03-03 21:40:20 +01:00
|
|
|
#
|
|
|
|
# Custom kernel for Freescale MPC85XX development boards like the CDS etc.
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
2012-05-27 12:25:20 +02:00
|
|
|
cpu BOOKE
|
|
|
|
cpu BOOKE_E500
|
2008-03-03 21:40:20 +01:00
|
|
|
ident MPC85XX
|
|
|
|
|
2010-07-13 07:32:19 +02:00
|
|
|
machine powerpc powerpc
|
|
|
|
|
2016-08-03 03:22:11 +02:00
|
|
|
include "dpaa/config.dpaa"
|
2008-03-03 21:40:20 +01:00
|
|
|
makeoptions DEBUG="-Wa,-me500 -g"
|
2016-08-03 03:22:11 +02:00
|
|
|
makeoptions WERROR="-Werror -Wno-format -Wno-redundant-decls"
|
2008-03-03 21:40:20 +01:00
|
|
|
makeoptions NO_MODULES=yes
|
|
|
|
|
|
|
|
options FPU_EMU
|
|
|
|
|
|
|
|
options _KPOSIX_PRIORITY_SCHEDULING
|
|
|
|
options ALT_BREAK_TO_DEBUGGER
|
|
|
|
options BREAK_TO_DEBUGGER
|
|
|
|
options BOOTP
|
|
|
|
options BOOTP_NFSROOT
|
2015-01-16 18:41:21 +01:00
|
|
|
#options BOOTP_NFSV3
|
2008-03-03 21:40:20 +01:00
|
|
|
options CD9660
|
|
|
|
options COMPAT_43
|
|
|
|
options DDB
|
2010-02-16 00:44:48 +01:00
|
|
|
#options DEADLKRES
|
2009-05-10 02:00:25 +02:00
|
|
|
options DEVICE_POLLING
|
2008-03-03 21:40:20 +01:00
|
|
|
#options DIAGNOSTIC
|
Convert Freescale PowerPC platforms to FDT convention.
The following systems are affected:
- MPC8555CDS
- MPC8572DS
This overhaul covers the following major changes:
- All integrated peripherals drivers for Freescale MPC85XX SoC, which are
currently in the FreeBSD source tree are reworked and adjusted so they
derive config data out of the device tree blob (instead of hard coded /
tabelarized values).
- This includes: LBC, PCI / PCI-Express, I2C, DS1553, OpenPIC, TSEC, SEC,
QUICC, UART, CFI.
- Thanks to the common FDT infrastrucutre (fdtbus, simplebus) we retire
ocpbus(4) driver, which was based on hard-coded config data.
Note that world for these platforms has to be built WITH_FDT.
Reviewed by: imp
Sponsored by: The FreeBSD Foundation
2010-07-11 23:08:29 +02:00
|
|
|
options FDT
|
|
|
|
#makeoptions FDT_DTS_FILE=mpc8555cds.dts
|
2008-03-03 21:40:20 +01:00
|
|
|
options FFS
|
|
|
|
options GDB
|
|
|
|
options GEOM_PART_GPT
|
|
|
|
options INET
|
|
|
|
options INET6
|
In the TCP stack, the hhook(9) framework provides hooks for kernel modules
to add actions that run when a TCP frame is sent or received on a TCP
session in the ESTABLISHED state. In the base tree, this functionality is
only used for the h_ertt module, which is used by the cc_cdg, cc_chd, cc_hd,
and cc_vegas congestion control modules.
Presently, we incur overhead to check for hooks each time a TCP frame is
sent or received on an ESTABLISHED TCP session.
This change adds a new compile-time option (TCP_HHOOK) to determine whether
to include the hhook(9) framework for TCP. To retain backwards
compatibility, I added the TCP_HHOOK option to every configuration file that
already defined "options INET". (Therefore, this patch introduces no
functional change. In order to see a functional difference, you need to
compile a custom kernel without the TCP_HHOOK option.) This change will
allow users to easily exclude this functionality from their kernel, should
they wish to do so.
Note that any users who use a custom kernel configuration and use one of the
congestion control modules listed above will need to add the TCP_HHOOK
option to their kernel configuration.
Reviewed by: rrs, lstewart, hiren (previous version), sjg (makefiles only)
Sponsored by: Netflix
Differential Revision: https://reviews.freebsd.org/D8185
2016-10-12 04:16:42 +02:00
|
|
|
options TCP_HHOOK # hhook(9) framework for TCP
|
2008-03-03 21:40:20 +01:00
|
|
|
options INVARIANTS
|
|
|
|
options INVARIANT_SUPPORT
|
|
|
|
options KDB
|
|
|
|
options KTRACE
|
|
|
|
options MD_ROOT
|
|
|
|
options MPC85XX
|
|
|
|
options MSDOSFS
|
|
|
|
options NFS_ROOT
|
2011-07-31 20:34:38 +02:00
|
|
|
options NFSCL
|
2009-05-10 02:00:25 +02:00
|
|
|
options NFSLOCKD
|
2008-03-03 21:40:20 +01:00
|
|
|
options PROCFS
|
|
|
|
options PSEUDOFS
|
2014-02-01 21:56:50 +01:00
|
|
|
options SCHED_ULE
|
2014-03-18 15:41:18 +01:00
|
|
|
options CAPABILITIES
|
|
|
|
options CAPABILITY_MODE
|
|
|
|
options SMP
|
2008-03-03 21:40:20 +01:00
|
|
|
options SYSVMSG
|
|
|
|
options SYSVSEM
|
|
|
|
options SYSVSHM
|
|
|
|
options WITNESS
|
|
|
|
options WITNESS_SKIPSPIN
|
2016-10-24 06:21:06 +02:00
|
|
|
options COMPAT_FREEBSD10
|
2016-12-09 19:54:12 +01:00
|
|
|
options COMPAT_FREEBSD11
|
2016-10-24 06:21:06 +02:00
|
|
|
options HWPMC_HOOKS
|
|
|
|
options KDTRACE_HOOKS # Kernel DTrace hooks
|
|
|
|
options DDB_CTF # Kernel ELF linker loads CTF data
|
2008-03-03 21:40:20 +01:00
|
|
|
|
|
|
|
device ata
|
|
|
|
device bpf
|
2008-10-25 08:25:15 +02:00
|
|
|
device cfi
|
2009-06-06 11:37:55 +02:00
|
|
|
device crypto
|
|
|
|
device cryptodev
|
2008-03-03 21:40:20 +01:00
|
|
|
device da
|
2009-06-22 17:48:47 +02:00
|
|
|
device ds1553
|
2008-03-03 21:40:20 +01:00
|
|
|
device em
|
2014-02-01 21:56:50 +01:00
|
|
|
device alc
|
2008-03-03 21:40:20 +01:00
|
|
|
device ether
|
|
|
|
device fxp
|
2016-08-03 03:22:11 +02:00
|
|
|
device gpio
|
2016-11-16 03:14:07 +01:00
|
|
|
device gpiopower
|
2009-06-22 17:34:32 +02:00
|
|
|
device iic
|
|
|
|
device iicbus
|
Convert Freescale PowerPC platforms to FDT convention.
The following systems are affected:
- MPC8555CDS
- MPC8572DS
This overhaul covers the following major changes:
- All integrated peripherals drivers for Freescale MPC85XX SoC, which are
currently in the FreeBSD source tree are reworked and adjusted so they
derive config data out of the device tree blob (instead of hard coded /
tabelarized values).
- This includes: LBC, PCI / PCI-Express, I2C, DS1553, OpenPIC, TSEC, SEC,
QUICC, UART, CFI.
- Thanks to the common FDT infrastrucutre (fdtbus, simplebus) we retire
ocpbus(4) driver, which was based on hard-coded config data.
Note that world for these platforms has to be built WITH_FDT.
Reviewed by: imp
Sponsored by: The FreeBSD Foundation
2010-07-11 23:08:29 +02:00
|
|
|
#device isa
|
2008-03-03 21:40:20 +01:00
|
|
|
device loop
|
|
|
|
device md
|
|
|
|
device miibus
|
2016-11-15 06:05:51 +01:00
|
|
|
device mmc
|
|
|
|
device mmcsd
|
2011-04-24 10:58:58 +02:00
|
|
|
device pass
|
2008-03-03 21:40:20 +01:00
|
|
|
device pci
|
|
|
|
device quicc
|
|
|
|
device random
|
|
|
|
#device rl
|
|
|
|
device scbus
|
|
|
|
device scc
|
2009-06-06 11:37:55 +02:00
|
|
|
device sec
|
2017-04-02 03:21:35 +02:00
|
|
|
device spibus
|
|
|
|
device spigen
|
2008-03-03 21:40:20 +01:00
|
|
|
device tsec
|
2016-10-24 06:21:06 +02:00
|
|
|
device dpaa
|
2008-03-03 21:40:20 +01:00
|
|
|
device tun
|
|
|
|
device uart
|
2010-04-22 23:31:34 +02:00
|
|
|
options USB_DEBUG # enable debug msgs
|
2008-03-03 21:40:20 +01:00
|
|
|
#device uhci
|
2016-09-10 03:09:58 +02:00
|
|
|
device ehci
|
2008-03-03 21:40:20 +01:00
|
|
|
device umass
|
|
|
|
device usb
|
2009-02-17 15:57:05 +01:00
|
|
|
device vlan
|
2016-09-27 02:53:41 +02:00
|
|
|
|
|
|
|
# P1022 DIU
|
|
|
|
device diu
|
|
|
|
device videomode
|
2016-10-24 06:21:06 +02:00
|
|
|
device vt
|
|
|
|
device fbd
|