Commit Graph

65 Commits

Author SHA1 Message Date
Rick Sommerville
0c6183210e Apply EC420 11-ath10k-caldata changes supplied by TP-Link
Signed-off-by: Rick Sommerville <rick.sommerville@netexperience.com>
2020-10-24 12:34:22 +02:00
John Crispin
6ae6a1ac3e ipq40xx: add ec420 ubi images
Add code to generate ubi images for tplink ec420

Signed-off-by: John Crispin <john@phrozen.org>
2020-10-22 10:16:56 +02:00
John Crispin
0b13cb3171 ipq807x: add edgecore eap-102 support
Signed-off-by: John Crispin <john@phrozen.org>
2020-10-16 04:28:51 +02:00
John Crispin
cb9d5f9bdc dnsmasq: turn the base uci section into a named one
Handling this section from opensync is complicated if it is unnamed.

Signed-off-by: John Crispin <john@phrozen.org>
2020-10-06 16:40:37 +02:00
John Crispin
04f6078da6 ipq807x: update AX support
Signed-off-by: John Crispin <john@phrozen.org>
2020-10-04 14:28:57 +02:00
Sven Eckelmann
215be21272 ipq807x: Fix dtc host build with GCC 10
The dtc binary has to be compiled using the host GCC and not the target
cross compiler GCC. And GCC 10 is using by default -fno-common which
inhibits the merging of tentative definitions by the linker.

Signed-off-by: Sven Eckelmann <sven@narfation.org>
2020-09-30 19:37:41 +02:00
John Crispin
133a959b3c ipq40xx: fix latest nand patch
Thgis was not in git format, causing local builds to fail.

Signed-off-by: John Crispin <john@phrozen.org>
2020-09-30 09:43:46 +02:00
cbuschfb
8d83a22159 Patch W25M02GV NAND support EdgeCore ECW5211
Signed-off-by: cbuschfb <chrisbusch@fb.com>
2020-09-29 13:44:23 +00:00
John Crispin
fdb3af3d2b ipq807x: add wallaby LED support
Add the led netdev trigger setup code making lan/wan leds work.

Signed-off-by: John Crispin <john@phrozen.org>
2020-09-23 17:37:28 +02:00
John Crispin
9cb690f14e ec420: add the 2 missing wifi board files
Signed-off-by: John Crispin <john@phrozen.org>
2020-09-23 08:38:28 +02:00
John Crispin
2837dc61e6 patches: move all patches into a single folder
This allows easier managing of updated patches.

Signed-off-by: John Crispin <john@phrozen.org>
2020-09-22 18:20:11 +02:00
John Crispin
35bdbb920b profiles: move profiles into a dedicated folder
Tracking these as patches has been causing problems.

Signed-off-by: John Crispin <john@phrozen.org>
2020-09-22 18:09:24 +02:00
John Crispin
b475b15c93 ipq807x: fix patch annotation
The batman patch lost its annotation during last rebase.

Signed-off-by: John Crispin <john@phrozen.org>
2020-09-21 13:16:06 +02:00
John Crispin
bad57a30f6 ec420: fix generation of br-lan
OpenWrt does not allow bridges with no default interfaces.

Fixes: WIFI-756
Signed-off-by: John Crispin <john@phrozen.org>
2020-09-17 08:27:38 +02:00
John Crispin
7c8e51fa4c ipq807x: fix the batman profile patch
Signed-off-by: John Crispin <john@phrozen.org>
2020-09-16 17:20:06 +02:00
John Crispin
ba41a15fec ipq807x: add CIG WF188N
This is the nand based variant.

Signed-off-by: John Crispin <john@phrozen.org>
2020-09-16 12:07:44 +02:00
John Crispin
456b74de85 patches/ipq807x: arm64/v4.4 compile fixes
Get the tree ready for v4.4 builds

Signed-off-by: John Crispin <john@phrozen.org>
2020-09-16 12:07:27 +02:00
John Crispin
381acf5e4e ipq807x: update kernel and ath11k
Pull kernel and ath11k up to the latest release.

Signed-off-by: John Crispin <john@phrozen.org>
2020-09-16 12:07:14 +02:00
Chaitanya Kiran Godavarthi
0c3064e437 opensync: Add video/voice detect
- Add kernel module which detects voice/video by
  analysing the traffic.
- Add new report to the stats manager in opensync.
- Generates a report each time a voice call is
  detected, indicats callstart, callstop and callreport.

Signed-off-by: Chaitanya Kiran Godavarthi <chaitanya.kiran@connectus.ai>
2020-09-15 14:41:07 +02:00
Ammad Rehmat
efb5e4a9aa WIFI-442 : Support for synthetic radius client added
Signed-off-by: Ammad Rehmat <ammad.rehmat@connectus.ai>
2020-09-07 11:47:28 +02:00
Nagendrababu
88e8163410 package:openNDS
Implement a per-SSID embedded Captive Portal making use of OpenNDS
Authentication type:None
Fix for WIFI-596
Signed-off-by: Nagendrababu <nagendrababu.bonkuri@connectus.ai>
2020-09-07 11:38:33 +02:00
John Crispin
f8a2150f66 base-files: add the wlan-ap repo hash
currently the banner will show the revision of the build tree.
This patch adds the hash of the wlan-ap tree.

Signed-off-by: John Crispin <john@phrozen.org>
2020-08-29 08:28:44 +02:00
John Crispin
c2559486b1 profiles: add ct-bugcheck to wlan-ap.py
Signed-off-by: John Crispin <john@phrozen.org>
2020-08-29 07:51:04 +02:00
Linus Lüssing
97f6cd8203 profiles: adding batman-adv packages
Adding the batman-adv kernel module and the batctl userspace
configuration tool to the wlan-ap profile.

Signed-off-by: Linus Lüssing <ll@simonwunderlich.de>
2020-08-29 07:42:11 +02:00
John Crispin
34897d13e1 Revert "opensync: populate Wifi_Route_State"
This reverts commit 42fc1965cd.

The commit was causing issues when updating NM2 state.

Fixes: WIFI-702
Signed-off-by: John Crispin <john@phrozen.org>
2020-08-29 07:40:19 +02:00
John Crispin
42e9d44311 ipq807x: add board2.bin on hk01
This makes sure the bdf file is installed on the reference board.

Signed-off-by: John Crispin <john@phrozen.org>
2020-08-16 16:17:14 +02:00
John Crispin
b6b5999a4a ipq807x: add thermald
This adds the thermal mitigation daemon.

Signed-off-by: John Crispin <john@phrozen.org>
2020-08-16 16:17:14 +02:00
John Crispin
378d88554c scripts/ubinize-image.sh: allow setting the rootfs name
This patch allows us to use a different rootfs name. Some QCA boards will
require the in ubi rfs to be called ubi_rootfs.

Signed-off-by: John Crispin <john@phrozen.org>
2020-08-16 16:17:14 +02:00
John Crispin
07e8acfdf1 ipq807x: move ath11k to the openwrt ax staging tree
Use the ath11k feed from github where OpenWrt keeps the latest version.

Signed-off-by: John Crispin <john@phrozen.org>
2020-08-16 16:17:14 +02:00
John Crispin
42fc1965cd opensync: populate Wifi_Route_State
This populates the ipv4 routes.

Signed-off-by: John Crispin <john@phrozen.org>
2020-08-16 16:17:14 +02:00
John Crispin
f11c74f1aa ipq40xx: fix oap-110 mdio
The board support patch was missing the pinctrl for the mdio bus.

Signed-off-by: John Crispin <john@phrozen.org>
2020-08-16 16:16:29 +02:00
John Crispin
96416e59a5 ipq40xx: fix oap-110 bootargs
The board support patch was missing the boortargs-append line in the dts.

Signed-off-by: John Crispin <john@phrozen.org>
2020-08-16 15:36:08 +02:00
John Crispin
0c49d4ec3e ipq40xx: add edgecore OAP100
flashing the unit
* first update to latest edcore FW as per the PDF instructions
* boot the initramfs
  - tftpboot 0x88000000 openwrt-ipq40xx-generic-edgecore_oap100-initramfs-fit-uImage.itb; bootm
* inside the initramfs call the following commiands
  - ubiattach -p /dev/mtd0
  - ubirmvol /dev/ubi0 -n0
  - ubirmvol /dev/ubi0 -n1
  - ubirmvol /dev/ubi0 -n2
* scp the sysupgrade image to the board and call
  - sysupgrade -n openwrt-ipq40xx-generic-edgecore_oap100-squashfs-nand-sysupgrade.bin

Signed-off-by: John Crispin <john@phrozen.org>
2020-08-08 12:37:10 +02:00
John Crispin
e51b350d43 ipq807x: fix sercomm wallaby support
The board is named wallaby and not kiwi. The previous rename was missing
some changes.

Signed-off-by: John Crispin <john@phrozen.org>
2020-08-07 16:35:36 +02:00
John Crispin
045bb2e9b5 ipq807x: improve image building code
We can now flash using qsdk style images to convert qsdk->OpenAp.

Signed-off-by: John Crispin <john@phrozen.org>
2020-08-02 15:49:29 +02:00
John Crispin
1cbf1015c0 ipq807x: enable gpio-leds
The initial port was missing this kernel config.

Signed-off-by: John Crispin <john@phrozen.org>
2020-08-02 15:49:29 +02:00
John Crispin
8ab79219fb ipq807x: add Sercomm Wallaby support
This patch adds support for the Sercomm Kiwi AP.

Specification:
- SoC: Qualcomm Atheros IPQ807x ARM64 quad core
- RAM: 1GB
- NAND Flash: 256MB
- Ethernet: 1 x 2G
- WLAN: 2x Titan AX

Installation instructions:

1) scp openwrt-ipq807x-sercomm_kiwi-squashfs-nand-factory.bin into the preflashed qsdk image
2) ssh into the unit and call sysupgrade -n openwrt-ipq807x-sercomm_kiwi-squashfs-nand-factory.bin

Signed-off-by: John Crispin <john@phrozen.org>
2020-08-02 15:49:29 +02:00
John Crispin
d53a31e59e ipq807x: add CIG WF188 support
This patch adds support for the Cigtech WF188 AP.

Specification:
- SoC: Qualcomm Atheros IPQ6018 ARM64 quad core
- RAM: 512MB
- NOR Flash: 32MB SPI NOR
- Ethernet: 1 x 1G
- WLAN: 2x IPQ60xx AX

Installation instructions:

1) enter uboot console
- setenv bootargs mtdparts=spi32766.0:6144k@3712k(0:HLOS),20608k@9856k(rootfs) console=ttyMSM0,115200n8
- tftpboot 0x44000000 wf188-initramfs
- bootm
2) inside the in ramfs, scp the sysupgrade image to the device and run sysupgrade.

Signed-off-by: John Crispin <john@phrozen.org>
2020-08-02 15:49:29 +02:00
John Crispin
0a31c9f692 opensync: convert the last board to the unified package
There is no a single opensync package that reads the board data from uci.

Signed-off-by: John Crispin <john@phrozen.org>
2020-08-02 15:11:56 +02:00
John Crispin
a2187f5a8c base-files: default passwd
ttylogin was open when hitting enter really early in the boot.

Signed-off-by: John Crispin <john@phrozen.org>
2020-08-02 11:54:21 +02:00
John Crispin
ed379f94f2 opensync: more network manager fixes
This patch will get folded into the main patch when we push to trunk.

Signed-off-by: John Crispin <john@phrozen.org>
2020-08-02 11:53:07 +02:00
John Crispin
f2ad970ed9 base-files: update banner
Use OpenWiFi as the banner text.

Signed-off-by: John Crispin <john@phrozen.org>
2020-08-01 10:19:34 +02:00
Nagendrababu
3601f9cad6 openNDS: add package
Add openNDS package to enable captive portal at bridge level added customized
configurations to make it work as required Package:openNDS

Signed-off-by: Nagendrababu <nagendrababu.bonkuri@connectus.ai>
2020-08-01 10:11:53 +02:00
John Crispin
ef59c4c6e4 opensync: add netifd manager
Signed-off-by: John Crispin <john@phrozen.org>
2020-07-31 14:12:11 +02:00
John Crispin
082c895c34 base-files: set default password to "openwifi"
Signed-off-by: John Crispin <john@phrozen.org>
2020-07-30 16:52:01 +02:00
Rick Sommerville
6a6cb55ff0 opensync: Support Multi-SSID per radio. Support radioX -> wlanX-Y naming convention.
Signed-off-by: Rick Sommerville <rick.sommerville@netexperience.com>
2020-07-30 07:55:38 +02:00
John Crispin
dab51c9bf0 opensync: more unified target updates
convert ap2220 and ea8300 to use the unified package.

Signed-off-by: John Crispin <john@phrozen.org>
2020-07-29 16:35:57 +02:00
John Crispin
a98b0eac77 ecw5211: make the board use the unified opensync target
Drop the vendor specific target. Also fix ct-fwcfg for this board.

Signed-off-by: John Crispin <john@phrozen.org>
2020-07-29 14:17:39 +02:00
John Crispin
1b168a811e opensync: add kernel crash detection
This feature makes use of the crashlog driver in the kernel. If we experience
an oops, the kernel will store the stack trace inside /sys/kernel/debug/crashlog.
OpenSync will then add an entry to the Alarms table. The could can then retrieve
the crashlog via the Command_config table.

A crash can be simulated with
   echo c > /proc/sysrq-trigger

Signed-off-by: John Crispin <john@phrozen.org>
2020-07-29 14:17:39 +02:00
John Crispin
9a61ca270a profiles: disable failsafe
Set the .config options to disable failsafe mode.

Signed-off-by: John Crispin <john@phrozen.org>
2020-07-29 14:17:39 +02:00