Commit Graph

69 Commits

Author SHA1 Message Date
Tianling Shen
8d9ab9fe0d
ar71xx: hardcode VERSION_DIST for mkdapimg2
Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
2021-09-14 03:26:28 +08:00
Tianling Shen
bc54e5ea6e
ar71xx: tiny: add missing mkbuffaloimg method
Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
2021-09-13 07:59:14 +08:00
Leonardo Mörlein
2a821d862c
build: introduce $(MKHASH)
Before this commit, it was assumed that mkhash is in the PATH. While
this was fine for the normal build workflow, this led to some issues if

    make TOPDIR="$(pwd)" -C "$pkgdir" compile

was called manually. In most of the cases, I just saw warnings like this:

    make: Entering directory '/home/.../package/gluon-status-page'
    bash: line 1: mkhash: command not found
    bash: line 1: mkhash: command not found
    bash: line 1: mkhash: command not found
    bash: line 1: mkhash: command not found
    bash: line 1: mkhash: command not found
    bash: line 1: mkhash: command not found
    bash: line 1: mkhash: command not found
    bash: line 1: mkhash: command not found
    [...]

While these were only warnings and the package still compiled sucessfully,
I also observed that some package even fail to build because of this.

After applying this commit, the variable $(MKHASH) is introduced. This
variable points to $(STAGING_DIR_HOST)/bin/mkhash, which is always the
correct path.

Signed-off-by: Leonardo Mörlein <me@irrelefant.net>
Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
2021-05-13 22:49:42 +08:00
AmadeusGhost
f39e4b370b ar71xx: add support for Lute ZK400
Hardware Highlights:
- SoC: Qualcomm Atheros AR9531 (650MHz)
- RAM: 128 MB
- Flash: 16 MB SPI NOR
- Ethernet: 10/100: 1x WAN, 4x LAN
- Wireless: QCA9531 2.4GHz (bgn)
- Button: 1x reset button
- LED: SYS, WAN, Wireless, LAN 1~4

Installation:
 Configure PC with static IP 192.168.1.x, connect PC with one of RJ45
 ports, press the reset button and power up device. Open 192.168.1.1
 address in your browser and upload sysupgrade image.

Signed-off-by: AmadeusGhost <amadeus@jmu.edu.cn>
2020-11-01 11:50:37 +08:00
Sungbo Eo
50a054a3a1 build: image: move IMAGE_SIZE to image.mk
IMAGE_SIZE is widely used in many targets. Declare it in the default template to
clean up redundant code. This also prevents deriving IMAGE_SIZE unintentionally
from the previously defined device.

While at it, remove duplicate KERNEL_SIZE declaration.

Signed-off-by: Sungbo Eo <mans0n@gorani.run>
2020-09-21 20:00:35 +08:00
AmadeusGhost
4cf0a1154f Merge Lean's source 2020-06-23 18:36:07 +08:00
coolsnowwolf
ecbbfcf25e ar71xx: unlock GL.net uboot part 2020-06-17 17:50:02 +08:00
Adrian Schmutzler
f819bcdaaf ar71xx: fix splitting firmware partition for TL-WR902AC v1
The -O option for the tplink-v1-header was missing for the TP-Link
TL-WR902AC v1, while safeloader and MTDPARTS where set up with a
single firmware partition.

This led to bootloops after using sysupgrade.

Fixes: FS#3118

Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de>
2020-05-30 11:30:59 +08:00
AmadeusGhost
1457fa8e97
ar71xx: add support for TP-LINK TL-WDR8500 v1 (#4615)
This commit add support for the TP-LINK TL-WDR8500 v1

SOC:	Qualcomm QCA9563 775MHz
RAM:    128MB M14D1G1664A-2.5B DDR2
FLASH:  8MB Winbond 25Q64FVSIG
WLAN1:  QCA9563 2.4GHz 802.11b/g/n 3x3
WLAN2:  QCA9984 5GHz 802.11 n/ac 4x4
Ethernet: 5 x 1000Mbps (1wan, 4lan)

Installation via breed:
Flash into breed-qca956x-uart_rx18_tx22-reset1.bin,
and then edit the environment variables:
  Field: autoboot.command
  Value: boot mem 0x9f020200

From https://www.right.com.cn/forum/thread-328619-1-1.html

Signed-off-by: AmadeusGhost <42570690+AmadeusGhost@users.noreply.github.com>
2020-05-20 10:00:51 +08:00
haxc
071645c698
Repair generate mw4530r firmware default is 8M (#3732)
* ath79: add support for TP-Link TL-WR882N/WR885N/WR886N

This adds support for the various clones of the TL-WR885N recently
supported  ("ath79: add support for TP-Link TL-WR885N v1"):

- tplink,tl-wr882n-v1
- tplink,tl-wr882n-v2
- tplink,tl-wr882n-v3
- tplink,tl-wr885n-v1
- tplink,tl-wr885n-v2
- tplink,tl-wr886n-v2
- tplink,tl-wr886n-v3
- tplink,tl-wr886n-v4
- tplink,tl-wr886n-v5
- tplink,tl-wr886n-v6
- tplink,tl-wr886n-v7

These devices are cloned in ar71xx. All models added in this patch are the same hardware CPU

WR885n V2 was tested.

Specifications:
- SOC: Qualcomm Atheros TP9343-AL3A
- CPU: 750MHz
- Flash: 2 MiB (AH1446 25Q16BS1G E5N102)
- RAM: 16 MiB (Zentel A3S28D40JTP-50)
- WLAN: Qualcomm Atheros TP9343 450Mbps
- Ethernet: Atheros AR8228/AR8229  4 port (100M)

添加TP9343芯片的路由器型号支持,TL-WR882N/WR885N/WR886N系列

* ath79: add support for MerCury MW4530R v1

重新添加水星MW4530R路由器支持

* Repair generate mw4530r firmware default is 8M
2020-03-11 23:03:04 +08:00
Xiaok
2cef70802e
ar71xx: Add support for TL-WR702N (#3469) 2020-03-02 21:58:19 +08:00
Xiaok
520ddddf1d
ar71xx: Add support for TL-WDR5800 v1 (#3466) 2020-03-02 11:52:17 +08:00
练亮斌
581d6c22cd
luci-app-ssr-plus: add Trojan subscribe support (#3388)
* add tl-wr720n-v3-16m

* luci-app-ssr-plus: support trojan subscribe.
2020-02-28 23:19:38 +08:00
haxc
3cde517a11
ath79: add support for TP-Link TL-WR882N/WR885N/WR886N (#3307)
* ath79: add support for TP-Link TL-WR882N/WR885N/WR886N

This adds support for the various clones of the TL-WR885N recently
supported  ("ath79: add support for TP-Link TL-WR885N v1"):

- tplink,tl-wr882n-v1
- tplink,tl-wr882n-v2
- tplink,tl-wr882n-v3
- tplink,tl-wr885n-v1
- tplink,tl-wr885n-v2
- tplink,tl-wr886n-v2
- tplink,tl-wr886n-v3
- tplink,tl-wr886n-v4
- tplink,tl-wr886n-v5
- tplink,tl-wr886n-v6
- tplink,tl-wr886n-v7

These devices are cloned in ar71xx. All models added in this patch are the same hardware CPU

WR885n V2 was tested.

Specifications:
- SOC: Qualcomm Atheros TP9343-AL3A
- CPU: 750MHz
- Flash: 2 MiB (AH1446 25Q16BS1G E5N102)
- RAM: 16 MiB (Zentel A3S28D40JTP-50)
- WLAN: Qualcomm Atheros TP9343 450Mbps
- Ethernet: Atheros AR8228/AR8229  4 port (100M)

添加TP9343芯片的路由器型号支持,TL-WR882N/WR885N/WR886N系列

* ath79: add support for MerCury MW4530R v1

重新添加水星MW4530R路由器支持
2020-02-24 21:31:36 +08:00
coolsnowwolf
d71d9d1949 ar71xx: NETGEAR WNDR4300 ubi extend to 128M 2020-01-24 12:44:27 +08:00
huah0235
59f2142543 add wdr6500v6 support (#1421) 2019-06-28 23:34:11 +08:00
coolsnowwolf
c3bb5f072f ar71xx: add SGR-W500-N85b v2.0 and TL-WDR3227 v2(ar934x+ar8035) support 2019-04-18 12:53:34 +08:00
coolsnowwolf
4482d1997f ar71xx: fix ARRIS SBR-AC1750 web upgrade support 2019-02-14 01:29:51 +08:00
coolsnowwolf
d6e47bc8c2 ar71xx: sbr-ac1750 modified the MAC address of eth0 and the size of rootfs1 2019-01-18 14:21:28 +08:00
coolsnowwolf
83bafa8ab0 fix sbr-ac1750 MAC address and 5G 2019-01-16 12:30:37 +08:00
coolsnowwolf
e665a4ff0b ARRIS SBR-AC1750: generate kernel1.bin and rootfs1.bin for factory flash 2019-01-15 11:57:01 +08:00
coolsnowwolf
4c8a7bbb35 ar71xx: add support for sbr-ac1750 board from Mleaf 2019-01-14 17:29:32 +08:00
coolsnowwolf
f36dc71bf0 Revert "ar71xx: add ARRIS SBR-AC1750 router support"
This reverts commit 0eb7df2503.
2019-01-14 17:27:10 +08:00
coolsnowwolf
0eb7df2503 ar71xx: add ARRIS SBR-AC1750 router support 2019-01-13 22:21:41 +08:00
coolsnowwolf
d24aebd9c6 move k2t support in ar71xx 2019-01-02 21:13:56 +08:00
coolsnowwolf
59a6964da8 luci ssr plus: run only a instance when tcp and udp are the same 2018-11-12 13:51:30 +08:00
coolsnowwolf
a314c24970 mod Netgear 3800 default package 2018-10-20 15:11:00 +08:00
imbrolla
ccf0551555 add TP-LINK TL-880n v1 881n v1 2041n v1 2041n v2 (#651)
* Update mach-tl-wr941n-v7.c

* Update config-4.14

* Update config-4.9

* Update config-default

* Update 01_leds

* Update 02_network

* Update 01_leds

* Update diag.sh

* Update platform.sh

* Update ar71xx.sh

* Update config-4.9

* Update config-4.9

* Update config-4.14

* Update config-default

* Update config-default

* Update tiny-tp-link.mk

* Update generic-tp-link.mk

* Update 02_network

* Update mach-tl-wr941n-v7.c

* Update mach-tl-wr941n-v7.c
2018-10-12 22:23:12 +08:00
imbrolla
f9931d346b
Update generic-tp-link.mk 2018-09-30 04:34:36 +08:00
coolsnowwolf
a2f8e14276 mac80211: make ath10k the default ath10k-ct 2018-09-28 11:00:40 +08:00
coolsnowwolf
e7a048f438
Merge pull request #537 from mcucore/master
add TP-Link WR941N V7 support
2018-09-27 13:04:09 +08:00
coolsnowwolf
4d1bf340d1 wireless drivers upgreade to 4.19-rc4-1. fix many MTK driver issue. ath10k change to ath10k-ct 2018-09-26 23:33:12 +08:00
McuCore
b4068d7818 add TP-Link WR941N V7 support 2018-09-09 22:07:31 +08:00
coolsnowwolf
2ca861b5a9 add kernel 4.14 support for ar71xx 2018-09-08 16:01:41 +08:00
coolsnowwolf
d6e0f22185 add TP-link 8M rom router support 2018-08-24 14:33:39 +08:00
coolsnowwolf
9ba04fd0d7 sync with OpenWrt v18.06.1 stable new R8.1 version 2018-08-23 17:40:23 +08:00
coolsnowwolf
63e916e125 rever TP link 8MB rom support 2018-06-13 17:03:43 +08:00
coolsnowwolf
bce04f5924 switch ar71xx to kernel 4.14 (including K2T 2018-06-13 10:39:07 +08:00
coolsnowwolf
ad21a419df fix Phicomm K2T A3 board support 2018-06-10 14:45:46 +08:00
coolsnowwolf
975b876d5e fix K2T GMAC0 connect to SMGII interface 2018-06-10 02:22:54 +08:00
coolsnowwolf
9662a5330f make K2T image format upgrade from Breed 2018-06-08 18:15:07 +08:00
coolsnowwolf
344413e843 update ar71xx profile 2018-06-08 15:24:46 +08:00
coolsnowwolf
118cd55d51 fix K2T mac address 2018-06-08 12:19:33 +08:00
coolsnowwolf
91f28ecb47 add Phicomm K2T support 2018-06-08 11:41:48 +08:00
coolsnowwolf
e3aadb1ec1 re-add TP-link 941N v7 and update Samba4 po 2018-05-21 14:29:37 +08:00
coolsnowwolf
8fe0636b8a Merge branch 'master' of github.com:lede-project/source 2018-04-23 18:50:49 +08:00
coolsnowwolf
20f7e75789 update to R7.5.4 2018-01-15 18:26:41 +08:00
coolsnowwolf
5878dd27de add TL-link 941N v7 4m to tiny target 2018-01-14 23:12:38 +08:00
coolsnowwolf
66dbc4d0d7 add support for tiny kernel for ar71xx (Tplink 4M or DW33D etc) 2018-01-14 22:22:06 +08:00
coolsnowwolf
6f413dab28 extend wndr4300/3700v4 rom to 128MB 2018-01-13 15:29:07 +08:00