forked from openwrt/openwrt
-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #1 from robimarko/ipq807x-5.15-pr
Ipq807x 5.15 pr
- Loading branch information
Showing
367 changed files
with
72,820 additions
and
12 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,86 @@ | ||
name: Build IPQ807x | ||
on: [push] | ||
|
||
jobs: | ||
build: | ||
name: Prepare and build IPQ807x generic images | ||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v2 | ||
|
||
- name: Update and install feeds | ||
run: | | ||
./scripts/feeds update -a | ||
./scripts/feeds install -a | ||
- name: Generate config for IPQ807x Generic | ||
run: | | ||
echo "CONFIG_TARGET_ipq807x=y" > .config | ||
echo "CONFIG_TARGET_ipq807x_generic=y\n" >> .config | ||
echo "CONFIG_TARGET_MULTI_PROFILE=y\n" >> .config | ||
echo "CONFIG_TARGET_ALL_PROFILES=y\n" >> .config | ||
echo "CONFIG_TARGET_PER_DEVICE_ROOTFS=y\n" >> .config | ||
echo "CONFIG_TARGET_ROOTFS_INITRAMFS=y\n" >> .config | ||
echo "CONFIG_TARGET_INITRAMFS_COMPRESSION_ZSTD=y\n" >> .config | ||
echo "CONFIG_PACKAGE_luci=y\n" >> .config | ||
echo "CONFIG_PACKAGE_kmod-qca-nss-dp=y\n" >> .config | ||
echo "CONFIG_PACKAGE_qca-ssdk-shell=y\n" >> .config | ||
echo "CONFIG_PACKAGE_wpad-basic-wolfssl=m\n" >> .config | ||
echo "CONFIG_PACKAGE_wpad-wolfssl=y\n" >> .config | ||
make defconfig | ||
- name: Download package sources | ||
run: make download V=s | ||
|
||
- name: Build tools | ||
run: | | ||
make tools/install -j$(nproc) V=s || \ | ||
make tools/install V=s | ||
- name: Build toolchain | ||
run: | | ||
make toolchain/install -j$(nproc) V=s || \ | ||
make toolchain/install V=s | ||
- name: Build target images | ||
run: | | ||
make -j$(nproc) V=s || \ | ||
make V=s | ||
- name: TAR output | ||
run: tar -cvf ipq807xx-images.tar bin/targets/ipq807x/generic | ||
|
||
- name: Upload artifacts | ||
uses: actions/upload-artifact@v2 | ||
with: | ||
name: ipq807x-images | ||
path: ipq807xx-images.tar | ||
|
||
release: | ||
name: Make a release | ||
runs-on: ubuntu-latest | ||
needs: build | ||
|
||
steps: | ||
- name: Download the image artifacts | ||
uses: actions/download-artifact@v2 | ||
with: | ||
name: ipq807x-images | ||
|
||
- name: Extract the image artifacts | ||
run: tar xf ipq807xx-images.tar | ||
|
||
- name: Get the current date | ||
run: echo "NOW=$(date +%F)" >> $GITHUB_ENV | ||
|
||
- name: Create a release | ||
uses: "lauravuo/action-automatic-releases@test-changes" | ||
with: | ||
repo_token: "${{ secrets.GITHUB_TOKEN }}" | ||
prerelease: true | ||
title: "Updated prebuilt images ${{ env.NOW }}" | ||
automatic_release_tag: "ipq807x-${{ env.NOW }}" | ||
auto_generate_release_notes: true | ||
files: bin/targets/ipq807x/generic/* |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
[ -e /etc/config/ubootenv ] && exit 0 | ||
|
||
touch /etc/config/ubootenv | ||
|
||
. /lib/uboot-envtools.sh | ||
. /lib/functions.sh | ||
|
||
board=$(board_name) | ||
|
||
case "$board" in | ||
edgecore,eap102) | ||
idx="$(find_mtd_index 0:appsblenv)" | ||
[ -n "$idx" ] && \ | ||
ubootenv_add_uci_config "/dev/mtd$idx" "0x0" "0x10000" "0x10000" "1" | ||
;; | ||
edimax,cax1800|\ | ||
redmi,ax6|\ | ||
xiaomi,ax3600|\ | ||
xiaomi,ax9000) | ||
idx="$(find_mtd_index 0:appsblenv)" | ||
[ -n "$idx" ] && \ | ||
ubootenv_add_uci_config "/dev/mtd$idx" "0x0" "0x10000" "0x20000" | ||
;; | ||
qnap,301w) | ||
idx="$(find_mtd_index 0:appsblenv)" | ||
[ -n "$idx" ] && \ | ||
ubootenv_add_uci_config "/dev/mtd$idx" "0x0" "0x20000" "0x20000" "1" | ||
;; | ||
esac | ||
|
||
config_load ubootenv | ||
config_foreach ubootenv_add_app_config ubootenv | ||
|
||
exit 0 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,74 @@ | ||
# | ||
# Copyright (C) 2021 OpenWrt.org | ||
# | ||
# This is free software, licensed under the GNU General Public License v2. | ||
# See /LICENSE for more information. | ||
# | ||
|
||
include $(TOPDIR)/rules.mk | ||
|
||
PKG_NAME:=ath11k-firmware | ||
PKG_SOURCE_DATE:=2022-03-04 | ||
PKG_SOURCE_VERSION:=4abc7856e26618a9b7a70f24d7f61e844f160e17 | ||
PKG_MIRROR_HASH:=7fa0f1d56e951a9351826710729312ca4d6a18866cb22d0cbaff49c628e75902 | ||
PKG_RELEASE:=$(AUTORELEASE) | ||
|
||
PKG_SOURCE_PROTO:=git | ||
PKG_SOURCE_URL:=https://github.com/quic/upstream-wifi-fw.git | ||
|
||
PKG_LICENSE_FILES:=ath11k-firmware/LICENSE.md | ||
|
||
PKG_MAINTAINER:=Robert Marko <[email protected]> | ||
|
||
include $(INCLUDE_DIR)/package.mk | ||
|
||
define Package/ath11k-firmware-default | ||
SECTION:=firmware | ||
CATEGORY:=Firmware | ||
URL:=$(PKG_SOURCE_URL) | ||
DEPENDS:= | ||
endef | ||
|
||
define Package/ath11k-firmware-ipq6018 | ||
$(Package/ath11k-firmware-default) | ||
TITLE:=ath11k firmware for IPQ6018 devices | ||
endef | ||
|
||
define Package/ath11k-firmware-ipq8074 | ||
$(Package/ath11k-firmware-default) | ||
TITLE:=ath11k firmware for IPQ8074 devices | ||
endef | ||
|
||
define Package/ath11k-firmware-qcn9074 | ||
$(Package/ath11k-firmware-default) | ||
TITLE:=ath11k firmware for QCN9074 devices | ||
endef | ||
|
||
define Build/Compile | ||
|
||
endef | ||
|
||
define Package/ath11k-firmware-ipq6018/install | ||
$(INSTALL_DIR) $(1)/lib/firmware/IPQ6018 | ||
$(INSTALL_DATA) \ | ||
$(PKG_BUILD_DIR)/ath11k-firmware/IPQ6018/hw1.0/2.5.0.1/WLAN.HK.2.5.0.1-01208-QCAHKSWPL_SILICONZ-1/* \ | ||
$(1)/lib/firmware/IPQ6018/ | ||
endef | ||
|
||
define Package/ath11k-firmware-ipq8074/install | ||
$(INSTALL_DIR) $(1)/lib/firmware/IPQ8074 | ||
$(INSTALL_DATA) \ | ||
$(PKG_BUILD_DIR)/ath11k-firmware/IPQ8074/hw2.0/2.5.0.1/WLAN.HK.2.5.0.1-01208-QCAHKSWPL_SILICONZ-1/* \ | ||
$(1)/lib/firmware/IPQ8074/ | ||
endef | ||
|
||
define Package/ath11k-firmware-qcn9074/install | ||
$(INSTALL_DIR) $(1)/lib/firmware/ath11k/QCN9074/hw1.0 | ||
$(INSTALL_DATA) \ | ||
$(PKG_BUILD_DIR)/ath11k-firmware/QCN9074/hw1.0/2.5.0.1/WLAN.HK.2.5.0.1-01208-QCAHKSWPL_SILICONZ-1/* \ | ||
$(1)/lib/firmware/ath11k/QCN9074/hw1.0/ | ||
endef | ||
|
||
$(eval $(call BuildPackage,ath11k-firmware-ipq6018)) | ||
$(eval $(call BuildPackage,ath11k-firmware-ipq8074)) | ||
$(eval $(call BuildPackage,ath11k-firmware-qcn9074)) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -12,11 +12,12 @@ PKG_NAME:=mac80211 | |
|
||
PKG_VERSION:=5.15.33-1 | ||
PKG_RELEASE:=1 | ||
PKG_SOURCE_URL:=@KERNEL/linux/kernel/projects/backports/stable/v5.15.33/ | ||
PKG_HASH:=1b6b3bded4c81814ebebe2d194c2f8966d2399005b85ebb0557285b6e73f5422 | ||
PKG_SOURCE_URL:=https://github.com/robimarko/wireless-backport-releases.git | ||
PKG_SOURCE_PROTO:=git | ||
PKG_SOURCE_DATE:=2022-05-21 | ||
PKG_SOURCE_VERSION:=7aa1df4f57570a0c148165f5aa869b289bfcd72f | ||
PKG_MIRROR_HASH:=e8b3462d26b4ec02e618a52e7d02a2b9a8d33e54e3d7719ba29defb1cf9d1c61 | ||
|
||
PKG_SOURCE:=backports-$(PKG_VERSION).tar.xz | ||
PKG_BUILD_DIR:=$(KERNEL_BUILD_DIR)/backports-$(PKG_VERSION) | ||
PKG_BUILD_PARALLEL:=1 | ||
|
||
PKG_MAINTAINER:=Felix Fietkau <[email protected]> | ||
|
Oops, something went wrong.