Commit Graph

2092 Commits

Author SHA1 Message Date
kos a95c134a16 打开lcd背光灯 2023-08-22 05:58:09 +00:00
kos bed563eb01 调整下依赖 2023-06-15 16:41:01 +00:00
kos e1ce21f5a8 新增pon口路由初始化脚本,使其在下级路由也能正常访问猫棒,默认猫棒ip固定为192.168.0.10,脚本可以酌情修改 2023-06-14 09:48:05 +08:00
kos 5e3fc8b566 修正network初始化的配置文件 2023-06-14 09:15:52 +08:00
icevel 8b482e4a3e support rtl8367s sfp port 2023-05-30 05:19:14 +00:00
icevel 977fe03c55 fix sv901 rtl8367s&led;add support for lcd&wifi 2023-04-28 09:01:50 +00:00
icevel 4f140c1e60 fix sv901 rtl8367s&led;add support for lcd&wifi 2023-04-28 08:56:40 +00:00
icevel a6bc91008d add support for sv901-eaiov1.0,rtl8367s ok 2023-04-21 15:28:05 +00:00
Robert Marko 0385722fc8 kernel: filter out pahole version
Pahole version is being autodetected during runtime since kernel 5.15.96
via in-kernel scripts/pahole-version.sh so add CONFIG_PAHOLE_VERSION to
kernel filter in order to prevent it from being added to target configs.

Signed-off-by: Robert Marko <robimarko@gmail.com>
2023-04-15 23:50:12 +08:00
Joe Mullally 65699f26ff kernel: add support for XMC XM25QH64C
The XMC XM25QH64C is a 8MB SPI NOR chip. The patch is verified on TL-WPA8631P v3.
Datasheet available at https://www.xmcwh.com/uploads/442/XM25QH64C.pdf

Signed-off-by: Joe Mullally <jwmullally@gmail.com>
2023-04-15 23:48:46 +08:00
Daniel Golle 4b09a33498 generic: move accepted patch to backport-5.15
The patch adding SFP quirk for MXPD 483II was accepted upstream and
will be part of Linux v6.3:
https://git.kernel.org/pub/scm/linux/kernel/git/netdev/net-next.git/commit/?id=ad651d68cee75e9ac20002254c4e5d09ee67a84b

Move the patch from pending-5.15 to backport-5.15.

Signed-off-by: Daniel Golle <daniel@makrotopia.org>
2023-04-15 23:45:53 +08:00
AmadeusGhost 61b7a5aa75 Revert "rockchip: rk3568 overclock to 2.2GHz"
This reverts commit c28b7a5625.
2023-04-14 23:54:06 +08:00
aakkll 8a9cd422ff
kernel: bump 6.1 to 6.1.24 (#11110) 2023-04-14 15:10:41 +08:00
AmadeusGhost c28b7a5625 rockchip: rk3568 overclock to 2.2GHz
No sense, use at your own risk.
2023-04-12 00:29:13 +08:00
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