Commit Graph

189 Commits

Author SHA1 Message Date
AmadeusGhost
9a97380321 ipq40xx: add support for hiwifi c526a
cherry-pick commit from LGA1150/openwrt

SOC:	Qualcomm QCA4019 717MHz
RAM:    512M DDR3
FLASH1: 2M en25qh16
FLASH2: 128M NAND
LED:    wan LED
USB:    USB3.0 x 1
POWER:  12V 2.5A
WLAN1:  MT7615 2.4GHz 802.11 b/g/n
WLAN2:  QCA4019 5.2GHz 802.11 n/ac
WLAN3:  QCA4019 5.8GHz 802.11 n/ac
Ethernet: 4 x 1000Mbps (1wan, 3lan)

Installation:
Flash into pbboot and pandorabox, and then:
  mtd erase ubi
  mtd write /tmp/openwrt.ubi ubi
2020-05-03 11:09:27 +08:00
AmadeusGhost
e19377e68b Merge Lean's source 2020-04-30 18:09:47 +08:00
AmadeusGhost
4b53337af7
ipq40xx: correct device packages (#4450) 2020-04-29 13:32:07 +08:00
coolsnowwolf
404ec5fa84 ipq40xx: adjust pacakge 2020-04-27 12:30:22 +08:00
CN_SZTL
0d6d3fd5d8 kernel: bump 4.19 to 4.19.118
Refreshed all patches.

Signed-off-by: CN_SZTL <cnsztl@project-openwrt.eu.org>
2020-04-25 11:08:19 +08:00
AmadeusGhost
099db68667 ipq40xx: switch to ath10k 2020-04-18 11:40:34 +08:00
CN_SZTL
06c80d3dd0
Merge Lean's source 2020-04-15 21:06:54 +08:00
AmadeusGhost
ce149a86b9 ipq806x/4.19: fix error dts for m520
Signed-off-by: AmadeusGhost <42570690+AmadeusGhost@users.noreply.github.com>
2020-04-15 09:35:18 +08:00
AmadeusGhost
f7cdc54602
ipq40xx: add missing device config for rt-ac1300uhp (#4300) 2020-04-14 09:22:11 +08:00
AmadeusGhost
00d40a40ac
ipq40xx: fix support for Asus RT-AC1300UHP in 4.19 (#4285)
RT-AC1300UHP has 256M memory and does not need to use ath10k-ct-smallbuffers.

Signed-off-by: AmadeusGhost <42570690+AmadeusGhost@users.noreply.github.com>
2020-04-12 12:04:02 +08:00
AmadeusGhost
fd72bf35b7 ipq40xx: fix support for Asus RT-AC1300uhp in 4.19
RT-AC1300UHP has 256M memory and does not need to use ath10k-ct-smallbuffers.

Signed-off-by: AmadeusGhost <42570690+AmadeusGhost@users.noreply.github.com>
2020-04-11 19:54:00 +08:00
AmadeusGhost
2cdcee23fb
ipq40xx: device: switch to ath10k-ct (#4239) 2020-04-09 14:00:56 +08:00
lean
a1b538a9f5 ipq40xx: switch to ath10k-ct 2020-04-07 22:44:32 +08:00
CN_SZTL
526a2b4856
Merge Lean's source 2020-04-07 21:24:17 +08:00
lean
2a1f9e6fdf target: add luci-app-music-remote-center 2020-04-07 16:17:22 +08:00
AmadeusGhost
fd954e61e5 ipq40xx: enable ath10k_thermal by default 2020-04-05 11:28:04 +08:00
AmadeusGhost
964490bd53 ipq40xx: improve support for r619ac
This commit enable 128M nand and disable pcie wake by default, pcie is
designed for 4G network cards instead of wireless network cards. Due to
boardname change, we should flash into ubi via opboot/pbboot.
2020-03-26 15:20:46 +08:00
AmadeusGhost
548d409854 ipq40xx/806x: add u9300 4G driver
From @ksong008 dalao
2020-03-23 23:32:19 +08:00
AmadeusGhost
fd76b93998
ipq40xx: add missing label for cm520 (#3935) 2020-03-22 16:38:45 +08:00
CN_SZTL
6d33f0d6be
Merge Lean's source 2020-03-15 16:12:16 +08:00
AmadeusGhost
60326ac7de CM520-79F: add missing label 2020-03-15 15:39:41 +08:00
lean
21d4809d79 ipq40xx: switch back to kernel 4.14 2020-03-15 14:26:30 +08:00
AmadeusGhost
df1779b127
ipq40xx: fix build error on 4.14 (#3786) 2020-03-13 21:34:58 +08:00
CN_SZTL
262363d79c
target/ipq40xx: update Kconfig for kernel 4.14 2020-03-13 21:07:58 +08:00
CN_SZTL
e17aca712d
Merge Lean' ssource 2020-03-13 18:34:46 +08:00
lean
3bef40a0cb kernel: bump to 4.14.172 / 4.19.108 2020-03-13 12:11:40 +08:00
lean
9db10a8cb2 ipq40xx: Qualcomm Crypto Engine fixes 2020-03-13 09:45:45 +08:00
CN_SZTL
22452590e9
Merge Lean's source 2020-03-12 19:42:03 +08:00
LEAN-ESX
de64f40b56 ipq40xx: switch to kernel 4.19 2020-03-12 04:36:40 -07:00
Leon M. George
dd74723386 ipq40xx: add cpximg to flash Compex WPJ428 via bootloader
Generate a cpximg that is compatible with the cpximg loader in Compex' u-boot.
The cpximg loader can be started either by holding the reset button during power
up or by entering the u-boot prompt and entering 'cpximg'.
Once it's running, a TFTP-server under 192.168.1.1 will accept an image
appropriate for the board revision that is etched on the board (e.g. 6A04).

The image can be pushed using tftp:
  tftp -v -m binary 192.168.1.1 -c put openwrt-ipq40xx-generic-compex_wpj428-squashfs-cpximg-6a04.bin

cpximg files can also be used with the sysupgrade utility in stock images.
(add SSH key in luci for root access)

In mkmylofw_32m, the calculation of the "partition size" has been preferred
to just padding the partition as this will result in less block transfers
during flashing (while the additional complexity is bearable).

Signed-off-by: Leon M. George <leon@georgemail.eu>
Co-developed-by: Adrian Schmutzler <freifunk@adrianschmutzler.de>
Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de>
2020-03-11 09:00:53 +08:00
Koen Vandeputte
aee0dfa544 kernel: bump 4.14 to 4.14.172
Refreshed all patches.

Compile-tested on: cns3xxx
Runtime-tested on: cns3xxx

Signed-off-by: Koen Vandeputte <koen.vandeputte@ncentric.com>
2020-03-10 11:16:01 +08:00
CN_SZTL
f0b6095d3b
Merge Lean's source 2020-03-09 17:23:38 +08:00
AmadeusGhost
4c6aeede97
ipq40xx: improve ASUS RT-AC58U support (#3680)
Using ath10k-ct-smallbuffers instead of ath10k, avoid memory explosion.

Signed-off-by: AmadeusGhost <42570690+AmadeusGhost@users.noreply.github.com>
2020-03-09 16:33:28 +08:00
CN_SZTL
42808701c2
luci-app-ssr-plus: fix typo 2020-03-08 15:34:33 +08:00
CN_SZTL
f1d0b0a615
Merge Lean's source 2020-03-05 22:44:55 +08:00
LEAN-ESX
46009b51d9 ipq40xx: less ess_edma ipv6 log output 2020-03-05 06:18:29 -08:00
LEAN-ESX
15b0fffbe9 remove luci-app-pptp-server due to insecure 2020-03-02 00:44:02 -08:00
CN_SZTL
71be03297c
Merge Lean's source 2020-03-02 16:29:04 +08:00
LEAN-ESX
b69fa370e6 luci-app-cpufreq: add cpufreq luci for ipq40xx 2020-03-01 23:50:17 -08:00
AmadeusGhost
691def3cad
kernel: bump to 4.9.214, 4.14.171, 4.19.106 (#3375) 2020-02-29 16:28:07 +08:00
AmadeusGhost
fba627a668 ipq40xx: less log output
This commit fix 7dc881
2020-02-29 11:55:00 +08:00
AmadeusGhost
7dc881dd79 kernel: bump to 4.9.214, 4.14.171, 4.19.106
Remove error commit from
15a0701cdd
2020-02-29 01:23:18 +08:00
Yangbo
ab8daea73a
ipq40xx: add support for MobiPromo CM520-79F (#28) (#3378)
From LGA1150 dalao (https://github.com/LGA1150/openwrt)

Warning: The compiled firmware only supports flashing under OpBoot.

MobiPromo CM520-79F is an AC1300 dual band router based on IPQ4019

Specification:

SoC/Wireless: QCA IPQ4019
RAM: 512MiB
Flash: 128MiB SLC NAND
Ethernet PHY: QCA8075
Ethernet ports: 1x WAN, 2x LAN
LEDs: 7 LEDs
      2 (USB, CAN) are GPIO
            other 5 (2.4G, 5G, LAN1, LAN2, WAN) are connected to a shift
	    register

Signed-off-by: DENG Qingfang <dengqf6@mail2.sysu.edu.cn>

ipq40xx: fix build error for cm520-79f (#30)

This commit fix 94a743ea53

Signed-off-by: AmadeusGhost <amadeus@jmu.edu.cn>

CM520-79F: fix wan port (#33)

This commit fix 223124e

Signed-off-by: AmadeusGhost <amadeus@jmu.edu.cn>

CM520-79F: disable vlan

Co-authored-by: AmadeusGhost <42570690+AmadeusGhost@users.noreply.github.com>
2020-02-28 23:20:23 +08:00
CN_SZTL
3ab67a8217
Revert "kernel: bump to 4.9.214, 4.14.171, 4.19.106 (#3318)"
This reverts commit 4d68a12e34.
2020-02-28 20:50:04 +08:00
AmadeusGhost
a906fdff5b avm_fritzbox-4040: fix build error
From https://forum.openwrt.org/t/builderror-ipq40xx/26747/4, but ???
2020-02-27 22:17:43 +08:00
CN_SZTL
4d68a12e34
kernel: bump to 4.9.214, 4.14.171, 4.19.106 (#3318)
This reverts commit 191ace6dff.
2020-02-27 17:39:41 +08:00
CN_SZTL
59d9e97911
Merge Lean's source 2020-02-27 17:39:13 +08:00
AmadeusGhost
9c87378caa ipq40xx: essedma Time-balanced scheduling
add script to adjust cpu affinity
essedma Time-balanced scheduling:
TX:
CPU:  |3          | |2          | |1          | |0          |
TX-Q: |15-14-13-12| |11-10-09-08| |07-06-05-04| |03-02-01-00|
         ___________|             |             |
         |  ______________________|             |
	 |  |  _________________________________|
         |  |  |
TX-P: |15-11-07-03| |14-10-06-02| |13-09-05-01| |12-08-04-00|
TX-S: |---+--+--+-| |+-----+--+-| |+--+-----+-| |+--+--+----|
       |                |                |                |
RX:    |                |                |                |
CPU:  |3          | |   2       | |      1    | |         0 |
RX-Q: |07-06      | |05-04      | |03-02      | |01-00      |

Signed-off-by: Chen Minqiang <ptpt52@gmail.com>
2020-02-27 10:59:55 +08:00
AmadeusGhost
4d6a354e86 ipq40xx: correct 'disable default vlan tagging'
The essedma driver was disable default vlan tagging.
2020-02-27 08:51:12 +08:00
coolsnowwolf
191ace6dff Revert "kernel: bump to 4.9.214, 4.14.171, 4.19.106 (#3318)"
This reverts commit 01ab5cf3c9.
2020-02-26 16:47:18 +08:00