Commit Graph

417 Commits

Author SHA1 Message Date
Misanthropos
b4c75a9879 lantiq-xway: add support for AVM FRITZ!Box 7312 2019-11-06 18:58:45 +01:00
David Bauer
7f858b1c6d ipq806x-generic: remove BROKEN flag for target and NETGEAR R7800
This commit removes the broken flag for the ipq806x-generic target,
as the first device (NETGEAR R7800) now has full support in Gluon
2019-11-05 20:24:05 +01:00
David Bauer
e3bdfeefa1 ipq806x: rename target to ipq806x-generic
This commit accounts for the target renaming which was done in upstream
commit 7407e723991 ("ipqx0xx: add Generic subtarget")
2019-11-04 17:22:46 +01:00
David Bauer
88e6bc5278 ipq40xx: rename target to ipq40xx-generic
This commit accounts for the target renaming which was done in upstream
commit 7407e723991 ("ipqx0xx: add Generic subtarget")
2019-11-04 17:22:46 +01:00
David Bauer
ab2efef7f9 mpc85xx-p1020: add support for OCEDO Panda (#1847) 2019-11-03 18:59:00 +01:00
David Bauer
9dba2ca580 ramips-mt76x8: add support for GL.iNet VIXMINI 2019-10-30 14:38:48 +01:00
David Bauer
ac971f88e8 mvebu-cortexa9: rename Linksys WRT1200AC 2019-10-30 00:06:14 +01:00
David Bauer
825577f6df ramips-mt7621: fix sysupgrade extension for ER-X 2019-10-30 00:06:14 +01:00
Martin Weinelt
ba3415059c ar71xx-generic: drop ALFA N2, N5, Tube2H and Hornet-UB
Their kernel partition is too small, the OpenWrt build system
is unable to create an image.
2019-10-30 00:06:14 +01:00
David Bauer
82cdd5f808 targets: adapt ath10k selection to OpenWrt 19.07
This changes the ath10k firmware and driver selection, as
ath10k-ct is now the default in upstream OpenWrt.

However, for 802.11s operation we need the QCA firmware and driver.
2019-10-30 00:06:14 +01:00
David Bauer
09780191cb targets: remove wpad-basic by default
This is necessary, as wpad-basic conflicts with hostapd-mini.
2019-10-30 00:06:14 +01:00
David Bauer
3522197ff9 ar71xx-generic: add missing ath10k packages (#1844)
This adds previously absent ath10k packages definitions. This way,
devices correctly select CandelaTech firmware correctly, when
GLUON_WLAN_MESH is set to IBSS.

This is also necessary for all devices, when OpenWrt is switched to
19.07.
2019-10-22 02:15:35 +02:00
Marssl78
b823b80356 ar71xx-generic: add support for TP-Link Archer C60 v2 (#1840) 2019-10-06 22:11:02 +02:00
Andreas Ziegler
94ca071e12 ar71xx-generic: fix device alias for Ubiquiti UniFi AC LR
fixes #1834
fixes #1332
2019-10-03 21:22:12 +02:00
David Bauer
ea24298f2d ar71xx-generic: add ath10k packages to OCEDO Koala (#1838)
The OCEDO Koala was missing the correct package definition. Because of
this, firmware is potentially built with the wrong ath10k firmware /
driver.
2019-10-03 01:44:20 +02:00
Andreas Ziegler
07fe28c855
ar71xx-generic: add zram-swap to boards with 8M flash but only 32M memory (#1819) 2019-09-23 09:54:54 +02:00
Martin Weinelt
be965e7e4a ar71xx-generic: deprecate ALFA AP121, Hornet-UB, Tube2H, N2/N5
The kernel partition on these devices is too small for the
OpenWrt 19.07 kernel. It is also located after the rootfs, so
we cannot grow it further.

Therefore mark these devices as deprecated now.
2019-09-20 17:02:41 +02:00
Andreas Ziegler
b113e0f517
ramips-rt305x: remove opkg and USB packages from 4M flash boards (#1807)
reduce size by removing dispensable packages,
to fix builds of this target in most cases.
2019-09-14 13:24:37 +02:00
Martin Weinelt
61bd88309e Revert "ar71xx-generic: unmark archer-c25-v1 as broken"
This reverts commit fb08e10494.

Devices featuring ath10k radios should at least 128 MB of memory
as their driver is quite memory hungry.

Devices with a configuration (1x ath10k, 64M memory) like this have
often been seen as running out of memory.
2019-08-18 19:32:43 +02:00
David Bauer
35bde952e1 ramips-mt7621: add missing broken flg for ASUS RT-AC57U 2019-08-15 15:53:04 +02:00
Simon Terzenbach
c124f6f410 mcp85xx-p1020: add support for Aerohive HiveAP 330 2019-08-13 13:25:20 +02:00
Vincent Wiemann
0a22218304 ar71xx-generic: Fix packages for GL.iNet AR750 (#1792)
The profile for GL.iNet AR750 currently selects ATH10K_PACKAGES, but this device actually has a QCA9887 which needs another driver.
This commit fixes the issue by setting ATH10K_PACKAGES_QCA9887 instead.
2019-08-10 10:17:29 +02:00
Simon Terzenbach
c37644e004
ar71xx-nand: add support for Aerohive HiveAP 121 2019-08-02 00:37:26 +02:00
David Bauer
9abce01e87 ramips: add support for ASUS RT-AC57U (#1786) 2019-07-13 14:32:22 +02:00
Andreas Ziegler
350fe73fe5 ramips-mt76x8: add support for TP-Link TL-MR3420 v5 2019-07-08 14:29:00 +02:00
Adrian Schmutzler
851dfc6a93 ar71xx-generic: Add support for TP-Link CPE210 V3 (#1696)
Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de>
2019-06-29 14:49:54 +02:00
Martin Weinelt
fb08e10494
ar71xx-generic: unmark archer-c25-v1 as broken
memory usage seems to behave more reasonable for a while now
2019-06-28 01:58:35 +02:00
Matthias Schiffer
09a09d634a
scripts: avoid global variables in target handler scripts 2019-06-18 01:34:45 +02:00
Matthias Schiffer
8e00149f11
targets: add deprecated flags as appropriate 2019-06-15 23:34:07 +02:00
Matthias Schiffer
071cf7b20f
Switch to Lua for target definitions
The old bash-based parsing code was way too complex. Replace it with Lua.
2019-06-15 23:34:07 +02:00
Matthias Schiffer
a44a5dce02
ar71xx: Onion Omega is BROKEN
This device doesn't have an Ethernet port, and even with the Ethernet
shield, eth0 is not configured.
2019-06-15 23:30:23 +02:00
Matthias Schiffer
0970dd3e01
targets: unset executable mode for target files
For some reason, some of the target files were executable.
2019-06-12 14:15:25 +02:00
Petr Štetiar
9dc1ac7f58
build: replace hardcoded paths with overridable variables
Signed-off-by: Petr Štetiar <ynezz@true.cz>
2019-04-22 22:00:45 +02:00
Tata
12b87b2441 ipq40xx: add jalapeno from 8devices (#1706)
Signed-off-by: Jan-Tarek Butt <tarek@ring0.de>
2019-04-19 15:15:00 +02:00
Matthias Schiffer
134a6460a7
build: move hostapd-mini package from generic target to Makefile
By passing the package name through merge_packages, it becomes possible to
override the package choice in GLUON_SITE_PACKAGES again, for example:

	GLUON_SITE_PACKAGES += -hostapd-mini hostapd
2019-04-19 13:53:09 +02:00
bobcanthelpyou
2ce07ae2fe ar71xx: add support for TP-Link TL-WR840N v2 (#1697) 2019-04-12 01:32:11 +02:00
Andreas Ziegler
b5b2a2176b ar71xx: remove redundancy from 2 target specifications 2019-03-31 17:45:24 +02:00
Manu.WTF
3b0e5fab71 ramips-mt7620: add support for Xiaomi MiWifi Mini (#1638) 2019-03-29 12:43:05 +01:00
David Bauer
a9a4abb637 ipq806x: add support for NETGEAR R7800 (#1669)
The device is broken until the next release. The LEDs are currently not
working (fixed in current OpenWRT master).

Also give a brief explanation about the BROKEN status being dependent on
the WiFi chip used and not the SoC family in general.
2019-03-28 14:49:17 +01:00
Manu.WTF
917d6af299 ar71xx: add support for D-Link DAP-1330 (#1672) 2019-03-15 23:35:35 +01:00
Martin Weinelt
ce8cf1b900
ramips-mt76x8: fix image name for wr841n v13 2019-03-14 04:58:19 +01:00
David Bauer
5b97b07f6a ramips-mt76x8: add support for Netgear R6120 (#1650) 2019-02-16 14:41:48 +01:00
Steffen Förster
7b092e1e13 ramips-mt7620: add support for ASUS RT-AC51U (#1642) 2019-02-09 23:31:58 +01:00
David Bauer
1ace3d5bb0 ramips-mt76x8: add support for TP-Link Archer C50 v4 (#1641)
This backports the TP-Link Archer C50 v4.

We are dropping the following upstream commits. They add support for the
TP-Link recovery-flag which enabled the web-recovery. As they are not
needed for the router to work, we drop them for now.

28cd2ca base-files: sysupgrade: support additional mtd options
1e06482 mtd: add logic for TP-Link ramips recovery magic
2019-02-08 02:48:09 +01:00
oszilloskop
b9cf102f46 ar71xx: fix incorrect gl-ar150 and gl-ar300m image names (#1640)
also added manifest aliases for gl-ar150, gl-ar300m, gl-ar750
2019-02-07 01:55:07 +01:00
txt-file
97485dcecf target x86-*: change from ext4 to squashfs (#1634)
This allows for smaller firmware images and makes it possible to reset a
device via firstboot command.

Signed-off-by: Matthias Fritzsche <matthias@chemnitz.freifunk.net>
2019-02-03 23:57:16 +01:00
Martin Weinelt
9342e31d45
brcm2708-bcm2708: add manifest alias for Raspberry Pi Model B Plus Rev 1.2 2019-02-03 21:15:32 +01:00
Matthias Fritzsche
3abadc286f ar71xx-mikrotik: remove kmod-ath5k package
ath5k supports only IEEE 802.11 a/b/g

Signed-off-by: Matthias Fritzsche <matthias@chemnitz.freifunk.net>
2019-01-29 12:54:30 +01:00
Matthias Fritzsche
cecfe03839 ar71xx-mikrotik: add missing OpenWrt image types
Signed-off-by: Matthias Fritzsche <matthias@chemnitz.freifunk.net>
2019-01-29 12:54:01 +01:00
Malte Moeller
692f61ec5a change device identifier to match machine identifier
this matches the output of
lua -e 'print(require(platform_info).get_image_name())'

This way the manifest file is accepted by the autoupdater
2019-01-18 23:33:05 +01:00
Manu.WTF
04cca280a1 ramips-mt7620: add support for Nexx WT3020 (8M) 2019-01-17 22:42:10 +01:00
David Bauer
55d2acd709 ramips-mt76x8: remove broken flag (#1608)
This commit removes the broken flag from all devices in the mt76x8
subtarget.

The stability of the mt76 driver for the mt7628 and mt7612 has greatly
improved in the last half-year. It might be still behind ath9k and
ath10k but it is suitable for daily use.

This affects the following devices:

 - GL.iNet MT300N v2
 - TP-Link Archer C50 v3
 - TP-Link TL-WR841 v13
2018-12-29 23:32:02 +01:00
Martin Weinelt
656230a79f ar71xx: add support for FRITZ!Repeater 300E (#1604)
Signed-off-by: Martin Weinelt <martin@darmstadt.freifunk.net>
2018-12-29 22:51:57 +01:00
Matthias Schiffer
a6bce7959d
ramips-mt76x8: remove VoCore 2 BROKEN flag again
The driver has stablized enough to officially support ramips-mt76x8 devices
again. At least remove BROKEN for VoCore 2 (as it was supported before).
2018-12-29 19:31:51 +01:00
Andreas Ziegler
5746fb08c4 ramips-mt7621: remove BROKEN flag for ZBT WG3526-16M & WG3526-32M 2018-12-28 21:15:29 +01:00
Martin Weinelt
e9c6153cd5
ramips-mt7621: unflag dir860l-b1 as broken with 11s mesh
Signed-off-by: Martin Weinelt <martin@darmstadt.freifunk.net>
2018-12-23 02:49:17 +01:00
Christoph Krapp
b5aa8c2f7c ar71xx: add support for ZyXEL NBG6616
Signed-off-by: Christoph Krapp <achterin@googlemail.com>
2018-12-20 14:12:50 +01:00
Christoph Krapp
1c590ca148 ar71xx: add support for UniFi-AC-Mesh-Pro
Signed-off-by: Christoph Krapp <achterin@googlemail.com>
2018-12-09 20:41:56 +01:00
Martin Weinelt
3601c9aba6 mt76x8: add support for GL.iNet GL-MT300N-V2 (#1548)
Signed-off-by: Martin Weinelt <martin@darmstadt.freifunk.net>
2018-11-14 23:35:02 +01:00
David Bauer
a51ec56363 ipq40xx: add support for ZyXEL NBG6617 (#1560) 2018-11-14 23:02:25 +01:00
David Bauer
c1967fe383 ar71xx: remove BROKEN flag for TL-WR810N v1
Fixes #856
2018-10-24 23:44:01 +02:00
David Bauer
665cc49d67 ar71xx: add support for Archer C7 v5 2018-10-15 00:38:18 +02:00
David Bauer
246a617d71 ar71xx: add support for TL-WR902AC v1 (#1546)
This adds support for the TP-Link TL-WR902Ac v1 travel router.

The device is marked as broken due to 64MB which might be insufficient
in certain environments.
2018-10-11 03:21:51 +02:00
Ruben Barkow
2a077f86cf ar71xx: unify position of comment containing BROKEN flag reason (#1545) 2018-10-02 01:03:55 +02:00
Matthias Schiffer
1e61e8e897
Disable build of kmod-jool again
kmod-jool build is broken with current kernel 4.14.y.
2018-09-30 19:09:23 +02:00
Sven Eckelmann
2b208647f7 ar71xx-generic: Reduce SquashFS blocksize to 64K (#1455)
Some 32 MB devices like the Nanostation M2 suffer from sudden high loads
combined with a squashfs related OOM reboot:

  logd invoked oom-killer: gfp_mask=0x2420848, order=0, oom_score_adj=0
  CPU: 0 PID: 774 Comm: logd Not tainted 4.4.135 #0
  Stack : 804214dc 00000000 00000001 80480000 8182fa3c 80474803 804028d0 00000306
          804e378c 00001ade 00000040 00000000 00000000 800a7f10 00000006 00000000
          00000000 00000000 804063e0 80c69994 804e6542 800a5e8c 02420848 00000000
          00000001 801fd600 00000000 00000000 00000000 00000000 00000000 00000000
          00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
          ...
  Call Trace:
  [<800721cc>] show_stack+0x54/0x88
  [<800d5468>] dump_header.isra.4+0x48/0x130
  [<800d5c38>] check_panic_on_oom+0x48/0x84
  [<800d5d64>] out_of_memory+0xf0/0x324
  [<800d9888>] __alloc_pages_nodemask+0x6b8/0x724
  [<800d2960>] pagecache_get_page+0x154/0x270
  [<80134cb0>] __getblk_slow+0x15c/0x374
  [<80160418>] squashfs_read_data+0x1c8/0x6e8
  [<80164628>] squashfs_readpage_block+0x32c/0x4d8
  [<801622a4>] squashfs_readpage+0x5bc/0x6d0
  [<800dd030>] __do_page_cache_readahead+0x1f8/0x264
  [<800d479c>] filemap_fault+0x1a8/0x458
  [<800efc1c>] __do_fault+0x64/0xd0
  [<800f2824>] handle_mm_fault+0x4a4/0xb40
  [<80076e98>] __do_page_fault+0x134/0x470
  [<80060820>] ret_from_exception+0x0/0x10

Reduction of the SquashFS blocksize should reduce the problem slightly on
these nodes. The image size will increase slightly but this should be no
problem for ar71xx-generic (in contrast to ar71xx-tiny).
2018-09-23 14:34:14 +02:00
David Bauer
728d1ffdb1 mt76x8: flag target as broken (#1533)
The MT76x8 is currently not stable enough for worry-free use with Gluon.
It suffers from reboots in intervals as little as 12 hours or WiFi
freezes for several hours.

It may be unflagged as soon the situation with mt76 got better.
2018-09-17 22:40:44 +02:00
David Bauer
a29883986c ar71xx: add AVM FRITZ!WLAN Reapeater 450E (#1506) 2018-09-04 20:59:16 +02:00
Martin Weinelt
3fb83cc3d5 ipq806x: mark as broken because of unstable wifi drivers 2018-09-04 01:05:39 +02:00
Matthias Schiffer
fead411f87
brcm2708: adjust to changed OpenWrt image names 2018-08-11 00:19:28 +02:00
Martin Weinelt
0e21d17032 ar71xx-generic: prefer kmod-ath10k for 802.11s mesh (#1499)
removes cryptic debug messages from kernel ring buffer and
also reduces memory usage by as much as 20-25 MiB.
2018-08-01 03:37:56 +02:00
Sven Eckelmann
b9ec173ffb ipq40xx: add support for OpenMesh A62
This device is a dual 5GHz device. It is recommended to manually change the
radio of the first device to the lower 5GHz channels and the second radio
to the upper 5GHz channels.
2018-07-25 22:27:16 +02:00
Sven Eckelmann
36a5604dfe ipq40xx: add support for OpenMesh A42 2018-07-25 22:27:16 +02:00
David Bauer
04b446d8cd ramips: add support for TP-Link TL-WR841N v13 (#1470) 2018-07-25 22:19:59 +02:00
David Bauer
8395c08e66 ramips: add support for TP-Link Archer C50 v3 (#1487) 2018-07-23 04:34:37 +02:00
David Bauer
c3ceded76f ipq40xx: add support for IBSS
Add support for IBSS meshing. Leave target marked as BROKEN for IBSS
as stability is unknown and WiFi LEDs are not working.

Functionality was tested in the network of Freifunk Frankfurt with other
ipq40xx and ar71xx devices.
2018-07-16 01:39:36 +02:00
David Bauer
c4b1febd31 ipq40xx: add target
This commit adds support for the new ipq40xx target.
2018-07-16 01:39:36 +02:00
Christoph Krapp
4883bc7141 ar71xx: add support for TP-Link RE355 (#1478)
Support is marked as broken because this device is sold in two variants,
one with 64M RAM and another with 128M. As of now 64M is not enough
for ath10k with 5GHz enabled.
As there is no indication known which variant one will get better mark
it as broken.

Signed-off-by: Christoph Krapp <achterin@googlemail.com>
2018-07-15 18:29:42 +02:00
David Bauer
52bc028e6b ar71xx: add support for OCEDO Koala (#1475) 2018-07-13 01:25:58 +02:00
Julian
126b34ff14 mvebu: add correct subtarget (#1473) 2018-07-11 22:13:16 +02:00
Matthias Schiffer
63c16c01a0
scripts: move DEFAULT_FEEDS definition to a separate file
modules.sh can't depend on openwrt/feeds.conf.default, otherwise the
initial update will fail.
2018-07-11 21:47:50 +02:00
Matthias Schiffer
210d97c53e
Switch to OpenWrt 18.06 branch 2018-07-10 22:57:40 +02:00
Sven Eckelmann
3d18ae02d8 ar71xx: Add support for TP-Link CPE210 v2 (#1445) 2018-06-26 01:19:55 +02:00
Sven Eckelmann
384c2772c9 ar71xx: add ath10k packages for OpenMesh A40/A60 (#1444)
The dependency line was lost during the rebase of the current master
version.

Fixes: 9d719a2e57 ("ar71xx: add support for OpenMesh A40/A60 (#1424)")
2018-06-24 13:32:56 +02:00
Christoph Krapp
1a065fbe24 ar71xx: add support for ZyXEL NBG6716 (#1443) 2018-06-22 20:21:11 +02:00
Sven Eckelmann
ef819cc196 ar71xx: add support for OpenMesh OM2P(-HS)v4 (#1426) 2018-06-09 13:55:38 +02:00
Sven Eckelmann
9d719a2e57 ar71xx: add support for OpenMesh A40/A60 (#1424) 2018-06-08 20:18:30 +02:00
Christoph Krapp
54ff903633 ar71xx: add support for TP-Link TL-WA901ND v5 (#1423) 2018-06-07 22:36:18 +02:00
Vincent Wiemann
33956cd4b3 ar71xx: add support for Alfa AP121F (#1404)
Adds support for Alfa AP121F USB powered travel router (looks like an USB ethernet adapter).
There is no factory image, but only a sysupgrade file for this router which can be installed using the inbuilt UBoot web interface.
Configure your PC with IP address 192.168.1.2 and connect the router using its RJ45 port. Hold the reset button while powering the device until all LEDs have flashed 3 times simultaneously. You can now access the fallback web interface using a web browser at http://192.168.1.1 and flash the sysupgrade file.
2018-05-23 19:32:40 +02:00
Christoph Krapp
68ee56b869 ar71xx: add support for GL.iNet GL-AR750 (#1395) 2018-05-17 22:33:18 +02:00
Christoph Krapp
eaa23aeae6 ar71xx: add support for TP-Link TL-WR940N v6 (#1389) 2018-05-17 01:33:52 +02:00
Andreas Ziegler
59d6b2a4ee ramips-rt305x: correct alphabetical order 2018-05-09 04:00:02 +02:00
Matthias Schiffer
5bd1d88f85
ar71xx-generic: make ubiquiti-rocket-m a separate device
Make ubiquiti-rocket-m a separate device rather than a bullet-m alias to
enable USB support and allow adding devive-specific packages.
2018-05-08 18:39:18 +02:00
David Bauer
22d45448fd ar71xx: add support for Fritz!Box 4020
This commit adds support for the AVM Fritz!Box 4020 WiFi-router.

SoC:   Qualcomm Atheros QCA9561 (Dragonfly) 750MHz
RAM:   Winbond W971GG6KB-25
FLASH: Macronix MX25L12835F
WiFi:  QCA9561 b/g/n 3x3 450Mbit/s
USB:   1x USB 2.0
IN:    WPS button, WiFi button
OUT:   Power LED green, Internet LED green, WLAN LED green,
       LAN LED green, INFO LED green, INFO LED red
UART:  Header Next to Black metal shield
       Pinout is 3.3V - RX - TX - GND (Square Pad is 3.3V)
       The Serial setting is 115200-8-N-1.

Tested and working:
 - Ethernet (LAN + WAN)
 - WiFi (correct MAC)
 - Installation via EVA bootloader
 - OpenWRT sysupgrade
 - Buttons
 - LEDs

Not working:
 - USB port

Installation via EVA:
In the first seconds after Power is connected, the bootloader will
listen for FTP connections on 169.254.157.1 (Might also be 192.168.178.1). Firmware can be uploaded
like following:

  ftp> quote USER adam2
  ftp> quote PASS adam2
  ftp> binary
  ftp> debug
  ftp> passive
  ftp> quote MEDIA FLSH
  ftp> put openwrt-sysupgrade.bin mtd1

Note that this procedure might take up to two minutes. After transfer is
complete you need to powercycle the device to boot OpenWRT.

Signed-off-by: David Bauer <mail@david-bauer.net>
2018-05-08 15:20:02 +02:00
Andreas Ziegler
1531571a7e targets/ipq806x: use ath10k-firmware-qca99x0-ct for 11s and remove BROKEN flag 2018-05-07 00:03:04 +02:00
Matthias Schiffer
a2eb50e0e6
x86: move common parts of x86-generic and x86-64 to include file 2018-04-26 22:59:36 +02:00
Matthias Schiffer
818acd6021
x86: remove bash and wget again
Let's keep the default package selection to hardware support.
2018-04-26 22:55:36 +02:00
Andreas Ziegler
563f351b78 x86: add packages: leds, sensors, gpio, usb, wifi and tools 2018-04-26 20:54:49 +02:00
Matthias Schiffer
02f905f542
ar71xx: build kernel modules used by Gluon into the kernel
ar71xx-generic and -tiny benefit most from the optimized kernel, as they
contain all devices with 32MB RAM. We enable CONFIG_GLUON_SPECIALIZE_KERNEL
for all targets using the mips24_kc architecture so packages shared between
targets don't need to be rebuild all the time.
2018-04-13 17:32:20 +02:00
Matthias Schiffer
d210cfcad9
generic: do not attempt to build kmod-usbip
kmod-usbip is broken since the last kernel update.
2018-04-10 20:25:38 +02:00