Skip to content
This repository has been archived by the owner on Jan 23, 2025. It is now read-only.

Commit

Permalink
OpenWrt 24.10.0-rc1
Browse files Browse the repository at this point in the history
Signed-off-by: sbwml <[email protected]>
  • Loading branch information
sbwml committed Dec 2, 2024
1 parent 80a39c2 commit 7fc2f55
Show file tree
Hide file tree
Showing 10 changed files with 117 additions and 7 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/build-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,10 +17,10 @@ on:
version:
description: 'Select the build version'
required: true
default: 'snapshot-24.10'
default: 'release'
type: choice
options:
# - 'release'
- 'release'
- 'snapshot-24.10'
ccache:
description: 'Enable ccache (Use Cache to speed up next build)'
Expand Down
3 changes: 0 additions & 3 deletions openwrt/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -84,8 +84,6 @@ if [ -z "$1" ] || [ "$2" != "nanopi-r4s" -a "$2" != "nanopi-r5s" -a "$2" != "x86
exit 1
fi

[ "$1" = "rc2" ] && echo -e "\n${RED_COLOR}openwrt-24.10 release build is not available yet.${RES}\n" && exit 0

# Source branch
if [ "$1" = "dev" ]; then
export branch=openwrt-24.10
Expand Down Expand Up @@ -177,7 +175,6 @@ git clone https://$github/immortalwrt/packages master/immortalwrt_packages --dep

if [ -d openwrt ]; then
cd openwrt
echo "1730409337" > version.date # OpenWrt v24.10: set branch defaults
curl -Os $mirror/openwrt/patch/key.tar.gz && tar zxf key.tar.gz && rm -f key.tar.gz
else
echo -e "${RED_COLOR}Failed to download source code${RES}"
Expand Down
9 changes: 9 additions & 0 deletions openwrt/patch/openwrt-6.x/modules/crypto.mk
Original file line number Diff line number Diff line change
Expand Up @@ -249,6 +249,15 @@ endef

$(eval $(call KernelPackage,crypto-echainiv))

define KernelPackage/crypto-engine
TITLE:=Crypto engine
KCONFIG:=CONFIG_CRYPTO_ENGINE
FILES:=$(LINUX_DIR)/crypto/crypto_engine.ko
AUTOLOAD:=$(call AutoLoad,09,crypto_engine)
$(call AddDepends/crypto, +kmod-crypto-rsa +kmod-crypto-kpp)
endef

$(eval $(call KernelPackage,crypto-engine))

define KernelPackage/crypto-essiv
TITLE:=ESSIV support for block encryption
Expand Down
32 changes: 32 additions & 0 deletions openwrt/patch/openwrt-6.x/modules/iio.mk
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,38 @@ endef
$(eval $(call KernelPackage,iio-kfifo-buf))


define KernelPackage/industrialio-hw-consumer
TITLE:=Provides a bonding way to an other device in hardware
KCONFIG:=CONFIG_IIO_BUFFER_HW_CONSUMER
FILES:=$(LINUX_DIR)/drivers/iio/buffer/industrialio-hw-consumer.ko
AUTOLOAD:=$(call AutoLoad,55,industrialio-hw-consumer)
$(call AddDepends/iio,+kmod-iio-kfifo-buf)
endef

define KernelPackage/industrialio-hw-consumer/description
Provides a way to bonding when an IIO device has a direct connection
to another device in hardware. In this case buffers for data transfers
are handled by hardware.
endef

$(eval $(call KernelPackage,industrialio-hw-consumer))


define KernelPackage/industrialio-buffer-cb
TITLE:=Provides callback buffer used for push in-kernel interfaces
KCONFIG:=CONFIG_IIO_BUFFER_CB
FILES:=$(LINUX_DIR)/drivers/iio/buffer/industrialio-buffer-cb.ko
AUTOLOAD:=$(call AutoLoad,55,industrialio-triggered-buffer-cb)
$(call AddDepends/iio)
endef

define KernelPackage/industrialio-buffer-cb/description
Should be selected by any drivers that do in-kernel push usage.
endef

$(eval $(call KernelPackage,industrialio-buffer-cb))


define KernelPackage/industrialio-triggered-buffer
TITLE:=Provides helper functions for setting up triggered buffers.
DEPENDS:=+kmod-iio-kfifo-buf
Expand Down
18 changes: 18 additions & 0 deletions openwrt/patch/openwrt-6.x/modules/netsupport.mk
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,24 @@ endef
$(eval $(call KernelPackage,atmtcp))


define KernelPackage/appletalk
SUBMENU:=$(NETWORK_SUPPORT_MENU)
TITLE:=Appletalk protocol support
KCONFIG:= \
CONFIG_ATALK \
CONFIG_DEV_APPLETALK \
CONFIG_IPDDP=n
FILES:=$(LINUX_DIR)/net/appletalk/appletalk.ko
AUTOLOAD:=$(call AutoLoad,40,appletalk)
endef

define KernelPackage/appletalk/description
Kernel module for AppleTalk protocol.
endef

$(eval $(call KernelPackage,appletalk))


define KernelPackage/bonding
SUBMENU:=$(NETWORK_SUPPORT_MENU)
TITLE:=Ethernet bonding driver
Expand Down
1 change: 1 addition & 0 deletions openwrt/patch/openwrt-6.x/modules/other.mk
Original file line number Diff line number Diff line change
Expand Up @@ -962,6 +962,7 @@ define KernelPackage/thermal
CONFIG_THERMAL=y \
CONFIG_THERMAL_OF=y \
CONFIG_CPU_THERMAL=y \
CONFIG_DEVFREQ_THERMAL=n \
CONFIG_THERMAL_DEFAULT_GOV_STEP_WISE=y \
CONFIG_THERMAL_DEFAULT_GOV_FAIR_SHARE=n \
CONFIG_THERMAL_DEFAULT_GOV_USER_SPACE=n \
Expand Down
11 changes: 11 additions & 0 deletions openwrt/patch/openwrt-6.x/modules/sound.mk
Original file line number Diff line number Diff line change
Expand Up @@ -314,6 +314,17 @@ endef
$(eval $(call KernelPackage,sound-soc-spdif))


define KernelPackage/sound-soc-dmic
TITLE:=Generic Digital Microphone CODEC
KCONFIG:=CONFIG_SND_SOC_DMIC
FILES:=$(LINUX_DIR)/sound/soc/codecs/snd-soc-dmic.ko
AUTOLOAD:=$(call AutoProbe,snd-soc-dmic)
$(call AddDepends/sound,+kmod-sound-soc-core)
endef

$(eval $(call KernelPackage,sound-soc-dmic))


define KernelPackage/pcspkr
DEPENDS:=@TARGET_x86 +kmod-input-core
TITLE:=PC speaker support
Expand Down
1 change: 1 addition & 0 deletions openwrt/patch/openwrt-6.x/modules/usb.mk
Original file line number Diff line number Diff line change
Expand Up @@ -576,6 +576,7 @@ define KernelPackage/usb-audio
CONFIG_SND_USB_AUDIO
$(call AddDepends/usb)
$(call AddDepends/sound)
DEPENDS+=+kmod-media-controller
FILES:= \
$(LINUX_DIR)/sound/usb/snd-usbmidi-lib.ko \
$(LINUX_DIR)/sound/usb/snd-usb-audio.ko
Expand Down
44 changes: 42 additions & 2 deletions openwrt/patch/openwrt-6.x/modules/video.mk
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,28 @@ V4L2_DIR=v4l2-core
V4L2_USB_DIR=usb
V4L2_MEM2MEM_DIR=platform

#
# Media
#
define KernelPackage/media-controller
SUBMENU:=$(VIDEO_MENU)
TITLE:=Media Controller API
KCONFIG:= \
CONFIG_MEDIA_SUPPORT \
CONFIG_MEDIA_CONTROLLER=y
FILES:= \
$(LINUX_DIR)/drivers/media/mc/mc.ko
AUTOLOAD:=$(call AutoProbe,mc)
endef

define KernelPackage/media-controller/description
Kernel modules for media controller API used to query media devices
internal topology and configure it dynamically.
endef

$(eval $(call KernelPackage,media-controller))


#
# Video Display
#
Expand Down Expand Up @@ -692,9 +714,8 @@ $(eval $(call KernelPackage,drm-radeon))
define KernelPackage/video-core
SUBMENU:=$(VIDEO_MENU)
TITLE=Video4Linux support
DEPENDS:=+PACKAGE_kmod-i2c-core:kmod-i2c-core
DEPENDS:=+PACKAGE_kmod-i2c-core:kmod-i2c-core +kmod-media-controller
KCONFIG:= \
CONFIG_MEDIA_SUPPORT \
CONFIG_MEDIA_CAMERA_SUPPORT=y \
CONFIG_VIDEO_DEV \
CONFIG_V4L_PLATFORM_DRIVERS=y \
Expand Down Expand Up @@ -750,6 +771,25 @@ endef

$(eval $(call KernelPackage,video-videobuf2))

define KernelPackage/video-async
TITLE:=V4L2 ASYNC support
KCONFIG:=CONFIG_V4L2_ASYNC
FILES:=$(LINUX_DIR)/drivers/media/$(V4L2_DIR)/v4l2-async.ko
$(call AddDepends/video)
AUTOLOAD:=$(call AutoProbe,v4l2-async)
endef

$(eval $(call KernelPackage,video-async))

define KernelPackage/video-fwnode
TITLE:=V4L2 FWNODE support
KCONFIG:=CONFIG_V4L2_FWNODE
FILES:=$(LINUX_DIR)/drivers/media/$(V4L2_DIR)/v4l2-fwnode.ko
$(call AddDepends/video,+kmod-video-async)
AUTOLOAD:=$(call AutoProbe,v4l2-fwnode)
endef

$(eval $(call KernelPackage,video-fwnode))

define KernelPackage/video-cpia2
TITLE:=CPIA2 video driver
Expand Down
1 change: 1 addition & 0 deletions tags/v24
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
24.10.0-rc1

0 comments on commit 7fc2f55

Please sign in to comment.