Commit Graph

2349 Commits

Author SHA1 Message Date
aakkll
2c67f6832d
kernel: bump 6.1 to 6.1.72 (#11769) 2024-01-14 18:08:32 +08:00
coolsnowwolf
87b3c3e105 kernel: bump 5.4 to 5.4.266 2024-01-13 12:57:22 +08:00
coolsnowwolf
bfb12d78cd toolchain/musl: update to 1.2.4 2024-01-12 14:20:18 +08:00
coolsnowwolf
a5a63865ff target: add loongarch64 support 2024-01-12 10:23:48 +08:00
coolsnowwolf
b055b3b409 generic: init linux kernel 6.6 support 2024-01-12 10:18:22 +08:00
coolsnowwolf
9c8d196759 toolchain/gcc: add loongarch64 new target 2024-01-11 21:14:49 +08:00
Felix Fietkau
6f40d7387d mediatek: fix BPI-R3 wifi mac address
Setting/clearing bits on the first byte of the mac address causes collisions
when using multiple SSIDs on both PHYs. Change the allocation to alter the
last byte instead.

Signed-off-by: Felix Fietkau <nbd@nbd.name>
2024-01-10 22:18:51 +08:00
John Audia
135a4e9540 kernel: bump 5.15 to 5.15.146
Changelog: https://cdn.kernel.org/pub/linux/kernel/v5.x/ChangeLog-5.15.146

All other patches automatically rebased.

Build system: x86_64
Build-tested: ramips/tplink_archer-a6-v3
Run-tested: ramips/tplink_archer-a6-v3

Signed-off-by: John Audia <therealgraysky@proton.me>
2024-01-09 22:58:11 +08:00
aiamadeus
89e25b571e mediatek: add missing nmbm for RG-X60 Pro
The original firmware has nmbm enabled.
2024-01-09 22:51:07 +08:00
Ashley Lee
e2a09540eb
mediatek: add support for Ruijie RG-X60 Pro (#11745)
Informations:
- SoC       : MediaTek MT7986A 2.0GHz
- RAM       : DDR3 512MiB (W634GU6QB)
- Flash     : SPI-NAND 128 MiB (W25N01GVZEIG)
- WLAN      : MediaTek MT7986A integration dual-band WiFi 6
  - 2.4 GHz : b/g/n/ax, MIMO 4x4
  - 5 GHz   : a/n/ac/ax, MIMO 4x4
- Ethernet  : 10/100/1000 Mbps x4 (MediaTek MT7531AE)
              2500Mbps x 1 (Realtek RTL8221B-VB-CG)
- UART      : through-hole on PCB
  - [J500] GND, TX, RX, 3.3V (115200n1)
- Buttons   : Mesh, Reset
- LEDs      : 1x Power (Blue)
                  1x Turbo (Purple)
- Power     : 12 VDC, 3 A

About MAC Address:
+---------+-------------------+-----------+
|         | MAC               | Algorithm |
+---------+-------------------+-----------+
| WAN     | 10:82:3D:XX:XX:9E | label     |
| LAN     | 10:82:3D:XX:XX:9F | label+1   |
| WLAN 2g | 10:82:3D:XX:XX:A0 | label+2   |
| WLAN 5g | 10:82:3D:XX:XX:A1 | label+3   |
+---------+-------------------+-----------+

Signed-off-by: Ashley Lee <code@emtips.net>
2024-01-05 18:30:25 +08:00
Daniel Golle
4fa8c8b72f kernel: include MT7988 Ethernet support in Linux 6.1
Import pending patches adding Ethernet support for MT7988 which are
already present in pending-5.15 also to pending-6.1.

Signed-off-by: Daniel Golle <daniel@makrotopia.org>
2024-01-03 21:38:29 +08:00
Daniel Golle
7f1d1eed6f kernel: backport MT7988 DSA support for Linux 6.1
Patches adding DSA support for MT7988 have been backported to
Linux 5.15 but not to Linux 6.1. Import backports also to Linux 6.1.

Signed-off-by: Daniel Golle <daniel@makrotopia.org>
2024-01-03 21:32:57 +08:00
Hex
606b5ae2ee
x86: increase bios boot partition to 1 MiB (#11741) 2023-12-31 12:40:25 +08:00
Daniel Golle
0609f6dbc4 mediatek: use cpufreq fix suggested by MediaTek
Use suggested fix for mediatek-cpufreq, patch will also be sent
upstream.

Signed-off-by: Daniel Golle <daniel@makrotopia.org>
2023-12-29 22:30:08 +08:00
Sam Shih
d58209efb8 mediatek: add basic mt7988 device tree support
This add basic device tree support for mediatek MT7988 SoC

Signed-off-by: Sam Shih <sam.shih@mediatek.com>
Signed-off-by: Daniel Golle <daniel@makrotopia.org>
2023-12-29 22:28:01 +08:00
Sam Shih
bd6b41e301 mediatek: add mt7988 pinctrl driver support
This adds provisional pinctrl driver support for the MediaTek MT7988 SoC.

Signed-off-by: Sam Shih <sam.shih@mediatek.com>
Signed-off-by: Daniel Golle <daniel@makrotopia.org>
2023-12-28 23:28:24 +08:00
Sam Shih
ba49394aee mediatek: add mt7988 clock drivers support
This adds clock drivers for the MediaTek MT7988 SoC

Signed-off-by: Sam Shih <sam.shih@mediatek.com>
Signed-off-by: Daniel Golle <daniel@makrotopia.org>
2023-12-28 23:26:48 +08:00
Beginner
60707924cc
kernel: bump 5.15 to 5.15.144 (#11728)
Signed-off-by: Beginner-Go <70857188+Beginner-Go@users.noreply.github.com>
2023-12-22 15:47:09 +08:00
Beginner
d0f140b6c3
kernel: bump 5.10 to 5.10.205 (#11730)
Signed-off-by: Beginner-Go <70857188+Beginner-Go@users.noreply.github.com>
2023-12-22 15:43:59 +08:00
Beginner
ccadf36e98
kernel: bump 5.4 to 5.4.265 (#11723) 2023-12-22 10:30:11 +08:00
Beginner
6731232433
kernel: bump 6.1 to 6.1.69 (#11729) 2023-12-22 10:26:57 +08:00
Beginner
ba3c8ab2f3
kernel: bump 5.10 to 5.10.204 (#11721) 2023-12-19 10:30:35 +08:00
Beginner-Go
b36db4e355 kernel: refresh 5.15 patches (#11715) 2023-12-18 22:25:24 +08:00
Beginner
fae6bc8dd8
kernel: refresh 5.10 patches (#11719)
Fixes: #11712
2023-12-18 10:25:13 +08:00
coolsnowwolf
67dcd38678 kernel: bump 5.15 to 5.15.143 2023-12-17 15:38:17 +08:00
aakkll
a316972306
kernel: bump 6.1 to 6.1.68 (#11708) 2023-12-16 12:08:02 +08:00
aakkll
0d2cce288a
kernel: bump 5.4 to 5.4.264 (#11711) 2023-12-16 12:06:10 +08:00
Beginner
37d1429872
kernel: bump 5.10 to 5.10.201 (#11710) 2023-12-16 12:04:17 +08:00
Beginner
3358c91e43
kernel: bump 5.15 to 5.15.142 (#11709) 2023-12-16 12:02:58 +08:00
aiamadeus
1cd3b4e4d0 mediatek: add support for FZS P3 2023-12-15 21:08:13 +08:00
coolsnowwolf
65d8795b3d rockchip: fix kernel 6.1 patch for dfi 2023-12-10 03:00:16 +08:00
coolsnowwolf
3f6bb72ee8 rockchip: add more opp-microvol for new(?) type NanoPi R2S 2023-12-10 02:26:58 +08:00
aakkll
4efca503b9
kernel: bump 5.4 to 5.4.263 (#11695) 2023-12-09 13:09:25 +08:00
aakkll
93443d24b4
kernel: bump 6.1 to 6.1.66 (#11694) 2023-12-09 13:08:34 +08:00
coolsnowwolf
22134ba184 ipq95xx: add initial target support 2023-12-07 22:40:13 +08:00
coolsnowwolf
276ea289ec mediatek: add device pacakges for JDCloud AX6000 2023-12-07 17:34:12 +08:00
coolsnowwolf
09d5ae78b4 mediatek: add support for JDCloud AX6000 2023-12-06 22:08:30 +08:00
Marty Jones
8c95f404aa kernel: backport fixes for realtek r8152
Fixes issues with RTL8156 2.5G USB adapters

- # ethtool eth1
Settings for eth1:
        Supported ports: [ ]
        Supported link modes:   Not reported
        Supported pause frame use: No
        Supports auto-negotiation: No
        Supported FEC modes: Not reported
        Advertised link modes:  Not reported
        Advertised pause frame use: No
        Advertised auto-negotiation: No
        Advertised FEC modes: Not reported
        Speed: 2500Mb/s
        Duplex: Half
        Port: Twisted Pair
        PHYAD: 0
        Transceiver: internal
        Auto-negotiation: off
        MDI-X: Unknown
        Current message level: 0x00000007 (7)
                               drv probe link
        Link detected: yes
- #

- r8152: break the loop when the budget is exhausted
- r8152: Block future register access if register access fails
- r8152: Rename RTL8152_UNPLUG to RTL8152_INACCESSIBLE
- r8152: add vendor/device ID pair for D-Link DUB-E250
- r8152: try to use a normal budget
- r8152: set bp in bulk
- r8152: adjust generic_ocp_write function
- r8152: fix the autosuspend doesn't work
- r8152: Add __GFP_NOWARN to big allocations
- r8152: reduce the control transfer of rtl8152_get_version()
- r8152: remove rtl_vendor_mode function
- r8152: avoid to change cfg for all devices
- r8152: add USB device driver for config selection
- r8152: use napi_gro_frags
- cdc_ether: no need to blacklist any r8152 devices
- cdc_ether: add u-blox 0x1313 composition

Build system: x86_64
Build-tested: bcm2711, rockchip, x86/64
Run-tested: bcm2711/RPi4B, rockchip/nanopi r2s, x86/64

Signed-off-by: Marty Jones <mj8263788@gmail.com>
2023-12-05 22:14:38 +08:00
David Bauer
d7d01fb74d uboot-envtools: fix GL-MT2500 offset
The previous offsets did also work, as they've wrapped back to 0x0.
However, in reality the environment starts at offset 0x0 of the
u-boot-env MMC partition.

Signed-off-by: David Bauer <mail@david-bauer.net>
2023-12-04 21:36:56 +08:00
shiyu1314
f3df2a6bd3
meson: auto-repartition for EMMC (#11679) 2023-12-02 16:08:05 +08:00
John Audia
b512ed9bbb x86/64: set CONFIG_NVME_HWMON=y
CONFIG_NVME_HWMON exposes /sys/class/nvme/nvme0/device/hwmon
to allow sensors (and others) to see NVMe drive health
2023-11-29 22:50:03 +08:00
aiamadeus
1c5492a0c4 x86: increase default swiotlb size to 64MB
Since 802.11be is available, increased default swiotlb size from
32 to 64MB to support up to 2x Qualcomm WiFi 6E/7 network cards.
2023-11-29 22:40:45 +08:00
John Audia
91bce87de4 x86: set CONFIG_X86_AMD_PLATFORM_DEVICE
Needed by AMD processors using Carrizo and later chipsets

Signed-off-by: John Audia <therealgraysky@proton.me>
2023-11-28 22:59:02 +08:00
David Bauer
4fa8f64776 mediatek: add support for GL.iNet GL-MT2500
Hardware
--------
SoC:  MediaTek MT7981BA
RAM:  1GB DDR4 (NANYA NT5AD512M16C4-JR)
MMC:  8GB eMMC (Samsung 8GTF4R)
ETH:  1000Base-T LAN (ePHY)
      2500Base-T WAN (MaxLinear GPY211C)
BTN:  1x Reset Button
LED:  System (blue/white)
      VPN (white)
USB:  1x USB-A (USB 3.0)
UART: 115200 8N1 - Pinout on board next to LAN port
      Don't connect 3.3V!

Known Issues
------------
U-Boot vendor recovery does not seem to accept any images, neither
GL.iNet images nor OpenWrt images. Recovery requires serial access!

Installation
------------
Upload the OpenWrt sysupgrade image to the Gl.iNet Web-UI. Make sure to
not retain existing settings.

Signed-off-by: David Bauer <mail@david-bauer.net>
2023-11-27 22:10:03 +08:00
Daniel Golle
16a099f5d6 mediatek: sync MT7988 USXGMII with SDK driver
The USXGMII driver in SDK was heavily refactored, some bugs have been
fixed and it has switched to use phylink_pcs. Follow up with changes
in SDK driver and sync our on-top-of-mainline driver with the SDK
driver.

Signed-off-by: Daniel Golle <daniel@makrotopia.org>
2023-11-24 23:22:37 +08:00
Daniel Golle
4b44ca4957 mediatek: add driver for built-in 2.5G Ethernet PHY
Add driver for the built-in 2.5G Ethernet PHY found in the MT7988 SoC.
To function the PHY also needs firmware files which have not yet been
published via linux-firmware.

Signed-off-by: Daniel Golle <daniel@makrotopia.org>
2023-11-24 23:20:03 +08:00
Daniel Golle
cce9d689eb mediatek: update pending SoC Ethernet PHY driver
Update driver for MediaTek's built-in Gigabit Ethernet PHYs which can be
found in the MT7981 and MT7988 SoCs.

Signed-off-by: Daniel Golle <daniel@makrotopia.org>
2023-11-24 23:18:04 +08:00
Daniel Golle
a4956e53d0 mediatek: fix, clean and unify SD card image generation
Make sure sub-images on the SD card are size-checked, allow
generating SD card without squashfs and/or initramfs.

Signed-off-by: Daniel Golle <daniel@makrotopia.org>
2023-11-23 22:30:10 +08:00
Daniel Golle
c10f7e39e6 mediatek: mt7623: build SD card without all filesystems
Allow building SD card images without having both initramfs and squashfs
present on the card, just like it has already been done for the mt7622
and filogic subtargets.

Signed-off-by: Daniel Golle <daniel@makrotopia.org>
2023-11-23 22:28:55 +08:00
Daniel Golle
0ad15c2b02 mediatek: backport cpufreq changes to support MT7988
Backport cpufreq changes from upstream so that the MediaTek MT7988 SoC
can be supported.

Signed-off-by: Daniel Golle <daniel@makrotopia.org>
2023-11-22 22:59:06 +08:00