2008-03-03 20:40:20 +00:00
|
|
|
#
|
|
|
|
# Custom kernel for Freescale MPC85XX development boards like the CDS etc.
|
|
|
|
#
|
|
|
|
#
|
|
|
|
|
2012-05-27 10:25:20 +00:00
|
|
|
cpu BOOKE
|
|
|
|
cpu BOOKE_E500
|
2008-03-03 20:40:20 +00:00
|
|
|
ident MPC85XX
|
|
|
|
|
2010-07-13 05:32:19 +00:00
|
|
|
machine powerpc powerpc
|
|
|
|
|
2016-08-03 01:22:11 +00:00
|
|
|
include "dpaa/config.dpaa"
|
2017-11-04 00:47:21 +00:00
|
|
|
makeoptions DEBUG=-g #Build kernel with gdb(1) debug symbols
|
|
|
|
makeoptions WITH_CTF=1
|
2008-03-03 20:40:20 +00:00
|
|
|
|
|
|
|
options FPU_EMU
|
2022-08-06 15:35:44 +00:00
|
|
|
options MAXCPU=32
|
2008-03-03 20:40:20 +00:00
|
|
|
|
|
|
|
options _KPOSIX_PRIORITY_SCHEDULING
|
|
|
|
options ALT_BREAK_TO_DEBUGGER
|
|
|
|
options BREAK_TO_DEBUGGER
|
|
|
|
options BOOTP
|
|
|
|
options BOOTP_NFSROOT
|
2015-01-16 17:41:21 +00:00
|
|
|
#options BOOTP_NFSV3
|
2008-03-03 20:40:20 +00:00
|
|
|
options CD9660
|
|
|
|
options COMPAT_43
|
|
|
|
options DDB
|
2010-02-15 23:44:48 +00:00
|
|
|
#options DEADLKRES
|
2009-05-10 00:00:25 +00:00
|
|
|
options DEVICE_POLLING
|
2008-03-03 20:40:20 +00: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 21:08:29 +00:00
|
|
|
options FDT
|
|
|
|
#makeoptions FDT_DTS_FILE=mpc8555cds.dts
|
2008-03-03 20:40:20 +00:00
|
|
|
options FFS
|
|
|
|
options GDB
|
|
|
|
options GEOM_PART_GPT
|
2022-08-02 21:11:11 +00:00
|
|
|
options GEOM_LABEL # Provides labelization
|
2008-03-03 20:40:20 +00:00
|
|
|
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 02:16:42 +00:00
|
|
|
options TCP_HHOOK # hhook(9) framework for TCP
|
2008-03-03 20:40:20 +00:00
|
|
|
options INVARIANTS
|
|
|
|
options INVARIANT_SUPPORT
|
|
|
|
options KDB
|
|
|
|
options KTRACE
|
|
|
|
options MD_ROOT
|
|
|
|
options MPC85XX
|
|
|
|
options MSDOSFS
|
|
|
|
options NFS_ROOT
|
2011-07-31 18:34:38 +00:00
|
|
|
options NFSCL
|
2009-05-10 00:00:25 +00:00
|
|
|
options NFSLOCKD
|
2018-08-19 19:07:59 +00:00
|
|
|
options PRINTF_BUFR_SIZE=128 # Prevent printf output being interspersed.
|
2008-03-03 20:40:20 +00:00
|
|
|
options PROCFS
|
|
|
|
options PSEUDOFS
|
2014-02-01 20:56:50 +00:00
|
|
|
options SCHED_ULE
|
2014-03-18 14:41:18 +00:00
|
|
|
options CAPABILITIES
|
|
|
|
options CAPABILITY_MODE
|
|
|
|
options SMP
|
2008-03-03 20:40:20 +00:00
|
|
|
options SYSVMSG
|
|
|
|
options SYSVSEM
|
|
|
|
options SYSVSHM
|
|
|
|
options WITNESS
|
|
|
|
options WITNESS_SKIPSPIN
|
2016-10-24 04:21:06 +00:00
|
|
|
options COMPAT_FREEBSD10
|
2016-12-09 18:54:12 +00:00
|
|
|
options COMPAT_FREEBSD11
|
2019-05-02 18:10:23 +00:00
|
|
|
options COMPAT_FREEBSD12
|
2021-11-15 21:01:34 +00:00
|
|
|
options COMPAT_FREEBSD13
|
2023-10-06 09:13:27 +00:00
|
|
|
options COMPAT_FREEBSD14 # Compatible with FreeBSD14
|
2016-10-24 04:21:06 +00:00
|
|
|
options HWPMC_HOOKS
|
|
|
|
options KDTRACE_HOOKS # Kernel DTrace hooks
|
|
|
|
options DDB_CTF # Kernel ELF linker loads CTF data
|
2008-03-03 20:40:20 +00:00
|
|
|
|
|
|
|
device ata
|
|
|
|
device bpf
|
2008-10-25 06:25:15 +00:00
|
|
|
device cfi
|
2017-10-19 03:38:53 +00:00
|
|
|
device cpufreq
|
2009-06-06 09:37:55 +00:00
|
|
|
device crypto
|
|
|
|
device cryptodev
|
2008-03-03 20:40:20 +00:00
|
|
|
device da
|
2017-10-19 03:38:53 +00:00
|
|
|
device ds1307
|
2009-06-22 15:48:47 +00:00
|
|
|
device ds1553
|
2019-01-31 19:05:56 +00:00
|
|
|
device iflib
|
2008-03-03 20:40:20 +00:00
|
|
|
device em
|
2014-02-01 20:56:50 +00:00
|
|
|
device alc
|
2008-03-03 20:40:20 +00:00
|
|
|
device ether
|
|
|
|
device fxp
|
2016-08-03 01:22:11 +00:00
|
|
|
device gpio
|
2016-11-16 02:14:07 +00:00
|
|
|
device gpiopower
|
2009-06-22 15:34:32 +00: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 21:08:29 +00:00
|
|
|
#device isa
|
2008-03-03 20:40:20 +00:00
|
|
|
device loop
|
|
|
|
device md
|
|
|
|
device miibus
|
2016-11-15 05:05:51 +00:00
|
|
|
device mmc
|
|
|
|
device mmcsd
|
2011-04-24 08:58:58 +00:00
|
|
|
device pass
|
2008-03-03 20:40:20 +00:00
|
|
|
device pci
|
|
|
|
device quicc
|
|
|
|
#device rl
|
|
|
|
device scbus
|
|
|
|
device scc
|
2018-02-04 15:39:15 +00:00
|
|
|
device sdhci
|
2009-06-06 09:37:55 +00:00
|
|
|
device sec
|
2017-04-02 01:21:35 +00:00
|
|
|
device spibus
|
|
|
|
device spigen
|
2008-03-03 20:40:20 +00:00
|
|
|
device tsec
|
2016-10-24 04:21:06 +00:00
|
|
|
device dpaa
|
tun/tap: merge and rename to `tuntap`
tun(4) and tap(4) share the same general management interface and have a lot
in common. Bugs exist in tap(4) that have been fixed in tun(4), and
vice-versa. Let's reduce the maintenance requirements by merging them
together and using flags to differentiate between the three interface types
(tun, tap, vmnet).
This fixes a couple of tap(4)/vmnet(4) issues right out of the gate:
- tap devices may no longer be destroyed while they're open [0]
- VIMAGE issues already addressed in tun by kp
[0] emaste had removed an easy-panic-button in r240938 due to devdrn
blocking. A naive glance over this leads me to believe that this isn't quite
complete -- destroy_devl will only block while executing d_* functions, but
doesn't block the device from being destroyed while a process has it open.
The latter is the intent of the condvar in tun, so this is "fixed" (for
certain definitions of the word -- it wasn't really broken in tap, it just
wasn't quite ideal).
ifconfig(8) also grew the ability to map an interface name to a kld, so
that `ifconfig {tun,tap}0` can continue to autoload the correct module, and
`ifconfig vmnet0 create` will now autoload the correct module. This is a
low overhead addition.
(MFC commentary)
This may get MFC'd if many bugs in tun(4)/tap(4) are discovered after this,
and how critical they are. Changes after this are likely easily MFC'd
without taking this merge, but the merge will be easier.
I have no plans to do this MFC as of now.
Reviewed by: bcr (manpages), tuexen (testing, syzkaller/packetdrill)
Input also from: melifaro
Relnotes: yes
Differential Revision: https://reviews.freebsd.org/D20044
2019-05-08 02:32:11 +00:00
|
|
|
device tuntap
|
2008-03-03 20:40:20 +00:00
|
|
|
device uart
|
2010-04-22 21:31:34 +00:00
|
|
|
options USB_DEBUG # enable debug msgs
|
2008-03-03 20:40:20 +00:00
|
|
|
#device uhci
|
2016-09-10 01:09:58 +00:00
|
|
|
device ehci
|
2017-10-19 03:38:53 +00:00
|
|
|
device ukbd
|
|
|
|
device ums
|
2008-03-03 20:40:20 +00:00
|
|
|
device umass
|
|
|
|
device usb
|
2009-02-17 14:57:05 +00:00
|
|
|
device vlan
|
2016-09-27 00:53:41 +00:00
|
|
|
|
|
|
|
# P1022 DIU
|
|
|
|
device diu
|
|
|
|
device videomode
|
2016-10-24 04:21:06 +00:00
|
|
|
device vt
|
|
|
|
device fbd
|
2020-10-04 22:21:08 +00:00
|
|
|
|
|
|
|
# HID support
|
2020-10-05 09:38:11 +00:00
|
|
|
options HID_DEBUG # enable debug msgs
|
2020-10-04 22:21:08 +00:00
|
|
|
device hid # Generic HID support
|