54950 Commits

Author SHA1 Message Date
清靈語
b42acaa4e5
README: modification of exclusions (#128)
this branch does not have pre-compiled firmware, and --filter=blob:none does not apply to this branch.
2023-09-25 16:04:39 +08:00
hanwckf
f1ea0e52e4 defconfig: add more netfilter/iptables extensions 2023-09-24 11:38:33 +08:00
hanwckf
d250665d7b luci-app-mtk: clean stainfo if all wifi interface is down 2023-09-23 22:16:28 +08:00
hanwckf
fdceeb5d90 autocore: check wifi ifname status before call iwpriv 2023-09-23 22:14:32 +08:00
hanwckf
38a2d40a7a defconfig: build imou-lc-hx3001
fix #124
2023-09-23 20:59:22 +08:00
hanwckf
180ca42211 mt7981: revert mt7981 wacpu/wocpu fw 2023-09-23 10:46:40 +08:00
lgs2007m
ebd1ad3d16
mediatek: fix the incorrect network port sequence of CMCC RAX3000M (#123) 2023-09-22 18:00:36 +08:00
ssm1588
bc37b40aaf
mediatek: fix the incorrect network port sequence of the redmi AX6000 (#121) 2023-09-22 01:09:53 +08:00
hanwckf
53eae01db7 Merge branch 'openwrt-21.02' of https://github.com/immortalwrt/immortalwrt into openwrt-21.02 2023-09-18 10:01:12 +08:00
Nicholas Sun
e5a48ffa59
autocore: maximize ring buffer size for Intel IGC ethernet
Signed-off-by: Nicholas Sun <nicholas-sun@outlook.com>
Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
(cherry picked from commit 680e4752c52f001a446a14f4f78955c8374fcd09)
2023-09-16 17:01:37 +08:00
Jonas Gorski
ac52e2013a x86: geode: fix hwrng register accesses
When the membase and pci_dev pointer were moved to a new struct in priv,
the actual membase users were left untouched, and they started reading
out arbitrary memory behind the struct instead of registers. This
unfortunately turned the RNG into a constant number generator, depending
on the content of what was at that offset.

To fix this, update geode_rng_data_{read,present}() to also get the
membase via amd_geode_priv, and properly read from the right addresses
again.

Closes #13417.

Reported-by: Timur I. Davletshin <timur.davletshin@gmail.com>
Tested-by: Timur I. Davletshin <timur.davletshin@gmail.com>
Suggested-by: Jo-Philipp Wich <jo@mein.io>
Signed-off-by: Jonas Gorski <jonas.gorski@gmail.com>
(cherry picked from commit 09d13cd8d87cc50fde67bbe81c6cca4b799b2724)
2023-09-14 11:36:57 +02:00
hanwckf
f4cbdc31ad mt_wifi: revert mt7981 wacpu fw to 20230411 2023-09-12 20:49:15 +08:00
hanwckf
014771c2ab Revert "warp: set wocpu-20230717 as mt7981 latest wocpu fw"
This reverts commit f5ccb09ea84d14275f7f9e9c01aa79956637cb83.
2023-09-12 20:48:42 +08:00
hanwckf
149b0510ee mt_wifi: fix ipi related cmd for mt798x new wacpu fw 2023-09-10 14:14:09 +08:00
hanwckf
ef4a1818bf defconfig: enable mt7986 wacpu/wocpu new fw 2023-09-10 13:23:36 +08:00
hanwckf
bbfd9688a2 mt_wifi: set wacpu-20230421 as mt7986 latest wacpu fw 2023-09-10 13:23:15 +08:00
hanwckf
d0255b437d defconfig: enable new mt7981 warp wocpu fw 2023-09-10 02:54:16 +08:00
hanwckf
672d8c604f mt_wifi: set wacpu-20230717 as latest wacpu fw 2023-09-10 02:51:52 +08:00
hanwckf
f5ccb09ea8 warp: set wocpu-20230717 as mt7981 latest wocpu fw 2023-09-10 02:51:17 +08:00
hanwckf
e692bb708a mt-wifi: add 20230717 wacpu fw from xiaomi-ax3000t 2023-09-10 02:49:09 +08:00
hanwckf
62d0ba3d6b warp: add 20230717 wocpu fw from xiaomi-ax3000t 2023-09-10 02:48:41 +08:00
developer
e01037de5b [Description]
Add spinlock mechanism for mtk_rmw api.
1. When multiple threads operate on the same register resource
which include multiple pins, it will make the register resource
wrong to control. So we add spinlock to avoid this case.

[Release-log]
This patch adds spinlock mechanism to protect mtk_rmw. Without it,
you may suffer from some unexpected problems such as race conidtion
while interrupt occured. And this will lead to pin setting fail.
Hence, we strongly recommand you to merge this patch in your code
base.

Change-Id: I1128dc16cb683b89c2cd9f9138f32552abb00400
Reviewed-on: https://gerrit.mediatek.inc/c/openwrt/feeds/mtk_openwrt_feeds/+/7962757
2023-09-10 00:00:54 +08:00
developer
b4298172e7 [Description]
Change original pinctrl fix-up commit:
https://gerrit.mediatek.inc/c/openwrt/feeds/mtk_openwrt_feeds/+/7007454

Convert patches-5.4 to file-5.4 format to prevent RDKB issue.

[Release-log]
N/A

Change-Id: Id534ae5244c7c52d2c50e468f8208ee1991421c0
Reviewed-on: https://gerrit.mediatek.inc/c/openwrt/feeds/mtk_openwrt_feeds/+/7021354
2023-09-09 23:50:05 +08:00
hanwckf
698992cf16 Merge branch 'openwrt-21.02' of https://github.com/immortalwrt/immortalwrt into openwrt-21.02 2023-09-08 18:08:13 +08:00
hanwckf
9f1ba10976 mediatek: fix spi bus width prop name in dts 2023-09-08 15:13:55 +08:00
Tianling Shen
c989b26be4
ImmortalWrt v21.02.7: revert to branch defaults
Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
2023-09-07 13:35:29 +08:00
Tianling Shen
b6dd058ff1
ImmortalWrt v21.02.7: adjust config defaults
Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
2023-09-07 13:35:23 +08:00
hanwckf
e955a711dc Merge branch 'openwrt-21.02' of https://github.com/immortalwrt/immortalwrt into openwrt-21.02 2023-09-04 23:02:09 +08:00
Robert Marko
a8bbadefaf
mhz: respect CC and CFLAGS passed by buildsystem
It seems that the Makefile has both CC and CFLAGS hardcoded and does not
allow overriding them by ones being passed by the buildsystem.

This works fine until CONFIG_PKG_ASLR_PIE_ALL is selected, then building
will fail with:
arm-openwrt-linux-muslgnueabi/bin/ld.bfd: mhz.o: relocation R_ARM_MOVW_ABS_NC against `a local symbol' can not be used when making a shared object; recompile with -fPIC
arm-openwrt-linux-muslgnueabi/bin/ld.bfd: mhz.o(.text+0x75c): unresolvable R_ARM_CALL relocation against symbol `__aeabi_l2d@@GCC_3.5

So, lets add a patch pending upstream that allows both CC and CFLAGS to be
overriden so that ones passed by the buildsystem are actually respected.

Fixes: 89123b308f98 ("mhz: add new package")
Signed-off-by: Robert Marko <robimarko@gmail.com>
(cherry picked from commit 6c28f46f37d35dce06c320d9ac7f256c113aea22)
Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
(cherry picked from commit 8c90527a80b0adf34f331f2f5517dce7795e9404)
2023-09-04 14:40:28 +08:00
hanwckf
45329cb67c Merge branch 'openwrt-21.02' of https://github.com/immortalwrt/immortalwrt into openwrt-21.02 2023-09-03 12:27:26 +08:00
hanwckf
20b31cf289 mt_wifi: remove ADDBA noisy log 2023-09-02 10:50:48 +08:00
Rafał Miłecki
383ae905a2 urngd: update to the latest master
7aefb47 jitterentropy-rngd: update to the v1.2.0

What's interesting about jitterentropy-rngd v1.2.0 release is that it
bumps its copy of jitterentropy-library from v2.2.0 to the v3.0.0. That
bump includes a relevant commit 3130cd9 ("replace LSFR with SHA-3 256").

When initializing entropy jent calculates time delta. Time values are
obtained using clock_gettime() + CLOCK_REALTIME. There is no guarantee
from CLOCK_REALTIME of unique values and slow devices often return
duplicated ones.

A switch from jent_lfsr_time() to jent_hash_time() resulted in many less
cases of zero delta and avoids ECOARSETIME.

Long story short: on some system this fixes:
[    6.722725] urngd: jent-rng init failed, err: 2

This is important change for BCM53573 which doesn't include hwrng and
seems to have arch_timer running at 36,8 Hz.

Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
(cherry picked from commit c74b5e09e692839b39c8325b5f8dc5f2a3b3896c)
2023-09-01 16:10:22 +02:00
Tianling Shen
caf6177269
urngd: fix build for glibc
Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
2023-09-01 09:49:48 +08:00
abandon-xyz
5eeadb4ce4
mediatek: KONKA KOMI A31: fix check sysupgrade image failed (#110) 2023-08-31 23:55:39 +08:00
Tianling Shen
0c5aa06824
ixgbe: fix build with kernel 5.4.255
Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
2023-08-31 14:57:34 +08:00
Tianling Shen
949f0dd900
kernel: bump to 5.4.255
Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
2023-08-31 13:13:22 +08:00
Rafał Miłecki
15bb8c3461
urngd: update to the latest master
7aefb47 jitterentropy-rngd: update to the v1.2.0

What's interesting about jitterentropy-rngd v1.2.0 release is that it
bumps its copy of jitterentropy-library from v2.2.0 to the v3.0.0. That
bump includes a relevant commit 3130cd9 ("replace LSFR with SHA-3 256").

When initializing entropy jent calculates time delta. Time values are
obtained using clock_gettime() + CLOCK_REALTIME. There is no guarantee
from CLOCK_REALTIME of unique values and slow devices often return
duplicated ones.

A switch from jent_lfsr_time() to jent_hash_time() resulted in many less
cases of zero delta and avoids ECOARSETIME.

Long story short: on some system this fixes:
[    6.722725] urngd: jent-rng init failed, err: 2

This is important change for BCM53573 which doesn't include hwrng and
seems to have arch_timer running at 36,8 Hz.

Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
(cherry picked from commit c74b5e09e692839b39c8325b5f8dc5f2a3b3896c)
2023-08-31 10:19:18 +08:00
Rafał Miłecki
1db1d6b729
uboot-bcm4908: update to the latest generic
4435700d18 Remove redundant YYLOC global declaration

Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
(cherry picked from commit 57a8ea6d749e5fe0e00673cc77b5f2c17b792650)
2023-08-31 10:19:11 +08:00
hanwckf
1206f33811 mt_wifi: fix mt7981 default eeprom files
fix #109
2023-08-30 01:02:06 +08:00
ssm1588
241bfde0b6
完善luci-app-mtk的汉化翻译 (#108) 2023-08-30 00:45:23 +08:00
hanwckf
3f08a8dad3 luci-app-mtk: update zh-cn i18n 2023-08-29 11:07:28 +08:00
hanwckf
b48d9ed458 wifi-profile: add DevEnable settings for wifi devices(MT798X.1.X)
luci-app-mtk: add support for DevEnable settings
2023-08-28 23:35:09 +08:00
hanwckf
04296f30f5 luci-app-mtk: add confirm() for add/remove/disable/reload vifs 2023-08-27 23:27:05 +08:00
hanwckf
01b62ef21d luci-app-mtk: fix colspan of stainfo 2023-08-27 10:14:15 +08:00
hanwckf
9194761ed3 kernel: add gigadevice GD5FxGQxUExxH spi-nand support 2023-08-27 02:08:38 +08:00
hanwckf
826cdd3f76 kernel: backport esmt spi-nand of kernel v6.4 2023-08-26 22:42:17 +08:00
hanwckf
3486d7fd69 kernel: add etron spi-nand support 2023-08-26 17:24:28 +08:00
hanwckf
e2b9933e89 kernel: backport gigadevice spi-nand of kernel v6.4 to v5.4 2023-08-26 17:23:19 +08:00
hanwckf
8d431e79f0 luci-app-mtk: add security info to stainfo
mt_wifi: send security info to userspace stainfo
2023-08-26 16:39:53 +08:00
benboguan
912deb4379
mt7981: add clt-r30b1 support (#107)
参考原厂固件修改
2023-08-26 00:30:07 +08:00