Commit Graph

6719 Commits

Author SHA1 Message Date
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
coolsnowwolf
a93701bee4 qca-nss-ecm: add kmod-nat46 as dependencies package 2024-06-21 19:04:56 +08:00
coolsnowwolf
dfa2935600 base-files: add TARGET_DEFAULT_LAN_IP_FROM_PREINIT for setting the default LAN IP address and netmask 2024-06-21 18:37:12 +08:00
coolsnowwolf
f2f2ca1e5c quectel_QMI_WWAN: add linux 6.6 kernel support 2024-06-21 18:09:43 +08:00
Beginner
de0b0aa0b7
kernel: bump 6.6 to 6.6.34 (#12252) 2024-06-21 10:01:05 +08:00
John Audia
6ba427f2f3 openssl: update to 3.0.14
Major changes between OpenSSL 3.0.13 and OpenSSL 3.0.14 [04-Jun-2024]

* Fixed potential use after free after SSL_free_buffers() is called.
  [CVE-2024-4741]
* Fixed checking excessively long DSA keys or parameters may be very slow.
  [CVE-2024-4603]
* Fixed an issue where some non-default TLS server configurations can cause
  unbounded memory growth when processing TLSv1.3 sessions. An attacker may
  exploit certain server configurations to trigger unbounded memory growth that
  would lead to a Denial of Service.  [CVE-2024-2511]
* New atexit configuration switch, which controls whether the OPENSSL_cleanup
  is registered when libcrypto is unloaded. This can be used on platforms
  where using atexit() from shared libraries causes crashes on exit

Signed-off-by: John Audia <therealgraysky@proton.me>
2024-06-20 23:10:26 +08:00
coolsnowwolf
6f4bb7ec57 ipq-wifi: JDCloud AX6600 bdf file 2024-06-19 21:53:05 +08:00
coolsnowwolf
32c934ed2c ipq-wifi: add JDCloud AX1800 Pro bdf file 2024-06-19 19:18:05 +08:00
coolsnowwolf
88d69f5edc package: nss-firmware: add Qualcomm IPQ5018 support 2024-06-18 15:05:11 +08:00
coolsnowwolf
a95c23c180 qualcommax: ipq60xx: add JDCloud AX1800 Pro and AX6600 support 2024-06-18 15:02:07 +08:00
coolsnowwolf
0f039195d0 qualcommax: ipq807x: fix IPQ807x devices NSS build and nss-firmware 2024-06-17 15:10:08 +08:00
coolsnowwolf
edb64fde27 qualcommax: ipq807x: add IPQ807x devices NSS support 2024-06-17 14:43:14 +08:00
Beginner
c1573c8ac8
kernel: bump 6.1 to 6.1.94 (#12245) 2024-06-17 14:15:10 +08:00
Beginner
5e947a9df9
kernel: bump 5.4 to 5.4.278 (#12247) 2024-06-17 12:30:01 +08:00
Beginner
781b3b4c0b
kernel: bump 5.10 to 5.10.219 (#12246) 2024-06-17 10:00:02 +08:00
Beginner
330337a644
kernel: bump 5.15 to 5.15.161 (#12243) 2024-06-16 22:41:02 +08:00
Beginner
89db9c4050
kernel: bump 6.6 to 6.6.33 (#12236) 2024-06-16 18:35:31 +08:00
Christian Marangi
a8156c5d10 generic: 6.1: backport patch adding support for LED PHY
Backport patch adding support for LED PHY directly in PHY ops struct.
Add new PHYLIB_LEDS config and refresh patches.

Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
2024-06-16 17:26:04 +08:00
Christian Marangi
8340d2f0ea generic: 6.1: backport LEDs patch adding modes
Backport LEDs patch adding additional modes for split link speed and
half/full duplex state.

Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
2024-06-16 17:23:40 +08:00
Christian Marangi
df60447f3e generic: 5.15: qca8k: backport code split patch
Backport upstream code split patch for qca8k needed for ipq40xx target
to correctly implement a DSA driver.

Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
2024-06-16 17:20:26 +08:00
Christian Marangi
fb661b4744 generic: backport initial LEDs hw control support
Backport initial LEDs hw control support. Currently this is limited to
only rx/tx and link events for the netdev trigger but the API got
accepted and the additional modes are working on and will be backported
later.

Refresh every patch and add the additional config flag for QCA8K new
LEDs support.

Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
2024-06-16 17:16:13 +08:00
coolsnowwolf
eb557774e2 qualcommax: add ipq8074-nss.dtsi for IPQ807x devices NSS support 2024-06-15 23:22:45 +08:00
coolsnowwolf
7b6fe1d69a qualcommax: ipq60xx: add Xiaomi RM1800 (AX5) wireless support 2024-06-15 23:07:03 +08:00
coolsnowwolf
ca0d93bec8 Version update to R24.6.6 2024-06-15 18:00:04 +08:00