Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
17 changes: 14 additions & 3 deletions .github/workflows/w1700k.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ on:

env:
REMOTE_REPOSITORY: danpawlik/openwrt
REMOTE_BRANCH: w1700k
REMOTE_BRANCH: w1700k-npu
RELEASE_PREFIX: airoha

jobs:
Expand Down Expand Up @@ -53,14 +53,23 @@ jobs:
./scripts/feeds update -a
./scripts/feeds install -a

# NOTE: something seems to be not right after
# https://github.com/openwrt/openwrt/compare/4d653973de0eb6254d7c343de58de9b632b26ebe..37ebcb6c22ea8ef410d1dd9604ae8a77340fe32c
# Include removed packages.
# NOTE: Since https://github.com/openwrt/openwrt/pull/22151, we changed
# way to run the system. Now it would be using chainload.
# To bootstrap the router, see: https://github.com/hurrian/w1700k-ubi-installer
# then in the system, push the firmware and just do: sysupgrade --force firmware.bin
- name: Configure firmware image
run: |
curl -SL https://raw.githubusercontent.com/danpawlik/openwrt-builder/master/configs/airoha/an7581/gemtek_w1700k > .config ;
curl -SL https://raw.githubusercontent.com/danpawlik/openwrt-builder/master/configs/airoha/an7581/gemtek_w1700k_chainload > .config ;
curl -SL https://raw.githubusercontent.com/danpawlik/openwrt-builder/master/configs/common/dumb_ap >> .config ;
curl -SL https://raw.githubusercontent.com/danpawlik/openwrt-builder/master/configs/common/snapshot >> .config ;
curl -SL https://raw.githubusercontent.com/danpawlik/openwrt-builder/master/configs/common/mlo >> .config;
curl -SL https://raw.githubusercontent.com/danpawlik/openwrt-builder/master/configs/common/optimize >> .config ;
echo "CONFIG_PACKAGE_librespeed-go=y" >> .config
echo "CONFIG_PACKAGE_kmod-phy-realtek=y" >> .config
echo "CONFIG_PACKAGE_rtl8261n-firmware=y" >> .config

- name: Run defconfig
run:
Expand Down Expand Up @@ -103,10 +112,12 @@ jobs:
with:
files: bin/targets/airoha/an7581/*
tag_name: ${{ env.RELEASE_PREFIX }}-${{ env.REMOTE_BRANCH }}-${{ env.RELEASE_DATE }}
name: OpenWrt Quantum Fiber W1700k - vanila - ${{ env.REMOTE_BRANCH }} - ${{ env.RELEASE_DATE }}
name: OpenWrt Quantum Fiber W1700k - vanilla with bl chainload - ${{ env.REMOTE_BRANCH }} - ${{ env.RELEASE_DATE }}
body: |
Updated prebuilt images for ${{ env.RELEASE_DATE }}
Build Commit: ${{ needs.check_commits.outputs.latest_commit_sha }}
Uses also chainload proposed in https://github.com/openwrt/openwrt/pull/22151.
To bootstrap the device, use: https://github.com/hurrian/w1700k-ubi-installer

- name: Clean up old releases
uses: dev-drprasad/delete-older-releases@master
Expand Down
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM fedora:42
FROM fedora:43

RUN yum update -y && dnf -y group install development-tools

Expand Down
11 changes: 11 additions & 0 deletions configs/airoha/an7581/gemtek_w1700k_chainload
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
#
# curl -SL https://raw.githubusercontent.com/danpawlik/openwrt-builder/master/configs/airoha/an7581/gemtek_w1700k_chainload > .config
#

CONFIG_TARGET_airoha=y
CONFIG_TARGET_airoha_an7581=y
CONFIG_TARGET_airoha_an7581_DEVICE_gemtek_w1700k-ubi=y
CONFIG_PACKAGE_u-boot-an7581_chainload=y

# enable HW crypto acceleration
CONFIG_PACKAGE_kmod-crypto-hw-eip93=y
1 change: 1 addition & 0 deletions configs/common/dumb_ap
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ CONFIG_PACKAGE_irqbalance=y
CONFIG_PACKAGE_luci-app-irqbalance=y
# CONFIG_PACKAGE_fping=y
# CONFIG_PACKAGE_coreutils=y
CONFIG_PACKAGE_tmux=y

# attendedsysupgrade / owut
CONFIG_PACKAGE_owut=y
Expand Down
18 changes: 12 additions & 6 deletions configs/common/main-router
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@ CONFIG_PACKAGE_ethtool-full=y
CONFIG_PACKAGE_tc-full=y
# CONFIG_PACKAGE_fping=y
# CONFIG_PACKAGE_coreutils=y
CONFIG_PACKAGE_tmux=y

# attendedsysupgrade / owut
CONFIG_PACKAGE_owut=y
Expand Down Expand Up @@ -87,22 +88,22 @@ CONFIG_PACKAGE_collectd-mod-ping=y
CONFIG_PACKAGE_irqbalance=y
CONFIG_PACKAGE_luci-app-irqbalance=y

# SQM
# SQM - remove one or all via rc.local
CONFIG_PACKAGE_luci-app-sqm=y
CONFIG_PACKAGE_sqm-scripts=y
CONFIG_PACKAGE_ip6tables-nft=y

# just additional kmods for sqm-scripts - just in case
CONFIG_PACKAGE_kmod-ipt-core=y
CONFIG_PACKAGE_kmod-nft-compat=y
CONFIG_PACKAGE_kmod-ipt-ipopt=y

# Qosify
CONFIG_PACKAGE_qosify=y
CONFIG_PACKAGE_kmod-ifb=y
CONFIG_PACKAGE_kmod-sched-bpf=y
CONFIG_PACKAGE_kmod-sched-cake=y

# just additional kmods for sqm-scripts - just in case
CONFIG_PACKAGE_kmod-ipt-core=y
CONFIG_PACKAGE_kmod-nft-compat=y
CONFIG_PACKAGE_kmod-ipt-ipopt=y

# just additional kmods for qosmate - just in case
CONFIG_PACKAGE_ip-full=y
CONFIG_PACKAGE_kmod-sched=y
Expand All @@ -120,6 +121,11 @@ CONFIG_PACKAGE_ddns-scripts=y
# do not disable firewall on dumb ap's.
CONFIG_PACKAGE_bridger=y

# IGMPv3 and MLDv2 multicast proxy
CONFIG_PACKAGE_omcproxy=y
CONFIG_PACKAGE_luci-app-omcproxy=y


# language
CONFIG_LUCI_LANG_pl=y

Expand Down
5 changes: 3 additions & 2 deletions configs/common/openssl
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,8 @@ CONFIG_PACKAGE_libopenssl-devcrypto=y
# CONFIG_PACKAGE_libopenssl-afalg_sync is not set

### Force add /dev/crypto into libcrypto
# CONFIG_OPENSSL_ENGINE_BUILTIN=y
# CONFIG_OPENSSL_ENGINE_BUILTIN_DEVCRYPTO=y
CONFIG_OPENSSL_ENGINE_BUILTIN=y
CONFIG_OPENSSL_ENGINE_BUILTIN_DEVCRYPTO=y
CONFIG_OPENSSL_ENGINE_BUILTIN_AFALG=y

#### replace mbedtls with openssl - remember to leave commented "is not set" or remove it!
3 changes: 3 additions & 0 deletions configs/common/sfp
Original file line number Diff line number Diff line change
Expand Up @@ -5,3 +5,6 @@ CONFIG_PACKAGE_dtc=y
CONFIG_PACKAGE_kmod-phy-realtek=y
CONFIG_PACKAGE_kmod-phy-rtl8261n=y
CONFIG_PACKAGE_kmod-phy-aquantia=y
CONFIG_PACKAGE_kmod-phy-motorcomm=y

CONFIG_PACKAGE_rtl8261n-firmware=y
11 changes: 0 additions & 11 deletions settings-configs/BPI-R4/wireless-mlo-openwrt
Original file line number Diff line number Diff line change
Expand Up @@ -10,16 +10,6 @@ config wifi-device 'radio0'
option country 'DE'
option cell_density '0'

config wifi-iface 'default_radio0'
option device 'radio0'
option network 'lan'
option mode 'ap'
option ssid 'Test_2G'
option encryption 'psk2+ccmp'
option key 'test1234test'
option wnm_sleep_mode_no_keys '1'
option bss_transition '1'

config wifi-device 'radio1'
option type 'mac80211'
option path 'soc/11300000.pcie/pci0000:00/0000:00:00.0/0000:01:00.0'
Expand All @@ -42,7 +32,6 @@ config wifi-device 'radio2'
option country 'DE'
option cell_density '0'


config wifi-iface 'wifinet0'
list device 'radio0'
list device 'radio1'
Expand Down
24 changes: 24 additions & 0 deletions settings-configs/w1700k-dumb-ap/attendedsysupgrade
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@

config server 'server'
option url 'https://sysupgrade.openwrt.org'

config client 'client'
option upgrade_packages '1'
option auto_search '0'
option advanced_mode '0'

# Example configuration for 'owut'. The option names are the same
# as those used on the command line, with all '-' dashes replaced by
# '_' underscores. Use 'owut --help' to see more.

config owut 'owut'
# option verbosity 0
# option keep true
# option init_script '/root/data/my-init-script.sh'
# option image '/tmp/my-firmware-img.bin'
# option rootfs_size 256
# option pre_install '/etc/owut.d/pre-install.sh'
# option poll_interval 10000 # In milliseconds
# list ignored_defaults 'kmod-drm-i915'
# list ignored_defaults 'kmod-dwmac-intel'

7 changes: 7 additions & 0 deletions settings-configs/w1700k-dumb-ap/bridger
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
config defaults
# handle bridge local rx/tx
option bridge_local_tx 1
option bridge_local_rx 0

# example for blacklisting individual devices or bridges
# list blacklist eth0
Loading