2011-09-17 22:22:51 +02:00
|
|
|
menu "Linux Kernel Extensions"
|
|
|
|
|
2016-09-11 14:38:52 +02:00
|
|
|
#-------------------------------------------------------------------------------
|
2011-09-17 22:22:52 +02:00
|
|
|
# Xenomai
|
|
|
|
config BR2_LINUX_KERNEL_EXT_XENOMAI
|
|
|
|
bool "Adeos/Xenomai Real-time patch"
|
2019-02-05 17:09:59 +01:00
|
|
|
depends on BR2_PACKAGE_XENOMAI_COBALT_ARCH_SUPPORTS
|
|
|
|
depends on BR2_USE_MMU # xenomai
|
|
|
|
depends on BR2_TOOLCHAIN_HAS_SYNC_4 # xenomai
|
|
|
|
depends on BR2_TOOLCHAIN_HAS_THREADS # xenomai
|
|
|
|
depends on !BR2_TOOLCHAIN_USES_MUSL # xenomai
|
2011-09-17 22:22:52 +02:00
|
|
|
select BR2_PACKAGE_XENOMAI
|
|
|
|
help
|
2015-03-26 23:45:15 +01:00
|
|
|
Xenomai is split in two parts: a kernel part and a userspace
|
|
|
|
part. Enabling this option automatically selects the Xenomai
|
|
|
|
package and helps in patching the Linux kernel built by
|
|
|
|
Buildroot with the Xenomai kernel part (ie Adeos/Ipipe).
|
2011-09-17 22:22:52 +02:00
|
|
|
|
2015-03-26 23:45:15 +01:00
|
|
|
You can find the currently supported kernel versions by
|
|
|
|
looking at the available patches in the Xenomai sources
|
|
|
|
tree: ksrc/arch/$(ARCH)/patches
|
|
|
|
|
|
|
|
However, it is recommended to use the latest version of the
|
|
|
|
Adeos/Ipipe patch available at
|
2019-05-17 14:50:49 +02:00
|
|
|
https://xenomai.org/downloads/ipipe/
|
2015-03-26 23:45:15 +01:00
|
|
|
|
|
|
|
Xenomai is know to support Blackfin, SH4, x86, ARM, NIOS2
|
|
|
|
and PowerPC architectures.
|
2012-01-03 21:48:48 +01:00
|
|
|
|
2011-09-17 22:22:52 +02:00
|
|
|
config BR2_LINUX_KERNEL_EXT_XENOMAI_ADEOS_PATCH
|
2019-05-17 14:50:49 +02:00
|
|
|
string "Path/URL for Adeos patch file"
|
2016-09-11 14:38:52 +02:00
|
|
|
depends on BR2_LINUX_KERNEL_EXT_XENOMAI
|
2011-09-17 22:22:52 +02:00
|
|
|
help
|
2019-05-17 14:50:49 +02:00
|
|
|
Optionally, explicitly specify where to find the Adeos
|
|
|
|
patch to use.
|
|
|
|
Examples:
|
|
|
|
https://xenomai.org/downloads/ipipe/v4.x/arm/ipipe-core-4.19.33-arm-2.patch
|
|
|
|
or /home/foo/ipipe-core-4.19.33-arm-2.patch
|
|
|
|
Please verify that your kernel version in Buildroot matches.
|
2011-09-17 22:22:52 +02:00
|
|
|
|
2016-09-11 14:38:52 +02:00
|
|
|
comment "xenomai needs a uClibc or glibc toolchain w/ threads"
|
2019-02-05 17:09:59 +01:00
|
|
|
depends on BR2_PACKAGE_XENOMAI_COBALT_ARCH_SUPPORTS
|
|
|
|
depends on BR2_USE_MMU
|
|
|
|
depends on BR2_TOOLCHAIN_HAS_SYNC_4
|
2016-09-11 14:38:52 +02:00
|
|
|
depends on !BR2_TOOLCHAIN_HAS_THREADS || BR2_TOOLCHAIN_USES_MUSL
|
|
|
|
|
|
|
|
#-------------------------------------------------------------------------------
|
2011-09-17 22:22:58 +02:00
|
|
|
# RTAI
|
|
|
|
config BR2_LINUX_KERNEL_EXT_RTAI
|
2013-11-11 17:23:23 +01:00
|
|
|
bool "RTAI Real-time patch"
|
2022-05-02 10:26:56 +02:00
|
|
|
depends on !BR2_LINUX_KERNEL_LATEST_VERSION
|
|
|
|
depends on !BR2_LINUX_KERNEL_LATEST_CIP_VERSION
|
|
|
|
depends on !BR2_LINUX_KERNEL_LATEST_CIP_RT_VERSION
|
2013-11-11 17:23:23 +01:00
|
|
|
select BR2_PACKAGE_RTAI
|
|
|
|
help
|
|
|
|
RTAI Kernel part.
|
2011-09-17 22:22:58 +02:00
|
|
|
|
2016-11-02 04:15:55 +01:00
|
|
|
#-------------------------------------------------------------------------------
|
|
|
|
# ev3dev Linux drivers
|
|
|
|
config BR2_LINUX_KERNEL_EXT_EV3DEV_LINUX_DRIVERS
|
|
|
|
bool "ev3dev Linux drivers"
|
|
|
|
select BR2_PACKAGE_EV3DEV_LINUX_DRIVERS
|
|
|
|
help
|
|
|
|
Linux drivers for LEGO MINDSTORMS EV3 from the ev3dev project.
|
|
|
|
|
|
|
|
https://github.com/ev3dev/lego-linux-drivers
|
|
|
|
|
2016-09-11 14:38:52 +02:00
|
|
|
#-------------------------------------------------------------------------------
|
2015-01-03 21:01:47 +01:00
|
|
|
# fbtft
|
|
|
|
config BR2_LINUX_KERNEL_EXT_FBTFT
|
|
|
|
bool "FB TFT drivers"
|
|
|
|
select BR2_PACKAGE_FBTFT
|
|
|
|
help
|
|
|
|
Linux Framebuffer drivers for small TFT LCD display modules,
|
2015-09-25 22:30:46 +02:00
|
|
|
e.g. Adafruit PiTFT displays for Raspberry Pi (this extra
|
|
|
|
package is only needed for linux kernels until v3.19, since
|
|
|
|
v4.0 the drivers are included in the staging area).
|
2015-01-03 21:01:47 +01:00
|
|
|
|
|
|
|
To enable fbtft, e.g. for Adafruit 2.8 PiTFT, enable the
|
|
|
|
following kernel configurations:
|
|
|
|
- CONFIG_SPI
|
|
|
|
- CONFIG_GPIOLIB
|
|
|
|
- CONFIG_FB
|
|
|
|
- CONFIG_FB_TFT
|
|
|
|
- CONFIG_FB_TFT_ILI9341
|
|
|
|
|
|
|
|
https://github.com/notro/fbtft
|
|
|
|
|
2016-07-17 14:50:37 +02:00
|
|
|
# aufs-standalone
|
|
|
|
config BR2_LINUX_KERNEL_EXT_AUFS
|
|
|
|
bool "Aufs Filesystem Module patch"
|
|
|
|
select BR2_PACKAGE_AUFS
|
|
|
|
help
|
|
|
|
Aufs is split in two parts: a kernel part and a userspace
|
|
|
|
part. Enabling this option automatically selects the aufs
|
|
|
|
standalone (module) package and patches the Linux kernel
|
|
|
|
built by Buildroot with the aufs kernel part (ie fs/aufs).
|
|
|
|
|
|
|
|
It is important to use the correct branch of aufs-standalone.
|
|
|
|
|
|
|
|
if BR2_LINUX_KERNEL_EXT_AUFS
|
|
|
|
|
|
|
|
choice
|
|
|
|
bool "aufs-standalone series"
|
|
|
|
help
|
|
|
|
Select the major series of this version. This must match the
|
|
|
|
major version of your kernel (e.g. for kernels 3.x, select
|
2020-02-25 13:29:13 +01:00
|
|
|
aufs3.x; for kernels 4.x, select aufs4.x; for kernels 5.x,
|
|
|
|
select aufs5.x ).
|
2016-07-17 14:50:37 +02:00
|
|
|
|
|
|
|
Note: neither aufs1.x nor aufs2.x (both for kernels older than
|
|
|
|
3.x) are supported.
|
|
|
|
|
|
|
|
config BR2_LINUX_KERNEL_EXT_AUFS_SERIES_3
|
|
|
|
bool "aufs3.x"
|
|
|
|
|
|
|
|
config BR2_LINUX_KERNEL_EXT_AUFS_SERIES_4
|
|
|
|
bool "aufs4.x"
|
|
|
|
|
2020-02-25 13:29:13 +01:00
|
|
|
config BR2_LINUX_KERNEL_EXT_AUFS_SERIES_5
|
|
|
|
bool "aufs5.x"
|
|
|
|
|
2016-07-17 14:50:37 +02:00
|
|
|
endchoice
|
|
|
|
|
|
|
|
config BR2_LINUX_KERNEL_EXT_AUFS_SERIES
|
|
|
|
int
|
|
|
|
default 3 if BR2_LINUX_KERNEL_EXT_AUFS_SERIES_3
|
|
|
|
default 4 if BR2_LINUX_KERNEL_EXT_AUFS_SERIES_4
|
2020-02-25 13:29:13 +01:00
|
|
|
default 5 if BR2_LINUX_KERNEL_EXT_AUFS_SERIES_5
|
2016-07-17 14:50:37 +02:00
|
|
|
|
|
|
|
config BR2_LINUX_KERNEL_EXT_AUFS_VERSION
|
|
|
|
string "aufs-standalone version"
|
|
|
|
default ""
|
|
|
|
help
|
2018-04-01 07:08:43 +02:00
|
|
|
The version you choose must match that of your kernel.
|
|
|
|
Usually, the sha1 of the cset you want to use; avoid using a
|
|
|
|
branch name as this yields non-reproducible builds.
|
2016-07-17 14:50:37 +02:00
|
|
|
|
2018-04-01 07:08:43 +02:00
|
|
|
See the following resources to see what versions are
|
|
|
|
available:
|
2016-07-17 14:50:37 +02:00
|
|
|
|
2018-04-01 07:08:43 +02:00
|
|
|
For aufs3.x:
|
|
|
|
https://sourceforge.net/p/aufs/aufs3-standalone/ref/master/branches/
|
|
|
|
For aufs4.x:
|
|
|
|
https://github.com/sfjro/aufs4-standalone/branches/all
|
2020-02-25 13:29:13 +01:00
|
|
|
For aufs5.x:
|
|
|
|
https://github.com/sfjro/aufs5-standalone/branches/all
|
2016-07-17 14:50:37 +02:00
|
|
|
|
|
|
|
endif # aufs
|
|
|
|
|
2022-06-22 12:08:04 +02:00
|
|
|
# kernel extensions from br2-external trees, if any
|
|
|
|
source "$BR2_BASE_DIR/.br2-external.in.linux"
|
|
|
|
|
2011-09-17 22:22:51 +02:00
|
|
|
endmenu
|