Commit Graph

3154 Commits

Author SHA1 Message Date
lean
3226f7cfab Version update to R22.9.1 2022-09-01 14:31:09 +08:00
AmadeusGhost
b477a0b702 rockchip: add support for FastRhino R66S/R68S
For R68S, flash in as follows:
  dd if=openwrt-rockchip-armv8-fastrhino_r68s-ext4-sysupgrade.img
     of=/dev/mmcblk0
2022-09-01 12:01:21 +08:00
AmadeusGhost
6aaf68d8f5 rockchip: add basic support for HINLINK OPC-H68K 2022-09-01 11:59:31 +08:00
AmadeusGhost
7f8e3bf68c rockchip: add support for EZPRO Mrkaio M68S 2022-09-01 11:57:14 +08:00
AmadeusGhost
5115f2bc1d rockchip: backport support for Radxa ROCK3 A
Also enabled pcie on this board.
2022-09-01 11:56:02 +08:00
AmadeusGhost
c9dfab16d3 uboot-rockchip: don't hardcore USB_OHCI_NEW options
This will only make things complicated.
2022-09-01 11:51:00 +08:00
AmadeusGhost
22d08ddd3d rockchip: revert to origin defaults
The current target code is too chaotic, the patches are
messy and disorderly, and there are still many duplicate
code. Pack it back to half a year ago.
2022-09-01 11:28:49 +08:00
AmadeusGhost
b5b402cd07 Revert "rockchip: backport rk3568 support to kernel 5.10"
This reverts commit cb3ea4bf55.
2022-09-01 11:25:13 +08:00
Hyy2001X
bf98ce65fe
linux-firmware: fix Intel GUC firmware support for N5105/N6005 (#10027)
N5105/6005 的 GUC 最新固件应为 ehl_guc_70.1.1.bin
root@OpenWrt[x86_64]:~# dmesg | grep i915
[   15.782124] i915 0000:00:02.0: [drm] Finished loading DMC firmware i915/icl_dmc_ver1_09.bin (v1.9)
[   15.807568] i915 0000:00:02.0: [drm] GuC firmware i915/ehl_guc_70.1.1.bin version 70.1
[   15.808411] i915 0000:00:02.0: [drm] HuC firmware i915/ehl_huc_9.0.0.bin version 9.0
[   15.824779] i915 0000:00:02.0: [drm] HuC authenticated
[   15.825842] i915 0000:00:02.0: [drm] GuC submission enabled
[   15.826473] i915 0000:00:02.0: [drm] GuC SLPC disabled
[   15.842051] [drm] Initialized i915 1.6.0 20201103 for 0000:00:02.0 on minor 0
[   15.955659] fbcon: i915drmfb (fb0) is primary device
[   15.995663] i915 0000:00:02.0: [drm] fb0: i915drmfb frame buffer device
2022-08-31 20:15:18 +08:00
lean
bcc2e4ab19 linux-firmware: add Intel GUC firmware support for N5105/N6005 2022-08-31 01:46:53 +08:00
Aes64X
b5541f15fd
Intel GUC: add UHD 630/750 support (#10023)
* Update Makefile

* Update intel.mk

* Delete 992-enable-intel-guc.patch

* Update intel.mk
2022-08-31 01:31:55 +08:00
lean
40e3a3f754 Merge branch 'master' of https://github.com/coolsnowwolf/lede 2022-08-30 15:38:56 +08:00
Hauke Mehrtens
0e14f14765 mbedtls: update to version 2.28.1
Changelog: https://github.com/Mbed-TLS/mbedtls/releases/tag/v2.28.1
This release of Mbed TLS provides bug fixes and minor enhancements. This
release includes fixes for security issues.

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
2022-08-30 12:10:25 +08:00
lean
d63a4cb792 mt76: mt7921e: add firmware for mt7922 devices 2022-08-30 11:40:42 +08:00
lean
ef5585ee83 Merge branch 'master' of https://github.com/coolsnowwolf/lede 2022-08-29 21:40:36 +08:00
Hauke Mehrtens
ddb8181fef wolfssl: Rebuild when libwolfssl-benchmark gets changes
This forces a rebuild of the wolfssl package when the
libwolfssl-benchmark OpenWrt package gets activated or deactivated.
Without this change the wolfssl build will fail when it compiled without
libwolfssl-benchmark before and it gets activated for the next build.

Fixes: 18fd12edb810 ("wolfssl: add benchmark utility")
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
2022-08-29 11:39:30 +08:00
Daniel Golle
0ef0d66cb9 kernel: enable inside secure driver for MediaTek platforms
Older MT7623 ARMv7 SoC as well as new Filogic platforms come with
inside-secure,safexcel-eip97 units. Enable them in DTS and select the
driver kernel module by default on those platforms.

Signed-off-by: Daniel Golle <daniel@makrotopia.org>
2022-08-29 11:39:05 +08:00
Felix Fietkau
ea13fe5a40 mt76: add mt7986 wmac support
Add firmware package for MT7986 and enable WMAC support in the driver

Signed-off-by: Felix Fietkau <nbd@nbd.name>
2022-08-29 11:36:27 +08:00
Daniel Golle
a86cabf4c2 uboot-mediatek: add support for compressed BL3/FIP image
MediaTek's ARM Trusted Firmware v2.7+ allows the images inside a FIP
structure to be compressed. Make use of that for boards with NOR flash.

Signed-off-by: Daniel Golle <daniel@makrotopia.org>
2022-08-29 11:28:25 +08:00
Daniel Golle
2ab51c530a arm-trusted-firmware-mediatek: update to v2.7+ from MediaTek
The updated sources bring support for the MT798x Filogic SoC family.

Add builds for MT7986 with most supported storage types, each for DDR3
and DDR4 configurations.

A better solution for skipping bad blocks on SPI-NAND connected via the
SNFI interface has been implemented upstream, so drop local patch.
Add pending patches [1] and [2] to fix boot on existing MT7622 boards.

Tested on BananaPi BPi-R64 (SDMMC, eMMC, SPI-NAND), Linksys E8450 and
Ubiquiti UniFi 6 LR as well as upcoming Bananapi BPi-R3 board for which
support will be added in future patches.

[1]: https://github.com/mtk-openwrt/arm-trusted-firmware/pulls/#3
[2]: https://github.com/mtk-openwrt/arm-trusted-firmware/pulls/#4

Signed-off-by: Daniel Golle <daniel@makrotopia.org>
2022-08-29 11:24:17 +08:00
Daniel Golle
746a5e8ad6 arm-trusted-firmware-mediatek: remove no longer needed Configure step
As anyway only the default is called now we can as well also just remove
the override for Build/Configure.

Fixes: e2cffbb805 ("arm-trusted-firmware-mediatek: update to 2021-03-10")
Signed-off-by: Daniel Golle <daniel@makrotopia.org>
2022-08-29 11:24:10 +08:00
Daniel Golle
2efe9343ca trusted-firmware-a.mk: pass DTC path similar to u-boot.mk
Instead of relying on dtc being provided by the build host use the
dtc from $(LINUX_DIR) similar to how it's done also in u-boot.mk.
For this to work kernel.mk now needs to be included before
trusted-firmware-a.mk, add this include to all affected packages.

Signed-off-by: Daniel Golle <daniel@makrotopia.org>
2022-08-29 11:20:19 +08:00
lean
f8015dd5e9 mt76: mt7921e: add firmware for mt7922 wifi6e devices for Ryan 2022-08-29 01:11:02 +08:00
lean
f14f4820b4 Merge branch 'master' of https://github.com/coolsnowwolf/lede 2022-08-29 01:09:36 +08:00
aodzip
3302e26e94 ramips/mt7621: Add HATLab GateBoard-One Support
Signed-off-by: Aodzip <aodzip@gmail.com>
Signed-off-by: AnYun <amadeus@openjmu.xyz>
2022-08-28 15:50:27 +08:00
lean
87f72815e8 uboot-rockchip: add HINLINK OPC-H68K support 2022-08-28 11:25:59 +08:00
lean
b1e8d12da9 mt76: update to the latest version 2022-08-27 03:38:00 +08:00
1054009064
80ea9d5bbf
hostapd: fix this patch to cause some wireless driver DFS detection (#9997) 2022-08-25 23:45:01 +08:00
lean
f71276d16f ath11k: add wcn685x wifi6e ap mode and firmware support 2022-08-25 11:20:24 +08:00
lean
d496bf88a4 mac80211: fix ath10k 5.19 support 2022-08-25 02:55:42 +08:00
Nick Hainke
7987b04159 elfutils: update to 0.187
Changes:
debuginfod: Support -C option for connection thread pooling.

debuginfod-client: Negative cache file are now zero sized instead of
                   no-permission files.

addr2line: The -A, --absolute option, which shows file names including
           the full compilation directory is now the default.  To get the
           old behavior use the new option --relative.

readelf, elflint: Recognize FDO Packaging Metadata ELF notes

libdw, debuginfo-client: Load libcurl lazily only when files need to
                         be fetched remotely. libcurl is now never
                         loaded when DEBUGINFOD_URLS is unset. And when
                         DEBUGINFOD_URLS is set, libcurl is only loaded
                         when the debuginfod_begin function is called.

Signed-off-by: Nick Hainke <vincent@systemli.org>
2022-08-24 11:01:37 +08:00
Stijn Tintel
4f70247621 elfutils: move host build to tools
The upcoming dwarves host package requires elfutils. As dependencies for
tools must exist in tools, we need to move elfutils host build there.

As there is at least one package that depends on this, and there is no
proper way to create such dependency in the build system, build it
unconditionally when not building on macOS.

Signed-off-by: Stijn Tintel <stijn@linux-ipv6.be>
2022-08-24 10:56:09 +08:00
Rosen Penev
7ad3d04a03 elfutils: fix host compilation with Alpine Linux
intl is not included in libc, disable it as is done with the target
package.

argp is also not included. Add build depends for argp-standalone.

fts is also not included. Add build depends for musl-fts.

Disable shared libraries to avoid having to manually add rpath.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2022-08-24 10:50:26 +08:00
Sergey V. Lobanov
009ca51099 argp-standalone: add host-compile ability
This patch adds host-compile ability to argp-standalone for build
hosts without glibc and argp lib, e.g. MacOS.

iucode-tool/host can not be built on MacOS due to lack of argp.

Signed-off-by: Sergey V. Lobanov <sergey@lobanov.in>
2022-08-24 10:47:42 +08:00
Daniel Golle
547bdeb71e arm-trusted-firmware-mediatek: skip bad blocks on SPI-NAND (SNFI)
Add patch to skip bad blocks when reading from SPI-NAND. This is needed
in case erase block(s) early in the flash inside the FIP area are bad
and hence need to be skipped in order to be able to boot on such damaged
chips.

Signed-off-by: Daniel Golle <daniel@makrotopia.org>
2022-08-23 22:57:31 +08:00
Sultan Alsawaf
944cb3db09 mac80211: parse the correct set of HE capabilities for AP mode
It is common for 802.11ax NICs to support more than just AP mode, which
results in there being a distinct set of HE capabilities for each mode. As
(bad) luck would have it, iw prints out info for each HE mode in sequential
order according to `enum nl80211_iftype`, and AP mode isn't always first.

As a result, the wrong set of HE capabilities can be parsed if an AP NIC
supports station (managed) mode or any other mode preceding AP mode, since
only the first set of HE capabilities printed by iw is parsed from awk's
output.

This has a noticeable impact on beamforming for example, since managed mode
usually doesn't have beamformer capabilities enabled, while AP mode does.
Hostapd won't be set up with the configs to enable beamformer capabilities
in this scenario, causing hostapd to disable beamforming to HE stations
even when it's supported by the AP.

Always parse the correct set of HE capabilities for AP mode to fix this.
This is achieved by trimming all of iw's output prior to the AP mode
capabilities, which ensures that the first set of HE capabilities are
always for AP mode.

Signed-off-by: Sultan Alsawaf <sultan@kerneltoast.com>
2022-08-23 22:54:48 +08:00
Joerg Werner
4449335e91 hostapd: fix WPA3 enterprise keys and ciphers
WPA3 enterprise requires group_mgmt_cipher=BIP-GMAC-256 and if 802.11r is
active also wpa_key_mgmt FT-EAP-SHA384. This commit also requires
corresponding changes in netifd.

Signed-off-by: Joerg Werner <schreibubi@gmail.com>
2022-08-23 22:52:32 +08:00
AmadeusGhost
8b7bdd4f51 vsftpd-alt: fix compilation with glibc
Fixes: #9987
2022-08-23 21:30:18 +08:00
zxlhhyccc
2c2ebde06c
r8101: fixes download link/hash (#9988) 2022-08-23 19:55:09 +08:00
NueXini
eb7c6f49eb
r8101: fix PKG_SOURCE_URL (#9986) 2022-08-23 14:42:49 +08:00
lean
a5133362ed hostapd: make LAR-friendly AP mode for AX200/AX210 2022-08-22 15:31:20 +08:00
lean
5ae7088669 uboot-rockchip: add RK3568 Radxa ROCK 3A board support 2022-08-20 02:14:11 +08:00
lean
619e8ade0c linux-firmware: add RTL8811/8821CU firmware 2022-08-20 02:07:31 +08:00
lean
af98ec260b r8125: add led configuration from OF support 2022-08-19 19:39:37 +08:00
lean
8b581837f0 mac80211: add rtl8821cu chipset support in rtw88 2022-08-18 23:44:47 +08:00
AmadeusGhost
956f36403a r8101: remove duplicate code 2022-08-18 10:08:09 +08:00
Hauke Mehrtens
af9ce82e10 iproute2: Fix KERNEL_INCLUDE in SDK
In the SDK the folder $(LINUX_DIR)/user_headers/include does not exist,
but it more or less contains the same content as
$(LINUX_DIR)/include/uapi which also exists in the SDK.

Since iproute2 commit 1d819dcc741e ("configure: fix parsing issue on
include_dir option") it checks if this folder exists and aborts the
build if it does not exists.
https://git.kernel.org/pub/scm/network/iproute2/iproute2.git/commit/?id=1d819dcc741e25958190e31f8186c940713fa0a8

With this commit the KERNEL_INCLUDE variable points to a valid folder
with the kernel include headers. I am not sure if they are actually
needed because the build worked before even with an invalid path.

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
2022-08-18 10:05:19 +08:00
lean
3c0774cf8f mt76: mt7921e: fix crash in chip reset fail on rockchip 5.19 kernel 2022-08-17 23:45:26 +08:00
lean
85c2ce64c5 mt76: add 5.19 kernel support 2022-08-17 23:38:06 +08:00
umarizulkifli
155fd1750e
package: add realtek r8101 driver (#9964)
* add: r8101

* update: Makefile

* update: v1.037.01

* update: v1.037.01
2022-08-17 22:38:44 +08:00