Initial commit
Some checks failed
Build Kernel / Build all affected Kernels (push) Has been cancelled
Build all core packages / Build all core packages for selected target (push) Has been cancelled
Build and Push prebuilt tools container / Build and Push all prebuilt containers (push) Has been cancelled
Build Toolchains / Build Toolchains for each target (push) Has been cancelled
Build host tools / Build host tools for linux and macos based systems (push) Has been cancelled
Coverity scan build / Coverity x86/64 build (push) Has been cancelled
Some checks failed
Build Kernel / Build all affected Kernels (push) Has been cancelled
Build all core packages / Build all core packages for selected target (push) Has been cancelled
Build and Push prebuilt tools container / Build and Push all prebuilt containers (push) Has been cancelled
Build Toolchains / Build Toolchains for each target (push) Has been cancelled
Build host tools / Build host tools for linux and macos based systems (push) Has been cancelled
Coverity scan build / Coverity x86/64 build (push) Has been cancelled
This commit is contained in:
17
target/linux/bcm27xx/modules/hwmon.mk
Normal file
17
target/linux/bcm27xx/modules/hwmon.mk
Normal file
@@ -0,0 +1,17 @@
|
||||
# SPDX-License-Identifier: GPL-2.0-only
|
||||
#
|
||||
# Copyright (C) 2019 OpenWrt.org
|
||||
|
||||
define KernelPackage/hwmon-raspberrypi
|
||||
TITLE:=Raspberry Pi voltage monitor
|
||||
KCONFIG:=CONFIG_SENSORS_RASPBERRYPI_HWMON
|
||||
FILES:=$(LINUX_DIR)/drivers/hwmon/raspberrypi-hwmon.ko
|
||||
AUTOLOAD:=$(call AutoLoad,60,raspberrypi-hwmon)
|
||||
$(call AddDepends/hwmon,@TARGET_bcm27xx)
|
||||
endef
|
||||
|
||||
define KernelPackage/hwmon-raspberrypi/description
|
||||
Kernel module for voltage sensor on the Raspberry Pi
|
||||
endef
|
||||
|
||||
$(eval $(call KernelPackage,hwmon-raspberrypi))
|
||||
18
target/linux/bcm27xx/modules/i2c.mk
Normal file
18
target/linux/bcm27xx/modules/i2c.mk
Normal file
@@ -0,0 +1,18 @@
|
||||
# SPDX-License-Identifier: GPL-2.0-only
|
||||
#
|
||||
# Copyright (C) 2019 OpenWrt.org
|
||||
|
||||
I2C_BCM2835_MODULES:=\
|
||||
CONFIG_I2C_BCM2835:drivers/i2c/busses/i2c-bcm2835
|
||||
|
||||
define KernelPackage/i2c-bcm2835
|
||||
$(call i2c_defaults,$(I2C_BCM2835_MODULES),59)
|
||||
TITLE:=Broadcom BCM2835 I2C master controller driver
|
||||
DEPENDS:=@TARGET_bcm27xx +kmod-i2c-core
|
||||
endef
|
||||
|
||||
define KernelPackage/i2c-bcm2835/description
|
||||
This package contains the Broadcom 2835 I2C master controller driver
|
||||
endef
|
||||
|
||||
$(eval $(call KernelPackage,i2c-bcm2835))
|
||||
55
target/linux/bcm27xx/modules/other.mk
Normal file
55
target/linux/bcm27xx/modules/other.mk
Normal file
@@ -0,0 +1,55 @@
|
||||
# SPDX-License-Identifier: GPL-2.0-only
|
||||
#
|
||||
# Copyright (C) 2019 OpenWrt.org
|
||||
|
||||
define KernelPackage/pwm-raspberrypi-poe
|
||||
SUBMENU:=$(OTHER_MENU)
|
||||
TITLE:=Raspberry Pi Firwmware PoE Hat PWM support
|
||||
KCONFIG:= \
|
||||
CONFIG_PWM=y \
|
||||
CONFIG_PWM_RASPBERRYPI_POE
|
||||
FILES:=$(LINUX_DIR)/drivers/pwm/pwm-raspberrypi-poe.ko
|
||||
AUTOLOAD:=$(call AutoLoad,20,pwm-raspberrypi-poe)
|
||||
DEPENDS:=@TARGET_bcm27xx +kmod-hwmon-pwmfan
|
||||
endef
|
||||
|
||||
define KernelPackage/pwm-raspberrypi-poe/description
|
||||
This package provides Raspberry Pi Firwmware PoE Hat PWM support
|
||||
endef
|
||||
|
||||
$(eval $(call KernelPackage,pwm-raspberrypi-poe))
|
||||
|
||||
|
||||
define KernelPackage/smi-bcm2835
|
||||
SUBMENU:=$(OTHER_MENU)
|
||||
TITLE:=BCM2835 SMI driver
|
||||
KCONFIG:=CONFIG_BCM2835_SMI
|
||||
FILES:=$(LINUX_DIR)/drivers/misc/bcm2835_smi.ko
|
||||
AUTOLOAD:=$(call AutoLoad,20,bcm2835_smi)
|
||||
DEPENDS:=@TARGET_bcm27xx
|
||||
endef
|
||||
|
||||
define KernelPackage/smi-bcm2835/description
|
||||
This package contains the Character device driver for Broadcom Secondary
|
||||
Memory Interface
|
||||
endef
|
||||
|
||||
$(eval $(call KernelPackage,smi-bcm2835))
|
||||
|
||||
|
||||
define KernelPackage/smi-bcm2835-dev
|
||||
SUBMENU:=$(OTHER_MENU)
|
||||
TITLE:=BCM2835 SMI device driver
|
||||
KCONFIG:=CONFIG_BCM2835_SMI_DEV
|
||||
FILES:=$(LINUX_DIR)/drivers/char/broadcom/bcm2835_smi_dev.ko
|
||||
AUTOLOAD:=$(call AutoLoad,21,bcm2835_smi_dev)
|
||||
DEPENDS:=@TARGET_bcm27xx +kmod-smi-bcm2835
|
||||
endef
|
||||
|
||||
define KernelPackage/smi-bcm2835-dev/description
|
||||
This driver provides a character device interface (ioctl + read/write) to
|
||||
Broadcom's Secondary Memory interface. The low-level functionality is provided
|
||||
by the SMI driver itself.
|
||||
endef
|
||||
|
||||
$(eval $(call KernelPackage,smi-bcm2835-dev))
|
||||
1088
target/linux/bcm27xx/modules/sound.mk
Normal file
1088
target/linux/bcm27xx/modules/sound.mk
Normal file
File diff suppressed because it is too large
Load Diff
40
target/linux/bcm27xx/modules/spi.mk
Normal file
40
target/linux/bcm27xx/modules/spi.mk
Normal file
@@ -0,0 +1,40 @@
|
||||
# SPDX-License-Identifier: GPL-2.0-only
|
||||
#
|
||||
# Copyright (C) 2019 OpenWrt.org
|
||||
|
||||
define KernelPackage/spi-bcm2835
|
||||
SUBMENU:=$(SPI_MENU)
|
||||
TITLE:=BCM2835 SPI controller driver
|
||||
KCONFIG:=\
|
||||
CONFIG_SPI=y \
|
||||
CONFIG_SPI_BCM2835 \
|
||||
CONFIG_SPI_MASTER=y
|
||||
FILES:=$(LINUX_DIR)/drivers/spi/spi-bcm2835.ko
|
||||
AUTOLOAD:=$(call AutoLoad,89,spi-bcm2835)
|
||||
DEPENDS:=@TARGET_bcm27xx
|
||||
endef
|
||||
|
||||
define KernelPackage/spi-bcm2835/description
|
||||
This package contains the Broadcom 2835 SPI master controller driver
|
||||
endef
|
||||
|
||||
$(eval $(call KernelPackage,spi-bcm2835))
|
||||
|
||||
|
||||
define KernelPackage/spi-bcm2835-aux
|
||||
SUBMENU:=$(SPI_MENU)
|
||||
TITLE:=BCM2835 Aux SPI controller driver
|
||||
KCONFIG:=\
|
||||
CONFIG_SPI=y \
|
||||
CONFIG_SPI_BCM2835AUX \
|
||||
CONFIG_SPI_MASTER=y
|
||||
FILES:=$(LINUX_DIR)/drivers/spi/spi-bcm2835aux.ko
|
||||
AUTOLOAD:=$(call AutoLoad,89,spi-bcm2835aux)
|
||||
DEPENDS:=@TARGET_bcm27xx
|
||||
endef
|
||||
|
||||
define KernelPackage/spi-bcm2835-aux/description
|
||||
This package contains the Broadcom 2835 Aux SPI master controller driver
|
||||
endef
|
||||
|
||||
$(eval $(call KernelPackage,spi-bcm2835-aux))
|
||||
117
target/linux/bcm27xx/modules/video.mk
Normal file
117
target/linux/bcm27xx/modules/video.mk
Normal file
@@ -0,0 +1,117 @@
|
||||
# SPDX-License-Identifier: GPL-2.0-only
|
||||
#
|
||||
# Copyright (C) 2019 OpenWrt.org
|
||||
|
||||
define KernelPackage/camera-bcm2835
|
||||
TITLE:=BCM2835 Camera
|
||||
KCONFIG:= \
|
||||
CONFIG_VIDEO_BCM2835
|
||||
FILES:= \
|
||||
$(LINUX_DIR)/drivers/staging/vc04_services/bcm2835-camera/bcm2835-v4l2.ko
|
||||
AUTOLOAD:=$(call AutoLoad,66,bcm2835-v4l2)
|
||||
$(call AddDepends/video,@TARGET_bcm27xx +kmod-vchiq-mmal-bcm2835 +kmod-video-videobuf2)
|
||||
endef
|
||||
|
||||
define KernelPackage/camera-bcm2835/description
|
||||
Camera host interface devices for Broadcom BCM2835 SoC.
|
||||
This operates over the VCHIQ interface to a service running on VideoCore.
|
||||
endef
|
||||
|
||||
$(eval $(call KernelPackage,camera-bcm2835))
|
||||
|
||||
|
||||
define KernelPackage/codec-bcm2835
|
||||
TITLE:=BCM2835 Video Codec
|
||||
KCONFIG:= \
|
||||
CONFIG_VIDEO_CODEC_BCM2835
|
||||
FILES:= \
|
||||
$(LINUX_DIR)/drivers/staging/vc04_services/bcm2835-codec/bcm2835-codec.ko
|
||||
AUTOLOAD:=$(call AutoLoad,67,bcm2835-codec)
|
||||
$(call AddDepends/video,@TARGET_bcm27xx +kmod-vchiq-mmal-bcm2835 +kmod-video-dma-contig +kmod-video-mem2mem)
|
||||
endef
|
||||
|
||||
define KernelPackage/codec-bcm2835/description
|
||||
V4L2 video codecs for Broadcom BCM2835 SoC.
|
||||
This operates over the VCHIQ interface to a service running on VideoCore.
|
||||
endef
|
||||
|
||||
$(eval $(call KernelPackage,codec-bcm2835))
|
||||
|
||||
|
||||
define KernelPackage/drm-vc4
|
||||
SUBMENU:=$(VIDEO_MENU)
|
||||
TITLE:=Broadcom VC4 Graphics
|
||||
DEPENDS:= \
|
||||
@TARGET_bcm27xx +kmod-drm \
|
||||
+kmod-sound-core \
|
||||
+kmod-sound-soc-core
|
||||
KCONFIG:= \
|
||||
CONFIG_DRM_VC4 \
|
||||
CONFIG_DRM_VC4_HDMI_CEC=y
|
||||
FILES:= \
|
||||
$(LINUX_DIR)/drivers/gpu/drm/display/drm_display_helper.ko \
|
||||
$(LINUX_DIR)/drivers/gpu/drm/drm_dma_helper.ko \
|
||||
$(LINUX_DIR)/drivers/gpu/drm/vc4/vc4.ko \
|
||||
$(LINUX_DIR)/drivers/gpu/drm/drm_kms_helper.ko \
|
||||
$(LINUX_DIR)/drivers/media/cec/core/cec.ko
|
||||
AUTOLOAD:=$(call AutoProbe,vc4)
|
||||
endef
|
||||
|
||||
define KernelPackage/drm-vc4/description
|
||||
Direct Rendering Manager (DRM) support for Broadcom VideoCore IV GPU
|
||||
used in BCM2835, BCM2836 and BCM2837 SoCs (e.g. Raspberry Pi).
|
||||
endef
|
||||
|
||||
$(eval $(call KernelPackage,drm-vc4))
|
||||
|
||||
|
||||
define KernelPackage/isp-bcm2835
|
||||
TITLE:=BCM2835 ISP
|
||||
KCONFIG:= \
|
||||
CONFIG_VIDEO_ISP_BCM2835
|
||||
FILES:= \
|
||||
$(LINUX_DIR)/drivers/staging/vc04_services/bcm2835-isp/bcm2835-isp.ko
|
||||
AUTOLOAD:=$(call AutoLoad,67,bcm2835-isp)
|
||||
$(call AddDepends/video,@TARGET_bcm27xx +kmod-vchiq-mmal-bcm2835 +kmod-video-dma-contig)
|
||||
endef
|
||||
|
||||
define KernelPackage/isp-bcm2835/description
|
||||
V4L2 driver for the Broadcom BCM2835 ISP hardware.
|
||||
This operates over the VCHIQ interface to a service running on VideoCore.
|
||||
endef
|
||||
|
||||
$(eval $(call KernelPackage,isp-bcm2835))
|
||||
|
||||
|
||||
define KernelPackage/vc-sm-cma
|
||||
TITLE:=VideoCore Shared Memory (CMA) driver
|
||||
KCONFIG:= \
|
||||
CONFIG_BCM_VC_SM_CMA
|
||||
FILES:= \
|
||||
$(LINUX_DIR)/drivers/staging/vc04_services/vc-sm-cma/vc-sm-cma.ko
|
||||
$(call AddDepends/video,@TARGET_bcm27xx)
|
||||
endef
|
||||
|
||||
define KernelPackage/vc-sm-cma/description
|
||||
Shared memory interface that supports sharing dmabufs with VideoCore.
|
||||
This operates over the VCHIQ interface to a service running on VideoCore.
|
||||
endef
|
||||
|
||||
$(eval $(call KernelPackage,vc-sm-cma))
|
||||
|
||||
|
||||
define KernelPackage/vchiq-mmal-bcm2835
|
||||
TITLE:=BCM2835 MMAL VCHIQ service
|
||||
KCONFIG:= \
|
||||
CONFIG_BCM2835_VCHIQ_MMAL
|
||||
FILES:= \
|
||||
$(LINUX_DIR)/drivers/staging/vc04_services/vchiq-mmal/bcm2835-mmal-vchiq.ko
|
||||
$(call AddDepends/video,@TARGET_bcm27xx +kmod-vc-sm-cma)
|
||||
endef
|
||||
|
||||
define KernelPackage/vchiq-mmal-bcm2835/description
|
||||
Enables the MMAL API over VCHIQ as used for the
|
||||
majority of the multimedia services on VideoCore.
|
||||
endef
|
||||
|
||||
$(eval $(call KernelPackage,vchiq-mmal-bcm2835))
|
||||
Reference in New Issue
Block a user