Commit Graph

2078 Commits

Author SHA1 Message Date
coolsnowwolf
f57ce2a85e rockchip: add USB3.0 phy support for RK3328 2023-04-11 16:36:24 +08:00
AmadeusGhost
e4901141b5 mediatek: add support for TP-Link TL-XDR4288
The TP-Link TL-XDR4288 has the same hardware as the
TP-Link TL-XDR6088 except for the wireless part.

Note: WiFi: MT7976DAN (2.4G 2T2R, 5G 3T3R)

Signed-off-by: AnYun <amadeus@openjmu.xyz>
2023-04-09 23:18:51 +08:00
Daniel Golle
4552e6a16c mediatek: introduce KERNEL_LOADADDR to Device/Default template
We need to reset KERNEL_LOADADDR if we use it on a per-device base.
Otherwise the previous value will be kept in case a device doesn't
define KERNEL_LOADADDR and relies on the default.

Move initializing KERNEL_LOADADDR to target/linux/mediatek/image/Makefile,
similar to how it's done also on the ramips target.

This fixes image size related breakage on devices which rely on the
default value of KERNEL_LOADADDR.

While at it use 0x48000000 which is more common than the previous default
0x44000000 for the filogic subtarget.

Fixed: e7c399bee6 ("filogic: add support for ASUS TUF-AX4200")
Signed-off-by: Daniel Golle <daniel@makrotopia.org>
2023-04-09 23:16:05 +08:00
David Bauer
98539e91b2 mediatek: make TUF-AX4200 KERNEL simply expanded
The KERNEL variable was recursively expanded, breaking other devices.

Signed-off-by: David Bauer <mail@david-bauer.net>
2023-04-09 23:13:06 +08:00
XiaoBinin
0d498429b5
rockchip: fix wan port for nanopi r2c (#11091)
Fixes: #11074
2023-04-08 21:28:32 +08:00
coolsnowwolf
04147dcaf5 linux: fir kernel 6.1 upsteam patch 2023-04-07 19:45:34 +08:00
coolsnowwolf
c41a641c37 rockchip: fix FriendlyArm R5C wan/lan LEDs 2023-04-07 00:23:20 +08:00
coolsnowwolf
7b25a55620 Revert "ramips: switch to kernel 5.10"
This reverts commit 977bf86ccd.
2023-04-04 22:53:21 +08:00
Fluxxy
5f8538b5cc
ramips: add support for Bolt BL201 board (#11078)
CPU: MT7620A
RAM: DDR2 64MB
ROM: SPI 16MB
WIFI 5G: MT7612E
2023-04-04 11:38:40 +08:00
zfdx
12e94bfc9c
ramips: kernel 5.10: add mt7620-nand driver(#11076) 2023-04-04 11:35:34 +08:00
Lollipop907
4cbbcf90ba
rockchip:add sharevdi H3399PC support (#11053)
* add sharevdi h3399pc

* Update Makefile

* Add files via upload

* Add files via upload

* rockchip:add sharevdi h3399pc

* rockchip:add sharevdi h3399pc

* rockchip:add sharevdi h3399pc

* rockchip:add sharevdi h3399pc

* Update rk3399-h3399pc.dts

* Update rk3399-h3399pc.dts

* Fix indentation issues

* merge some patches

* merge some patches

* merge some patches

* merge some patches

* merge some patches

* merge some patches

* merge some patches

* merge some patches

* Update rk3399-h3399pc.dts
2023-04-03 03:13:37 +08:00
zfdx
bad53b1207
ramips: fix HiWIFI R33 WIFI Weak signal (#11051) 2023-04-01 15:17:55 +08:00
coolsnowwolf
7088765b10 x86: add ChangWang AD12 (12th Hydrid) model support 2023-03-30 23:28:24 +08:00
coolsnowwolf
5969d62e82 rockchip: add kernel 6.1 support for R5C 2023-03-29 18:25:11 +08:00
coolsnowwolf
e0e0e9c9cb rockchip: add FriendlyElec NanoPi R5C support 2023-03-29 18:13:02 +08:00
coolsnowwolf
977bf86ccd ramips: switch to kernel 5.10 2023-03-29 16:53:25 +08:00
Felix Fietkau
6b2559f0aa linux-firmware: add mt7986 offload firmware
This is needed for WED support on MT7986.
Enable it by default for the filogic subtarget.

Signed-off-by: Felix Fietkau <nbd@nbd.name>
2023-03-28 23:00:04 +08:00
Christian Marangi
9b338b090e generic: 5.15: refresh kernel patches
Refresh kernel patches for generic kernel 5.15 due to new backport
version of MGLRU patchset.

Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
2023-03-27 23:14:03 +08:00
Kazuki H
3020cc8e7d kernel: Update MGLRU patchset
The current patches are old, update them from mainline.
Backports taken from https://github.com/yuzhaogoogle/linux/commits/mglru-5.15

Tested-by: Kazuki H <kazukih0205@gmail.com> #mt7622/Linksys E8450 UBI
Signed-off-by: Kazuki H <kazukih0205@gmail.com>
2023-03-27 23:12:43 +08:00
David Bauer
57ec2f4f11 filogic: add support for ASUS TUF-AX4200
Hardware
--------
SOC:   MediaTek MT7986
RAM:   512MB DDR3
FLASH: 256MB SPI-NAND (Winbond W25N02KV)
WIFI:  Mediatek MT7986 DBDC 802.11ax 2.4/5 GHz
ETH:   MediaTek MT7531 Switch
       MaxLinear GPY211C 2.5 N-Base-T PHY
UART:  3V3 115200 8N1 (Pinout silkscreened / Do not ocnnect VCC)

Installation
------------

1. Download the OpenWrt initramfs image. Copy the image to a TFTP server
   reachable at 192.168.1.66/24. Rename the image to tufax4200.bin.

2. Connect the TFTP server to the AX4200. Conect to the serial console,
   interrupt the autoboot process by pressing '4' when prompted.

3. Download & Boot the OpenWrt initramfs image.

   $ setenv ipaddr 192.168.1.1
   $ setenv serverip 192.168.1.66
   $ tftpboot 0x46000000 tufax4200.bin
   $ bootm 0x46000000

4. Wait for OpenWrt to boot. Transfer the sysupgrade image to the device
   using scp and install using sysupgrade.

   $ sysupgrade -n <path-to-sysupgrade.bin>

Missing features
----------------

 - The LAN port LEDs are driven by the switch but OpenWrt does not
   correctly configure the output.

Signed-off-by: David Bauer <mail@david-bauer.net>
2023-03-26 22:18:00 +08:00
David Bauer
edaba11e4b generic: mxl-gpy: allow configuring LED registers
Add a patch to allow modification of the PHY LED configuration. This is
required for boards, where the reset configuration of LED functions is
incompatibe with the usage of the device LEDs.

This is the case for the ASUS TUF-AX4200 Wireless router. It requires
modification of the LED configuration because as the WAN LED on the
front of the device is driven by the PHY. Without patching, it would
only illuminate in case the Link speed is 100 Mbit/s.

Signed-off-by: David Bauer <mail@david-bauer.net>
2023-03-26 22:14:05 +08:00
David Bauer
2dff7b910a mediatek: enable bootargs-override for filogic subtarget
The ASUS TUF-AX4200 bootloader adds invalid parameters for the rootfs.
Without overwriting the cmdline, the kernel crashes when trying to
attach the rootfs, as OpenWrt uses a different partition than the vendor
OS.

Signed-off-by: David Bauer <mail@david-bauer.net>
2023-03-26 22:12:10 +08:00
David Bauer
fb79a1059d generic: backport Winbond W25N02KV SPI-NAND support
This flash-chip is used on the Asus TUF-AX4200 and TUF-AX6000 routers.

As the filogic target only uses kernel 5.15, skip the 5.10 backport.

Signed-off-by: David Bauer <mail@david-bauer.net>
2023-03-26 22:11:35 +08:00
Kyosuke Nekoyashiki
85fc52c36e mac80211: fixes ath10k sdio support 2023-03-25 23:09:00 +08:00
aiamadeus
edcc283381 r8169: add LED configuration from OF 2023-03-25 23:05:16 +08:00
aiamadeus
ae12d2f77b rockchip: refresh kernel 5.15 config
Also fixes: #11019
2023-03-24 22:28:07 +08:00
aiamadeus
45898e59c5 rockchip: add support for HINLINK OPC-H69K 2023-03-24 22:25:08 +08:00
lovehackintosh
f4acd500a8
kernel: bump to 5.4.238, 5.10.176, 5.15.104, 6.1.21 (#11026)
Signed-off-by: Linhui Liu <liulinhui36@gmail.com>
2023-03-23 07:36:05 +00:00
AmadeusGhost
f9f0739a2b rockchip: move common used parts to dtsi for m68s 2023-03-22 23:08:19 +08:00
mleaf
229ba8e4a3
rockchip: add support for EZPRO Mrkaio M68S PLUS (#11020)
Specifications:

  CPU: RK3568B2 up to 2.0GHz
  NPU: 1TOPS
  RAM: 4GB
  Storage: 32G EMMC
  Ethernet: 2x 2.5G ports

Signed-off-by: mleaf <mleaf90@gmail.com>
2023-03-21 14:20:33 +00:00
lovehackintosh
89e25b5a13
kernel: bump 5.15 to 5.15.103 (#11017)
Fixes sb commit: 138af4d ("kernel: refresh patch")
2023-03-19 11:31:49 +08:00
lovehackintosh
a76ac2ef41
kernel: bump to 5.4.237, 5.10.175 (#11016)
Signed-off-by: Linhui Liu <liulinhui36@gmail.com>
2023-03-18 18:08:42 +08:00
aakkll
4bb2f2f4d3
kernel: bump 6.1 to 6.1.20 (#11013) 2023-03-17 10:09:00 +00:00
coolsnowwolf
57040c4ef2 wwan: add QUECTEL RM500U support 2023-03-16 20:50:05 +08:00
骷髅头
138af4d3cf
kernel:refresh patch (#11005)
* kernel: bump 5.15 to 5.15.102

* kernel:refresh patch
2023-03-16 20:33:33 +08:00
骷髅头
53134b2571
kernel: bump 5.15 to 5.15.102 (#11003) 2023-03-16 16:32:42 +08:00
aiamadeus
4d64db761e rockchip: replace yt8531 patches with upstream 2023-03-12 18:40:31 +08:00
aiamadeus
985fa051b0 kernel: rtl8367b: remove wrong parameter
This is just a workaround to light up the Ethernet port led.
Fixes: 0c40df8 ("ramips: MT7620 add Support HiWiFi R33")
2023-03-12 18:36:12 +08:00
aakkll
1e00936dbf
kernel: bump 6.1 to 6.1.18 (#10987)
Signed-off-by: aakkll <94471752+aakkll@users.noreply.github.com>
2023-03-12 00:28:23 +08:00
aakkll
0f03d8c619
kernel: bump 6.1 to 6.1.16 (#10983)
Signed-off-by: aakkll <94471752+aakkll@users.noreply.github.com>
2023-03-11 11:26:29 +08:00
Nick Hainke
8832a0b868 kernel: move CONFIG_PAGE_POOL to generic
Move "# CONFIG_PAGE_POOL is not set" to generic.

Suggested-by: Hauke Mehrtens <hauke@hauke-m.de>
Signed-off-by: Nick Hainke <vincent@systemli.org>
2023-03-07 21:56:21 +08:00
AmadeusGhost
bbdbb4e8a8 ramips/mediatek: fixes image format 2023-03-06 23:18:04 +08:00
aiamadeus
82690d6c5a rockchip: sync dts changes from upstream 2023-03-05 22:03:37 +08:00
coolsnowwolf
9378091f42 x86: disable Energy-Efficient Ethernet (EEE) for Intel I225/I226 network dropout issues 2023-03-04 10:38:21 +08:00
aakkll
84f10c38ce
kernel: bump to 5.4.234, 5.15.97, 6.1.15 (#10959)
Signed-off-by: aakkll <94471752+aakkll@users.noreply.github.com>
2023-03-04 10:07:21 +08:00
aakkll
d97f82d381
kernel: bump 5.15 to 5.15.96 (#10957) 2023-03-03 11:01:43 +00:00
aakkll
be949a6fed
kernel: bump 5.4 to 5.4.233 (#10955) 2023-03-03 01:55:17 +00:00
zxlhhyccc
c82dd3df02
ipq807x: fix xtr10890 calibration variant (#10954) 2023-03-03 01:54:41 +00:00
coolsnowwolf
4b4ec144ec ramips: reorder Newifi D1/D2 2023-03-02 19:54:08 +08:00
coolsnowwolf
f1edc86983 ramips: oraybox x3a: switch to new hnat driver 2023-03-02 16:15:48 +08:00