54912 Commits

Author SHA1 Message Date
hanwckf
0b98038238 mt_wifi: add mt7986 new fw from mt_wifi-7.6.7.0 2023-08-03 19:09:46 +08:00
hanwckf
cc6d3aed38 luci-app-mtk: get default wan ifname from /etc/board.json 2023-08-02 20:20:22 +08:00
developer
b64b3c1805 [Description]
Fix the conditions for adding vlan info.
When eth1.x -> wifi, packets cannot be forwarded through the HW path.
(due to with wrong HNAT vlan info)

The patch fix it.

[Release-log]
N/A

Change-Id: Id9e02493157bfc2f3a4dbf046be127cd491f9b17
Reviewed-on: https://gerrit.mediatek.inc/c/openwrt/feeds/mtk_openwrt_feeds/+/7778652
2023-08-01 12:04:34 +08:00
hanwckf
b0360ffa94 mediatek: add support for H3C NX30 Pro 2023-08-01 02:10:06 +08:00
abu9
69794b4861
[][Kernel][hnat][Fix log print level in foe_clear_entry] (#101)
[Description]
Fix log print level in foe_clear_entry.
There are too many logs when neighbor update,
the logs should be printed on debug level.

[Release-log]
N/A


Change-Id: Ic9b75aa5da33f1ab1f398408811487f72ba9f29b
Reviewed-on: https://gerrit.mediatek.inc/c/openwrt/feeds/mtk_openwrt_feeds/+/7709249
2023-07-31 21:52:26 +08:00
hanwckf
66aecdb602 mt_wifi: enable mt7981 new fw by default 2023-07-31 01:27:49 +08:00
hanwckf
2262a38e49 mt_wifi: add mt7981 new fw from h3c-nx30pro blobs
enable it with CONFIG_MTK_MT7981_NEW_FW
2023-07-31 01:19:14 +08:00
Rafał Miłecki
170d9e447d bcm53xx: backport more DT changes queued for v6.6
Those sort out BCM53573 Ethernet info finally.

Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
(cherry picked from commit ca8868a51127f6081a524d47eab937b90af0bf05)
2023-07-29 21:00:07 +02:00
Rafał Miłecki
4ceaf439a5 bcm53xx: add BCM53573 Ethernet fix sent upstream for v6.6
It seems that DSA-based b53 driver never worked with BCM53573 SoCs and
BCM53125.

In case of swconfig-based b53 this fixes a regression. Switching bgmac
from using mdiobus_register() to of_mdiobus_register() resulted in MDIO
device (BCM53125) having of_node set (see of_mdiobus_register_phy()).
That made downstream b53 driver read invalid data from DT and broke
Ethernet support.

Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
(cherry picked from commit 79fd3e62b4910731c13692b2daa2083e0f95c023)
2023-07-29 21:00:07 +02:00
hanwckf
91605f96b1 defconfig: mt7986: enable CONFIG_TARGET_PER_DEVICE_ROOTFS 2023-07-28 10:12:14 +08:00
hanwckf
4dd3c96626 defconfig: mt7981: enable CONFIG_TARGET_PER_DEVICE_ROOTFS 2023-07-28 10:08:29 +08:00
hanwckf
10b5a7d734 target: remove luci-app-turboacc, luci-app-cpufreq in default packages 2023-07-28 10:07:25 +08:00
hanwckf
cbbfa996aa mediatek: rax3000m: build automount by default 2023-07-27 21:38:03 +08:00
hanwckf
af4f0aac91 mediatek: rax3000m: fix mesh button label and input type 2023-07-27 20:26:44 +08:00
hanwckf
fe761fe277 mediatek: rax3000m: add more usb-related luci apps 2023-07-27 10:54:52 +08:00
hanwckf
e6771f7e39 mediatek: rax3000m: remove read only part 2023-07-27 10:50:53 +08:00
hanwckf
9b1ecf5add Revert "toolchaini/gcc: fix libstdc++ dual abi model (#94)"
This reverts commit 063918b58fcb94b74d2cf80e95ce03950a1ec962.
2023-07-27 09:44:47 +08:00
hanwckf
72e13d5f9a Merge branch 'openwrt-21.02' of https://github.com/immortalwrt/immortalwrt into openwrt-21.02 2023-07-26 23:18:13 +08:00
hanwckf
4354230eb3 Revert "[Description]"
This reverts commit 4b60c531ead22dcace1497bfcf5327c7b0087bbc.
2023-07-26 22:31:29 +08:00
hanwckf
c7d72f9c32 mediatek: cmcc-rax3000m: enable mt7531 ssc 2023-07-26 21:48:01 +08:00
Tianling Shen
67603f2a9e
ipq806x: enable fan driver for r3d
Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
2023-07-26 21:10:22 +08:00
Robert Marko
40d838ff6b
ipq806x: add driver for EMC2301 fan controller
Basic fan controls are working, including PWM and
tachometer.

RPM target mode is not working yet.

Signed-off-by: Robert Marko <robimarko@gmail.com>
Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
2023-07-26 21:08:24 +08:00
hanwckf
cc46e0582e mediatek: add support for cmcc-rax3000m 2023-07-26 12:06:37 +08:00
hanwckf
73aa69df13 mediatek: fix mismatch of *x3000* 2023-07-26 01:49:41 +08:00
Tianling Shen
064779f9c2
kernel: bump to 5.4.250
Refreshed all patches.

Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
2023-07-25 20:44:09 +08:00
清靈語
c2727b389c
defconfig: enable umdns by default (#100) 2023-07-24 00:35:25 +08:00
abandon-xyz
ef7f8d4997
mediatek: wr30u: fix led (#95) 2023-07-21 09:05:39 +08:00
清靈語
063918b58f
toolchaini/gcc: fix libstdc++ dual abi model (#94)
libstdcxx-dual-abi needs to be enabled to actually support C++11 ABI.
Enable the config flag to also permit support of .NET 6 development on OpenWrt.

c0b4303d2e
2023-07-21 09:05:07 +08:00
Tomasz Maciej Nowak
47054075e2 sdk: rename README + update Makefile
'help' target fails not finding a file, so follow up on a change[2] made
as a fix for main README[1].

1. d0113711a31f ("README: port to 21st century")
2. 751486b31fd9 ("build: fix README.md reference after rename")

Signed-off-by: Tomasz Maciej Nowak <tmn505@gmail.com>
(cherry picked from commit 2d5f7035cf45801158bed6f5d0ac0de0002c1810)
(cherry picked from commit e9911f10e482f3174f745a36c0c9fd7964758caf)
Signed-off-by: Christian Lamparter <chunkeey@gmail.com>
2023-07-20 11:31:08 +02:00
Tomasz Maciej Nowak
04ee513ede ib: split out processing user provided packages
Some device recipes remove default target packages. If user tries to add
them back they will be ignored, since packages list is processed in one
go. Process the device recipe packages first and do user ones later, so
additions won't get filtered out.

Signed-off-by: Tomasz Maciej Nowak <tmn505@gmail.com>
(cherry picked from commit e40b9a7fa002154e85459791101a0444d99dfb86)
2023-07-20 11:31:08 +02:00
hanwckf
3360371f33 mediatek: wr30u: fix bootargs 2023-07-20 00:17:47 +08:00
Tianling Shen
30d8cc5eab
Merge Official Source
Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
2023-07-19 16:29:18 +08:00
developer
4b60c531ea [Description]
Fix bug: avoid mis-binding of first fragments of ip-fragmented packets.

[Release-log]
N/A

Change-Id: Iabe7e83a2ec683b292628732004afef0d65c05f3
Reviewed-on: https://gerrit.mediatek.inc/c/openwrt/feeds/mtk_openwrt_feeds/+/7597095
2023-07-19 10:09:17 +08:00
hanwckf
c66df37828 hnat: use memcmp instead of strncmp to compare mac addr 2023-07-15 19:04:05 +08:00
Rafał Miłecki
f5fbde4c11 bcm53xx: backport DT changes queued for v6.6
Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
(cherry picked from commit 37ff916af789911fdefb802ce9903e866eb82435)
2023-07-14 14:56:51 +02:00
Tianling Shen
edcc069409
Merge Official Source
Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
2023-07-14 19:23:45 +08:00
hanwckf
48dab85809 mediatek: fix xiaomi-wr30u stock layout flash script 2023-07-14 01:13:19 +08:00
developer
46fcd1ca5b [Description]
Fix possibly null pointer and memory leak.
When skb_headroom(skb) < FOE_INFO_LEN, it means that hnat headroom of
the message is incomplete and may have been truncated by other functions.
HNAT should return and not relalloc skb.

If without the patch, may met NULL pointer and memory leak issue.

[Release-log]
N/A

Change-Id: I490191fa2be5fd1d664b228ef7c97951d0efe036
Reviewed-on: https://gerrit.mediatek.inc/c/openwrt/feeds/mtk_openwrt_feeds/+/7694271
2023-07-12 21:45:04 +08:00
thl
1157c56596 hnat: wifi tx hqos support 2023-07-12 21:22:37 +08:00
hanwckf
95692fc7c7 default-settings: remove anon_mount 2023-07-12 21:13:09 +08:00
hanwckf
d0fc857ae2 Merge branch 'openwrt-21.02' of https://github.com/immortalwrt/immortalwrt into HEAD 2023-07-12 21:09:22 +08:00
hanwckf
cd5b688c44 defconfig: build more mt7981 devices 2023-07-12 20:53:04 +08:00
hank9999
928eaf0e14 uboot-envtools: add support for Xiaomi WR30U
Signed-off-by: hank9999 <mchank9999@gmail.com>
2023-07-12 20:48:38 +08:00
hank9999
d66f4754b7 mediatek: add support for Xiaomi WR30U
Signed-off-by: hank9999 <mchank9999@gmail.com>
2023-07-12 20:48:38 +08:00
hanwckf
6a3939a965 mediatek: add gpio-export driver 2023-07-12 01:06:31 +08:00
hanwckf
49f6834e9f
ct3003: fix wrong wlan mac address 2023-07-12 00:45:49 +08:00
Rafał Miłecki
fff279f4a7 bcm53xx: backport DT changes from v6.5
Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
(cherry picked from commit 8674b41c0d84f09e14bf8ebe08e1d6dc6ac5fa64)
2023-07-11 13:38:09 +02:00
Rafał Miłecki
7f06e5f7f2 kernel: bgmac: fix regressed support for BCM53573 SoCs
Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
(cherry picked from commit d54f3b2cfdbd34aa61ca67fd590eebfdf3db51cf)
2023-07-10 18:47:41 +02:00
Rafał Miłecki
64261da739 kernel: fix bgmac support for BCM5358
Fix two long-standing regressions.

Fixes: https://github.com/openwrt/openwrt/issues/8278
Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
(cherry picked from commit 5e48c534f7c6b3a861f4a2dbb81d7bfcd9606f61)
2023-07-10 18:47:41 +02:00
Rafał Miłecki
1d206bcd71 bcm47xx: fix bgmac regression present in 5.4 kernel
This fixes:
[    2.548098] bgmac_bcma bcma0:1: Failed to register fixed PHY device
[    2.554584] bgmac_bcma bcma0:1: Cannot connect to phy
and downstream (swconfig-based) b53 driver failing to load.

Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
(cherry picked from commit 6cdac994012003065a7040ceba3186f80db3cdbe)
2023-07-10 18:47:41 +02:00