Commit Graph

6742 Commits

Author SHA1 Message Date
coolsnowwolf
382d2c2e3d mediatek: filogic: fix HF-M7986R1 reset button 2024-07-04 01:11:24 +08:00
coolsnowwolf
b4fe0e2919 mediatek: filogic: add HF-M7986R1 emmc sysupgrade support 2024-07-03 20:13:09 +08:00
Sean Khan
ade3055089 f2fs-tools: Add missing 'f2fslabel' symlink
`f2fslabel` is already built into `f2fs.fsck`, but is missing its symlink
in the final package.

Signed-off-by: Sean Khan <datapronix@protonmail.com>
Link: https://github.com/openwrt/openwrt/pull/15851
Signed-off-by: Robert Marko <robimarko@gmail.com>
2024-07-03 18:51:51 +08:00
coolsnowwolf
0397de1060 mt76: add MediaTek MT7996 (PCIe) support 2024-07-03 14:34:32 +08:00
coolsnowwolf
3a5a4986fa mac80211: Add EHT UL MU-MIMO flag in ieee80211_bss_conf 2024-07-03 14:27:19 +08:00
coolsnowwolf
5d1aadf436 mt76: update to Git HEAD (2024-04-19) 2024-07-03 13:42:54 +08:00
Beginner
12be5cfdd6
kernel: bump 6.1 to 6.1.96 (#12298) 2024-07-03 13:12:10 +08:00
Beginner
79c106c720
kernel: bump 6.6 to 6.6.36 (#12299) 2024-07-03 12:10:03 +08:00
coolsnowwolf
6dfcc5e782 Revert "mediatek: backport a hell of thermal commits"
This reverts commit e1132c36d9.
2024-07-02 23:31:41 +08:00
coolsnowwolf
e5017ff7ca mt76: fix linux kernel 6.1 support for mediatek 2024-07-02 15:58:53 +08:00
coolsnowwolf
e1132c36d9 mediatek: backport a hell of thermal commits 2024-07-02 15:55:07 +08:00
coolsnowwolf
b3e60d1892 generic: sync kernel 6.1 from upstream 2024-07-02 15:24:05 +08:00
coolsnowwolf
2f7ba54f99 mediatek: include fitblk package for subtargets 2024-07-02 13:44:11 +08:00
coolsnowwolf
b9b078da8e base-files: upgrade: nand.sh: mute umount error 2024-07-02 13:16:51 +08:00
coolsnowwolf
319b46b4bd base-files: recognize bootdevice on devices using fitblk 2024-07-02 13:14:41 +08:00
Daniel Golle
ea86509cd1 generic: 6.6: net: ethernet: mediatek: Allow gaps in MAC allocation
Some devices with MediaTek SoCs don't use the first but only the second
MAC in the chip. Especially with MT7981 which got a built-in 1GE PHY
connected to the second MAC this is quite common.
Make sure to reset and enable PSE also in those cases by skipping gaps
using 'continue' instead of aborting the loop using 'break'.

Fixes: 75081235b8 ("generic: 6.6: (re-)add support multiple PPE to mtk_eth_soc")
Reported-by: Daniel Suchy <danny@danysek.cz>
Signed-off-by: Daniel Golle <daniel@makrotopia.org>
2024-07-02 13:02:58 +08:00
Shiji Yang
eb6cb4abf8 kernel: mtd: ubi: avoid attaching "linux,ubi" mtd again
"linux,ubi" compatible MTD device can be automatically attached early
since commit fc153aa8d94f. Therefore, there is no need to attach MTD
devices named "ubi" or "data" again.

Signed-off-by: Shiji Yang <yangshiji66@qq.com>
2024-07-02 13:02:40 +08:00
coolsnowwolf
d0c0f941ad generic: kernel add 6.6 missing symbols 2024-07-02 13:01:05 +08:00
coolsnowwolf
f2d670b67f fstools: update to Git HEAD (2024-01-22) 2024-07-02 12:33:45 +08:00
coolsnowwolf
02b1ec2525 target: x86: add intel-microcode for Intel CPU microcode update 2024-07-02 12:26:11 +08:00
coolsnowwolf
05d2fc3d9b autocore: disable gso offload for some x86 network card hw issue 2024-07-02 12:22:58 +08:00
coolsnowwolf
4d50adb8ef mediatek: filogic: add HF-M7986R1 EMMC Version support 2024-07-02 12:09:12 +08:00
coolsnowwolf
03835617b9 cryptodev-linux: fix build with linux-5.10.220+ 2024-07-01 22:41:46 +08:00
coolsnowwolf
141a53a029 mediatek: filogic: enable HF-M7986R1 emmc support 2024-07-01 16:39:42 +08:00
Daniel Golle
08aaf074b9 mediatek: add support for BananaPi BPI-R4 board
Hardware
--------
SOC:    MediaTek MT7988A (4x Cortex-A73)
RAM:    4 GiB DDR4
Flash:  128 MiB Winbond SPI-NAND
MMC:    8 GiB eMMC *or* microSD (cannot be used both)
ETH:    4x 1GE (1x WAN, 3x LAN)
        2x SFP+ (10G, 5G, 2.5G, 1G)
USB:    on-board USB 3.2 4-port hub
        1x USB 3.2 port (type A connector)
        1x M.2 for 4G/5G modem
        2x mPCIe for additional modems
WiFi:   optional MediaTek MT7996 Wi-Fi 7 module
        (using 2x PCIe gen3 x2 on the mPCIe slots and 12V power)

Installation
------------
1. Decompress and write the sdcard image to a micro SD card and use that
to boot the R4 (both dip switches in upper position).

2. Use the bootloader menu accessible via the serial console to install
to SPI-NAND.

3. Switch to boot from SPI-NAND and install to eMMC.

Signed-off-by: Daniel Golle <daniel@makrotopia.org>
2024-07-01 13:36:10 +08:00
Daniel Golle
21ab9a9f1a uboot-mediatek: update to U-Boot 2024.01 release
Rebase local patches on top of quarterly timed release, allowing to
drop numerous patches which have been accepted upstream since the
release of U-Boot 2023.07.02.

Signed-off-by: Daniel Golle <daniel@makrotopia.org>
2024-07-01 12:33:07 +08:00
Daniel Golle
15d850a5ef arm-trusted-firmware-mediatek: use UBI on new NAND targets
Make use of recently added UBI support in MediaTek's ARM
TrustedFirmware-A on new MT7988 SoC.

Load fip from static UBI volume instead of fixed offset on SPIM-NAND
and SNFI.

Signed-off-by: Daniel Golle <daniel@makrotopia.org>
2024-07-01 12:20:28 +08:00
Daniel Golle
052d09668b package: add fitblk util to release /dev/fit* devices
Add minimalistic tool to allow releasing /dev/fit* devices which is
needed on sysupgrade when using the fitblk driver.
The package is hidden in menuconfig, it should only be selected by
adding it to the default package selection of boards using it.

Signed-off-by: Daniel Golle <daniel@makrotopia.org>
2024-07-01 12:16:32 +08:00
Daniel Golle
8acf60b77e kernel: add pending fitblk uImage.FIT sub-image block driver
Add 'fitblk' driver to replace the rejected/deprecated uImage.FIT
partition parser.
To use the new driver, add phandle /chosen/rootdisk and point it to
the MTD partition, UBI volume or block device holding the uImage.FIT.

Signed-off-by: Daniel Golle <daniel@makrotopia.org>
2024-07-01 12:11:00 +08:00
Daniel Golle
2dd024a02e kernel: allow skipping deprecated uImage.FIT partition parser
In order to allow gradually migrating the boards currently using the
uImage.FIT partition (deprecated/rejected) parser to the new fitblk
driver, skip the partition parser code in case the new fitblk driver
(which serves the same purpose) is used.

As an indicator for the use of the new fitblk driver, check if the
/chosen/rootdisk property is present in the Device Tree.

Signed-off-by: Daniel Golle <daniel@makrotopia.org>
2024-07-01 10:51:32 +08:00
Daniel Golle
b763c5cb75 kernel: move uImage.FIT partition parser to mediatek target
The partition parser approach has been rejected upstream, it will be
replaced by a small block driver which is the solution suggestion by
upstream maintainers.
As the partition parser has only been used by the mediatek target, as
a first step, move it there.

Signed-off-by: Daniel Golle <daniel@makrotopia.org>
2024-07-01 10:39:51 +08:00
coolsnowwolf
78c0839c9b mediatek: filogic: add HF-M7986R1 support 2024-06-30 13:27:48 +08:00
coolsnowwolf
6924a18f35 mt76: add linux kernel 6.6 support for mediatek 2024-06-30 11:12:58 +08:00
coolsnowwolf
aea7d683f1 mediatek: 6.6: refresh patches 2024-06-30 10:44:13 +08:00
Daniel Golle
487e180766 generic: 6.6: (re-)add support multiple PPE to mtk_eth_soc
Now that the issue with WED has been sorted out, re-add support for
multiple PPE to the mtk_eth_soc driver.

Signed-off-by: Daniel Golle <daniel@makrotopia.org>
2024-06-29 22:56:13 +08:00
Liu Tie
7ea44fc419
doc: update the documentation for Mac (#12278) 2024-06-28 23:08:02 +08:00
coolsnowwolf
b75357d1a0 generic: sync kernel 6.6 from upstream 2024-06-27 15:57:09 +08:00
coolsnowwolf
a9dd459fa8 mediatek: switch to Linux version 6.1 2024-06-26 20:13:50 +08:00
Tony Ambardar
d96fcb36df toolchain/musl: add support for renameat2()
Backport an upstream patch to support the renameat2 syscall, added in Linux
3.15 and supported by glibc since 2.28. It is commonly used in filesystem
or security contexts, and needed building upstream kernel bpf selftests.

Link:
https://inbox.vuxu.org/musl/20240421153640.379015-1-Tony.Ambardar@gmail.com/

Signed-off-by: Tony Ambardar <itugrok@yahoo.com>
Link: https://github.com/openwrt/openwrt/pull/15697
Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
2024-06-25 13:45:16 +08:00
coolsnowwolf
b7c03c0fc9 feeds.conf.default: adjust config defaults 2024-06-25 12:17:21 +08:00
Beginner
cd3fe52be6
kernel: bump 5.10 to 5.10.220 (#12265) 2024-06-24 10:01:08 +08:00
coolsnowwolf
2ef8b6a614 fullconenat: make xt_FULLCONENAT autoload 2024-06-23 02:39:58 +08:00
coolsnowwolf
d1bc8d77c6 fullconenat: add libxtables dependence 2024-06-23 02:20:18 +08:00
coolsnowwolf
f06cea1eed qca-nss-ecm: enable iptables NAT loopback 2024-06-22 18:29:27 +08:00
coolsnowwolf
9728c59e9b firewall: add iptables-mod-conntrack-extra by default 2024-06-22 18:16:32 +08:00
coolsnowwolf
39a4bb9bb8 csstidy: move to luci feed 2024-06-22 17:55:14 +08:00
coolsnowwolf
809deeee20 Revert "qca-nss-ecm: add kmod-nat46 as dependencies package"
This reverts commit a93701bee4.
2024-06-22 17:50:09 +08:00
Beginner
847b81b679
kernel: bump 6.6 to 6.6.35 (#12256) 2024-06-22 04:14:04 +08:00
Beginner
0e02e8ae03
kernel: bump 6.1 to 6.1.95 (#12257) 2024-06-22 04:13:43 +08:00
coolsnowwolf
8482b89587 cpufreq: add CPU Scaling adjustment tool 2024-06-21 20:45:27 +08:00