Commit Graph

5181 Commits

Author SHA1 Message Date
AmadeusGhost
a083aab5ef uboot-rockchip: fixes rk3328 build error
Fixes: #10037, #10038
2022-09-02 11:53:45 +08:00
lean
c06859e50f rockchip: enable hwrng for R66S/R68S 2022-09-02 02:40:00 +08:00
lean
d6f75eefa1 rockchip: add support for firefly station-p2 board 2022-09-02 02:13:41 +08:00
lean
780869012b uboot-rockchip: add support for firefly station-p2 board 2022-09-02 01:40:40 +08:00
lean
4860a8b285 Update README.md 2022-09-02 01:31:43 +08:00
aakkll
5d87cf5616
kernel: refresh 5.19 patch (#10033)
Signed-off-by: aakkll <94471752+aakkll@users.noreply.github.com>

Signed-off-by: aakkll <94471752+aakkll@users.noreply.github.com>
2022-09-02 01:23:58 +08:00
lean
3e0b3b94e6 update README.md 2022-09-01 18:46:55 +08:00
lean
0303ac3d38 x86: backport Intel GUC support for N5105/N6005 in kernel 5.15 2022-09-01 18:38:35 +08:00
lean
6bf0fbd526 rockchip:fix nanopi-r4s mac address again 2022-09-01 14:55:14 +08:00
lean
3226f7cfab Version update to R22.9.1 2022-09-01 14:31:09 +08:00
lean
bd241073fd update README.md 2022-09-01 14:04:39 +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
695be791b2 rockchip: 5.15: fixes motorcomm driver build error 2022-09-01 11:49:38 +08:00
AmadeusGhost
8cb632045f rockchip: 5.15: introduce rk3568 support
Due to the missing ATF for normally boot, there are still
a lot of bugs on this platform. At the same time, the GMAC
driver also lacks a part.
2022-09-01 11:43: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
lean
44275af49f x86: add new missing symbol 2022-09-01 00:07:21 +08:00
lean
109c4fc947 kernel: bump 5.19 to 5.19.6 2022-08-31 23:51:09 +08:00
QiuSimons
cb3ea4bf55
rockchip: backport rk3568 support to kernel 5.10 (#10025) 2022-08-31 20:24:42 +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
471ed020e7 x86: enable intel idle driver on x64 2022-08-30 17:19:06 +08:00
lean
451fc0189f x86: load HuC firmware by default for Intel gen9+ 2022-08-30 16:25:01 +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
Alex
4e90e9afc8 github workflows: security hardening
This PR adds explicit permissions section to workflows. This is a security
best practice because by default workflows run with extended set of permissions
(except from on: pull_request from external forks). By specifying any permission
explicitly all others are set to none. By using the principle of least privilege
the damage a compromised workflow can do (because of an injection or compromised
third party tool or action) is restricted. It is recommended to have most strict
permissions on the top level and grant write permissions on job level case by case.
2022-08-30 12:08:21 +08:00
AmadeusGhost
1ccc3bfd54 ramips: mt7621: fixes dsa hnat support 2022-08-30 12:01:08 +08:00
?UTF-8?q?Ar=C4=B1n=C3=A7=20=C3=9CNAL?=
a28334d8b8 ramips: mt7621-dts: mux phy0/4 to gmac1
Mux the MT7530 switch's phy0/4 to the SoC's gmac1 on devices where RGMII2
pins are available. This achieves 2 Gbps total bandwidth to the CPU using
the second RGMII.

The ports called "wan" are muxed where possible. On a minority of devices,
this is not possible. Those cases:

mt7621_ampedwireless_ally-r1900k.dts: lan3
mt7621_ubnt_edgerouter-x.dts: eth0
mt7621_gnubee_gb-pc1.dts: ethblue
mt7621_linksys_re6500.dts: lan1
mt7621_netgear_wac104.dts: lan4
mt7621_tplink_eap235-wall-v1.dts: lan0
mt7621_tplink_eap615-wall-v1.dts: lan0
mt7621_ubnt_usw-flex.dts: lan1

The "wan" port is just what the vendor designated on the board/plastic
chasis of the device. On a technical level, there is no difference between
a lan and wan port on MT7621AT, MT7621DAT and MT7621ST SoCs. Prefer
connecting to WAN via the port described above for these devices to benefit
the feature brought with this patch.

mt7621_d-team_newifi-d2.dts cannot benefit this feature, although it looks
like it should, because the rgmii2 pins are wired to unused components.

Tested on a range of devices documented on the GitHub PR.

Signed-off-by: Arınç ÜNAL <arinc.unal@arinc9.com>
2022-08-30 11:48:07 +08:00
Arınç ÜNAL
9483e6d8a9 ramips: mt7621-dts: do not claim rgmii2 group as gpio for certain devices
These devices do not use rgmii2 as gpio, therefore remove rgmii2 pin group
from state-default. Remove overwriting the ethernet node for these devices.

Move claiming the rgmii2 group from mt7621_zyxel_nwa-ax.dtsi to
mt7621_zyxel_nwa50ax.dts as it's only the latter using rgmii2 pins as gpio.

Remove duplicate ethernet overwrite from mt7621_tplink_archer-x6-v3.dtsi.

Claim rgmii2 group as gpio on mt7621_bolt_arion.dts as it uses an rgmii2
pin, 26, as gpio.

Signed-off-by: Arınç ÜNAL <arinc.unal@arinc9.com>
2022-08-30 11:47:15 +08:00
Arınç ÜNAL
a9d71837e9 ramips: fix GB-PC1 and GB-PC2 device support
Change switch port labels to ethblack & ethblue.
Change lan1 & lan2 LEDs to ethblack_act & ethblue_act and fix GPIO pins.
Add the external phy with ethyellow label on the GB-PC2 devicetree.
Do not claim rgmii2 as gpio, it's used for ethernet with rgmii2 function.
Enable ICPlus PHY driver for IP1001 which GB-PC2 has got.
Update interface name and change netdev function.
Enable lzma compression to make up for the increased size of the kernel.
Make spi flash bindings on par with mainline Linux to fix read errors.

Tested on GB-PC2 by Petr.

Tested-by: Petr Louda <petr.louda@outlook.cz>
Signed-off-by: Arınç ÜNAL <arinc.unal@arinc9.com>
2022-08-30 11:46:22 +08:00
David Bauer
29706161e3 ramips: fix missing NVMEM subsystem
MAC address retrieval was switched to more generic upstream (5.13) NVMEM
based solution in commit 06bb4a5018cd ("ramips: convert mtd-mac-address
to nvmem implementation") , but NVMEM subsystem wasn't enabled in the
kernel, so fix it now.

Fixes: 06bb4a5018cd ("ramips: convert mtd-mac-address to nvmem implementation")
Signed-off-by: David Bauer <mail@david-bauer.net>
Signed-off-by: Petr Štetiar <ynezz@true.cz> [commit message]
2022-08-30 11:45:06 +08:00
aakkll
1d2998c2ae kernel: bump 5.19 to 5.19.5 2022-08-30 11:42:30 +08:00
lean
d63a4cb792 mt76: mt7921e: add firmware for mt7922 devices 2022-08-30 11:40:42 +08:00
lean
fc76404440 kernel: bump 5.19 to 5.19.5 2022-08-30 00:26:28 +08:00
QiuSimons
3bb3b633eb
rockchip: fix kernel 5.10 build error (#10017) 2022-08-29 21:43:49 +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
Eneas U de Queiroz
3635ad2c08 mediatek: remove crypto-hw-mtk package
The MediaTek's Crypto Engine module is only available for mt7623, in
which case it is built into the kernel.

Signed-off-by: Eneas U de Queiroz <cotequeiroz@gmail.com>
2022-08-29 11:38:47 +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
Felix Fietkau
d5b2eb6cdc mediatek: add filogic subtarget
Initially this covers MT7986 only, but it will later be expanded to cover other
Filogic branded platforms by MediaTek

Signed-off-by: Felix Fietkau <nbd@nbd.name>
Signed-off-by: Daniel Golle <daniel@makrotopia.org>
2022-08-29 11:36:06 +08:00
Sam Shih
a4478fb400 mediatek: add mt7986 soc support to the target
It will be supported by the new filogic subtarget

Signed-off-by: Sam Shih <sam.shih@mediatek.com>
Signed-off-by: Lorenzo Bianconi <lorenzo@kernel.org>
Signed-off-by: Felix Fietkau <nbd@nbd.name>
Signed-off-by: Daniel Golle <daniel@makrotopia.org>
2022-08-29 11:35:05 +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