Update workflows and configuration to clone OpenWrt repository without depth and checkout specific commit; add zram support packages.
This commit is contained in:
1 parent
2083c79828
commit
4768ba3615
10 files changed
+47
-27
No files matched your search
@@ -32,7 +32,8 @@ jobs:
|
|||||||
- name: "Clone OpenWrt source code"
|
- name: "Clone OpenWrt source code"
|
||||||
run: |
|
run: |
|
||||||
df -hT $PWD
|
df -hT $PWD
|
||||||
git clone --depth=1 --branch "main" https://git.openwrt.org/openwrt/openwrt.git openwrt
|
git clone https://git.openwrt.org/openwrt/openwrt.git openwrt
|
||||||
|
git -C openwrt checkout 00ceb1ed1763f7479df6edf92ffada948f0e7d45
|
||||||
|
|
||||||
- name: Load msm89xx target and packages
|
- name: Load msm89xx target and packages
|
||||||
run: |
|
run: |
|
||||||
|
|||||||
@@ -32,7 +32,8 @@ jobs:
|
|||||||
- name: "Clone OpenWrt source code"
|
- name: "Clone OpenWrt source code"
|
||||||
run: |
|
run: |
|
||||||
df -hT $PWD
|
df -hT $PWD
|
||||||
git clone --depth=1 --branch "main" https://git.openwrt.org/openwrt/openwrt.git openwrt
|
git clone https://git.openwrt.org/openwrt/openwrt.git openwrt
|
||||||
|
git -C openwrt checkout 00ceb1ed1763f7479df6edf92ffada948f0e7d45
|
||||||
|
|
||||||
- name: Load msm89xx target and packages
|
- name: Load msm89xx target and packages
|
||||||
run: |
|
run: |
|
||||||
|
|||||||
@@ -32,7 +32,8 @@ jobs:
|
|||||||
- name: "Clone OpenWrt source code"
|
- name: "Clone OpenWrt source code"
|
||||||
run: |
|
run: |
|
||||||
df -hT $PWD
|
df -hT $PWD
|
||||||
git clone --depth=1 --branch "main" https://git.openwrt.org/openwrt/openwrt.git openwrt
|
git clone https://git.openwrt.org/openwrt/openwrt.git openwrt
|
||||||
|
git -C openwrt checkout 00ceb1ed1763f7479df6edf92ffada948f0e7d45
|
||||||
|
|
||||||
- name: Load msm89xx target and packages
|
- name: Load msm89xx target and packages
|
||||||
run: |
|
run: |
|
||||||
|
|||||||
@@ -32,7 +32,8 @@ jobs:
|
|||||||
- name: "Clone OpenWrt source code"
|
- name: "Clone OpenWrt source code"
|
||||||
run: |
|
run: |
|
||||||
df -hT $PWD
|
df -hT $PWD
|
||||||
git clone --depth=1 --branch "main" https://git.openwrt.org/openwrt/openwrt.git openwrt
|
git clone https://git.openwrt.org/openwrt/openwrt.git openwrt
|
||||||
|
git -C openwrt checkout 00ceb1ed1763f7479df6edf92ffada948f0e7d45
|
||||||
|
|
||||||
- name: Load msm89xx target and packages
|
- name: Load msm89xx target and packages
|
||||||
run: |
|
run: |
|
||||||
|
|||||||
+2
-1
@@ -20,7 +20,8 @@ FROM base AS openwrt
|
|||||||
ENV BRANCH=main
|
ENV BRANCH=main
|
||||||
|
|
||||||
# Clone OpenWrt repository
|
# Clone OpenWrt repository
|
||||||
RUN git clone --depth=1 -b ${BRANCH} https://git.openwrt.org/openwrt/openwrt.git openwrt
|
RUN git clone https://git.openwrt.org/openwrt/openwrt.git openwrt && \
|
||||||
|
git -C openwrt checkout 00ceb1ed1763f7479df6edf92ffada948f0e7d45
|
||||||
|
|
||||||
# Apply patch inside openwrt directory
|
# Apply patch inside openwrt directory
|
||||||
COPY enable_wcn36xx_mac80211.patch .
|
COPY enable_wcn36xx_mac80211.patch .
|
||||||
|
|||||||
@@ -89,4 +89,6 @@ CONFIG_PACKAGE_ucode-mod-math=y
|
|||||||
CONFIG_PACKAGE_uhttpd=y
|
CONFIG_PACKAGE_uhttpd=y
|
||||||
CONFIG_PACKAGE_uhttpd-mod-ubus=y
|
CONFIG_PACKAGE_uhttpd-mod-ubus=y
|
||||||
CONFIG_PACKAGE_wireguard-tools=y
|
CONFIG_PACKAGE_wireguard-tools=y
|
||||||
|
CONFIG_PACKAGE_kmod-zram=y
|
||||||
|
CONFIG_PACKAGE_zram-swap=y
|
||||||
# CONFIG_TARGET_ROOTFS_EXT4FS is not set
|
# CONFIG_TARGET_ROOTFS_EXT4FS is not set
|
||||||
@@ -91,4 +91,6 @@ CONFIG_PACKAGE_ucode-mod-math=y
|
|||||||
CONFIG_PACKAGE_uhttpd=y
|
CONFIG_PACKAGE_uhttpd=y
|
||||||
CONFIG_PACKAGE_uhttpd-mod-ubus=y
|
CONFIG_PACKAGE_uhttpd-mod-ubus=y
|
||||||
CONFIG_PACKAGE_wireguard-tools=y
|
CONFIG_PACKAGE_wireguard-tools=y
|
||||||
|
CONFIG_PACKAGE_kmod-zram=y
|
||||||
|
CONFIG_PACKAGE_zram-swap=y
|
||||||
# CONFIG_TARGET_ROOTFS_EXT4FS is not set
|
# CONFIG_TARGET_ROOTFS_EXT4FS is not set
|
||||||
@@ -91,4 +91,6 @@ CONFIG_PACKAGE_ucode-mod-math=y
|
|||||||
CONFIG_PACKAGE_uhttpd=y
|
CONFIG_PACKAGE_uhttpd=y
|
||||||
CONFIG_PACKAGE_uhttpd-mod-ubus=y
|
CONFIG_PACKAGE_uhttpd-mod-ubus=y
|
||||||
CONFIG_PACKAGE_wireguard-tools=y
|
CONFIG_PACKAGE_wireguard-tools=y
|
||||||
|
CONFIG_PACKAGE_kmod-zram=y
|
||||||
|
CONFIG_PACKAGE_zram-swap=y
|
||||||
# CONFIG_TARGET_ROOTFS_EXT4FS is not set
|
# CONFIG_TARGET_ROOTFS_EXT4FS is not set
|
||||||
@@ -92,4 +92,6 @@ CONFIG_PACKAGE_ucode-mod-math=y
|
|||||||
CONFIG_PACKAGE_uhttpd=y
|
CONFIG_PACKAGE_uhttpd=y
|
||||||
CONFIG_PACKAGE_uhttpd-mod-ubus=y
|
CONFIG_PACKAGE_uhttpd-mod-ubus=y
|
||||||
CONFIG_PACKAGE_wireguard-tools=y
|
CONFIG_PACKAGE_wireguard-tools=y
|
||||||
|
CONFIG_PACKAGE_kmod-zram=y
|
||||||
|
CONFIG_PACKAGE_zram-swap=y
|
||||||
# CONFIG_TARGET_ROOTFS_EXT4FS is not set
|
# CONFIG_TARGET_ROOTFS_EXT4FS is not set
|
||||||
@@ -1,18 +1,16 @@
|
|||||||
diff --git a/oopenwrt/package/kernel/mac80211/ath.mk b/openwrt/package/kernel/mac80211/ath.mk
|
diff --git a/openwrt/package/kernel/mac80211/ath.mk b/openwrt/package/kernel/mac80211/ath.mk
|
||||||
index 5b13b6a..f8c5edf 100644
|
|
||||||
--- a/openwrt/package/kernel/mac80211/ath.mk
|
--- a/openwrt/package/kernel/mac80211/ath.mk
|
||||||
+++ b/openwrt/package/kernel/mac80211/ath.mk
|
+++ b/openwrt/package/kernel/mac80211/ath.mk
|
||||||
@@ -1,6 +1,7 @@
|
@@ -1,6 +1,6 @@
|
||||||
PKG_DRIVERS += \
|
PKG_DRIVERS += \
|
||||||
- ath ath5k ath6kl ath6kl-sdio ath6kl-usb ath9k ath9k-common ath9k-htc ath10k ath10k-smallbuffers \
|
- ath ath5k ath6kl ath6kl-sdio ath6kl-usb ath9k ath9k-common ath9k-htc ath10k ath10k-smallbuffers \
|
||||||
- ath11k ath11k-ahb ath11k-pci ath12k carl9170 owl-loader ar5523 wil6210 qcom-qmi-helpers
|
- ath11k ath11k-ahb ath11k-pci ath12k carl9170 owl-loader ar5523 wil6210 qcom-qmi-helpers
|
||||||
+ ath ath5k ath6kl ath6kl-sdio ath6kl-usb ath9k ath9k-common ath9k-htc ath10k ath10k-sdio ath10k-smallbuffers \
|
+ ath ath5k ath6kl ath6kl-sdio ath6kl-usb ath9k ath9k-common ath9k-htc ath10k ath10k-sdio ath10k-smallbuffers \
|
||||||
+ ath11k ath11k-ahb ath11k-pci ath12k carl9170 owl-loader ar5523 wil6210 wcn36xx qcom-qmi-helpers
|
+ ath11k ath11k-ahb ath11k-pci ath12k carl9170 owl-loader ar5523 wil6210 wcn36xx qcom-qmi-helpers
|
||||||
+
|
|
||||||
|
|
||||||
PKG_CONFIG_DEPENDS += \
|
PKG_CONFIG_DEPENDS += \
|
||||||
CONFIG_PACKAGE_ATH_DEBUG \
|
CONFIG_PACKAGE_ATH_DEBUG \
|
||||||
@@ -25,7 +26,8 @@ ifdef CONFIG_PACKAGE_MAC80211_DEBUGFS
|
@@ -25,7 +25,8 @@
|
||||||
CARL9170_DEBUGFS \
|
CARL9170_DEBUGFS \
|
||||||
ATH5K_DEBUG \
|
ATH5K_DEBUG \
|
||||||
ATH6KL_DEBUG \
|
ATH6KL_DEBUG \
|
||||||
@@ -20,18 +18,18 @@ index 5b13b6a..f8c5edf 100644
|
|||||||
+ WIL6210_DEBUGFS \
|
+ WIL6210_DEBUGFS \
|
||||||
+ WCN36XX_DEBUGFS
|
+ WCN36XX_DEBUGFS
|
||||||
endif
|
endif
|
||||||
|
|
||||||
ifdef CONFIG_PACKAGE_MAC80211_TRACING
|
ifdef CONFIG_PACKAGE_MAC80211_TRACING
|
||||||
@@ -40,7 +42,7 @@ ifdef CONFIG_PACKAGE_MAC80211_TRACING
|
@@ -40,7 +41,7 @@
|
||||||
endif
|
endif
|
||||||
|
|
||||||
config-$(call config_package,qcom-qmi-helpers) += QCOM_QMI_HELPERS
|
config-$(call config_package,qcom-qmi-helpers) += QCOM_QMI_HELPERS
|
||||||
-config-$(call config_package,ath,regular smallbuffers) += ATH_CARDS ATH_COMMON
|
-config-$(call config_package,ath,regular smallbuffers) += ATH_CARDS ATH_COMMON
|
||||||
+config-$(call config_package,ath,regular sdio smallbuffers) += ATH_CARDS ATH_COMMON
|
+config-$(call config_package,ath,regular sdio smallbuffers) += ATH_CARDS ATH_COMMON
|
||||||
config-$(CONFIG_PACKAGE_ATH_DEBUG) += ATH_DEBUG ATH10K_DEBUG ATH11K_DEBUG ATH12K_DEBUG ATH9K_STATION_STATISTICS
|
config-$(CONFIG_PACKAGE_ATH_DEBUG) += ATH_DEBUG ATH10K_DEBUG ATH11K_DEBUG ATH12K_DEBUG ATH9K_STATION_STATISTICS
|
||||||
config-$(CONFIG_PACKAGE_ATH_DFS) += ATH9K_DFS_CERTIFIED ATH10K_DFS_CERTIFIED
|
config-$(CONFIG_PACKAGE_ATH_DFS) += ATH9K_DFS_CERTIFIED ATH10K_DFS_CERTIFIED
|
||||||
config-$(CONFIG_PACKAGE_ATH_SPECTRAL) += ATH9K_COMMON_SPECTRAL ATH10K_SPECTRAL ATH11K_SPECTRAL
|
config-$(CONFIG_PACKAGE_ATH_SPECTRAL) += ATH9K_COMMON_SPECTRAL ATH10K_SPECTRAL ATH11K_SPECTRAL
|
||||||
@@ -50,6 +52,7 @@ config-$(call config_package,ath9k-common) += ATH9K_COMMON
|
@@ -50,6 +51,7 @@
|
||||||
config-$(call config_package,owl-loader) += ATH9K_PCI_NO_EEPROM
|
config-$(call config_package,owl-loader) += ATH9K_PCI_NO_EEPROM
|
||||||
config-$(CONFIG_TARGET_ath79) += ATH9K_AHB
|
config-$(CONFIG_TARGET_ath79) += ATH9K_AHB
|
||||||
config-$(CONFIG_TARGET_ipq40xx) += ATH10K_AHB
|
config-$(CONFIG_TARGET_ipq40xx) += ATH10K_AHB
|
||||||
@@ -39,15 +37,15 @@ index 5b13b6a..f8c5edf 100644
|
|||||||
config-$(CONFIG_PCI) += ATH9K_PCI
|
config-$(CONFIG_PCI) += ATH9K_PCI
|
||||||
config-$(CONFIG_ATH_USER_REGD) += ATH_USER_REGD ATH_REG_DYNAMIC_USER_REG_HINTS
|
config-$(CONFIG_ATH_USER_REGD) += ATH_USER_REGD ATH_REG_DYNAMIC_USER_REG_HINTS
|
||||||
config-$(CONFIG_ATH9K_HWRNG) += ATH9K_HWRNG
|
config-$(CONFIG_ATH9K_HWRNG) += ATH9K_HWRNG
|
||||||
@@ -62,6 +65,7 @@ config-$(CONFIG_ATH11K_THERMAL) += ATH11K_THERMAL
|
@@ -62,6 +64,7 @@
|
||||||
|
|
||||||
config-$(call config_package,ath9k-htc) += ATH9K_HTC
|
config-$(call config_package,ath9k-htc) += ATH9K_HTC
|
||||||
config-$(call config_package,ath10k,regular) += ATH10K ATH10K_PCI
|
config-$(call config_package,ath10k,regular) += ATH10K ATH10K_PCI
|
||||||
+config-$(call config_package,ath10k-sdio,sdio) += ATH10K ATH10K_SDIO
|
+config-$(call config_package,ath10k-sdio,sdio) += ATH10K ATH10K_SDIO
|
||||||
config-$(call config_package,ath10k-smallbuffers,smallbuffers) += ATH10K ATH10K_PCI ATH10K_SMALLBUFFERS
|
config-$(call config_package,ath10k-smallbuffers,smallbuffers) += ATH10K ATH10K_PCI ATH10K_SMALLBUFFERS
|
||||||
config-$(call config_package,ath11k) += ATH11K
|
config-$(call config_package,ath11k) += ATH11K
|
||||||
config-$(call config_package,ath11k-ahb) += ATH11K_AHB
|
config-$(call config_package,ath11k-ahb) += ATH11K_AHB
|
||||||
@@ -140,7 +144,7 @@ endef
|
@@ -140,7 +143,7 @@
|
||||||
define KernelPackage/ath
|
define KernelPackage/ath
|
||||||
$(call KernelPackage/mac80211/Default)
|
$(call KernelPackage/mac80211/Default)
|
||||||
TITLE:=Atheros common driver part
|
TITLE:=Atheros common driver part
|
||||||
@@ -56,16 +54,25 @@ index 5b13b6a..f8c5edf 100644
|
|||||||
FILES:=$(PKG_BUILD_DIR)/drivers/net/wireless/ath/ath.ko
|
FILES:=$(PKG_BUILD_DIR)/drivers/net/wireless/ath/ath.ko
|
||||||
MENU:=1
|
MENU:=1
|
||||||
endef
|
endef
|
||||||
@@ -294,10 +298,30 @@ define KernelPackage/ath10k/config
|
@@ -295,11 +298,12 @@
|
||||||
|
config ATH10K_LEDS
|
||||||
|
bool "Enable LED support"
|
||||||
|
default y
|
||||||
|
- depends on PACKAGE_kmod-ath10k || PACKAGE_kmod-ath10k-smallbuffers
|
||||||
|
+ depends on PACKAGE_kmod-ath10k || PACKAGE_kmod-ath10k-sdio || PACKAGE_kmod-ath10k-smallbuffers
|
||||||
|
|
||||||
config ATH10K_THERMAL
|
config ATH10K_THERMAL
|
||||||
bool "Enable thermal sensors and throttling support"
|
bool "Enable thermal sensors and throttling support"
|
||||||
- depends on PACKAGE_kmod-ath10k || PACKAGE_kmod-ath10k-smallbuffers
|
- depends on PACKAGE_kmod-ath10k || PACKAGE_kmod-ath10k-smallbuffers
|
||||||
+ default y
|
+ default y
|
||||||
+ depends on PACKAGE_kmod-ath10k || PACKAGE_kmod-ath10k-sdio || PACKAGE_kmod-ath10k-smallbuffers
|
+ depends on PACKAGE_kmod-ath10k || PACKAGE_kmod-ath10k-sdio || PACKAGE_kmod-ath10k-smallbuffers
|
||||||
|
|
||||||
endef
|
endef
|
||||||
|
|
||||||
|
@@ -310,6 +314,25 @@
|
||||||
|
PROVIDES:=@kmod-ath10k-any
|
||||||
|
endef
|
||||||
|
|
||||||
+define KernelPackage/ath10k-sdio
|
+define KernelPackage/ath10k-sdio
|
||||||
+ $(call KernelPackage/mac80211/Default)
|
+ $(call KernelPackage/mac80211/Default)
|
||||||
+ TITLE:=Atheros 802.11ac SDIO wireless cards support
|
+ TITLE:=Atheros 802.11ac SDIO wireless cards support
|
||||||
@@ -85,13 +92,13 @@ index 5b13b6a..f8c5edf 100644
|
|||||||
+Atheros IEEE 802.11ac family of chipsets with SDIO bus.
|
+Atheros IEEE 802.11ac family of chipsets with SDIO bus.
|
||||||
+endef
|
+endef
|
||||||
+
|
+
|
||||||
define KernelPackage/ath10k-smallbuffers
|
define KernelPackage/ath11k
|
||||||
$(call KernelPackage/ath10k)
|
$(call KernelPackage/mac80211/Default)
|
||||||
TITLE+= (small buffers for low-RAM devices)
|
TITLE:=Qualcomm 802.11ax wireless chipset support (common code)
|
||||||
@@ -356,6 +380,20 @@ This module adds support for Qualcomm Technologies 802.11ax family of
|
@@ -362,6 +385,20 @@
|
||||||
chipsets with PCI bus.
|
chipsets with PCI bus.
|
||||||
endef
|
endef
|
||||||
|
|
||||||
+define KernelPackage/wcn36xx
|
+define KernelPackage/wcn36xx
|
||||||
+ $(call KernelPackage/mac80211/Default)
|
+ $(call KernelPackage/mac80211/Default)
|
||||||
+ TITLE:=Qualcomm Atheros WCN3660/3680 support
|
+ TITLE:=Qualcomm Atheros WCN3660/3680 support
|
||||||
|
|||||||
Reference in new issue
Block a user