Commit Graph

5586 Commits

Author SHA1 Message Date
Adrian Schmutzler
aa39b5e58d at91: introduce vendor_model scheme and drop board names
This introduces the vendor_model scheme to this target in order to
harmonize device names within the target and with the rest of
OpenWrt. In addition, custom board names are dropped in favor
of the generic script which takes the compatible.

Use the SUPPORTED_DEVICES variable to store the compatible where it
deviates from the device name, so we can use it in build recipes.

While at it, harmonize a few indents as well.

Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de>
2021-01-19 12:18:11 +08:00
Rafał Miłecki
7ac6940264 bcm63xx-cfe: enable package for bcm4908
bcm4908 target needs to include cferam images in firmware files too

Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
2021-01-19 12:06:58 +08:00
CN_SZTL
c06e7b4bfe
Merge Mainline
Signed-off-by: CN_SZTL <cnsztl@project-openwrt.eu.org>
2021-01-17 00:30:24 +08:00
CN_SZTL
0a81e6ef4f
sub-web: replace dead jsdelivr cdn with original git raw
Signed-off-by: CN_SZTL <cnsztl@project-openwrt.eu.org>
2021-01-17 00:26:26 +08:00
Etan Kissling
675e7b17bc
mbedtls: add config option to compile with hkdf
This adds a config option to allow compiling with HKDF algorithm support
to support applications that require this feature.

Signed-off-by: Etan Kissling <etan_kissling@apple.com>
2021-01-16 23:29:11 +08:00
CN_SZTL
ed2dc1c007
sunxi: move to kernel 4.19 and drop unusable devices
Signed-off-by: CN_SZTL <cnsztl@project-openwrt.eu.org>
2021-01-16 20:10:02 +08:00
Mattraks
33c2ee76ef
luci-app-ssr-plus: bump to 182-5
Signed-off-by: CN_SZTL <cnsztl@project-openwrt.eu.org>
2021-01-16 19:04:08 +08:00
CN_SZTL
4ceedc3f17
Merge Mainline
Signed-off-by: CN_SZTL <cnsztl@project-openwrt.eu.org>
2021-01-16 18:13:19 +08:00
ZhenYu
6f009e536b
uugamebooster: add new package
Signed-off-by: CN_SZTL <cnsztl@project-openwrt.eu.org>
2021-01-16 18:01:05 +08:00
Marty Jones
f450acefb0
uboot-rockchip: update to v2021.01
Update the U-Boot to version v2021.01.

Run-tested: FriendlyARM NanoPi R2S
            Radxa Rock Pi 4
            Pine64 RockPro64

Signed-off-by: Marty Jones <mj8263788@gmail.com>
[format commit message]
Signed-off-by: David Bauer <mail@david-bauer.net>
Signed-off-by: CN_SZTL <cnsztl@project-openwrt.eu.org>
2021-01-16 17:59:55 +08:00
Beginner
61503a43c6
xray: Update to v1.2.2
Signed-off-by: CN_SZTL <cnsztl@project-openwrt.eu.org>
2021-01-16 17:59:03 +08:00
xiaorouji
58af1052e4
luci-app-passwall: bump to 4-7
Signed-off-by: CN_SZTL <cnsztl@project-openwrt.eu.org>
2021-01-16 17:59:03 +08:00
jerrykuku
74ea455c1d
luci-app-vssr: bump to v1.21
Signed-off-by: CN_SZTL <cnsztl@project-openwrt.eu.org>
2021-01-16 17:59:01 +08:00
Sungbo Eo
831eabb6e1 kernel: drop empty kmod-ledtrig-* packages
The following four led triggers are enabled in generic config.

* kmod-ledtrig-default-on
* kmod-ledtrig-heartbeat
* kmod-ledtrig-netdev
* kmod-ledtrig-timer

Drop the packages and remove them from DEVICE_PACKAGES.
There's no other package depending on them in this repo.

Signed-off-by: Sungbo Eo <mans0n@gorani.run>
2021-01-16 12:20:58 +08:00
Sungbo Eo
db40add238 kernel: update kmod-thermal package
CONFIG_THERMAL option was changed to boolean in upstream linux commit
554b3529fe01 ("thermal/drivers/core: Remove the module Kconfig's option").
Switch it to 'y' and remove FILES and AUTOLOAD for non-existant module file.

And update the descripton text for the package as in upstream linux commit
eb8504620381 ("thermal: Rephrase the Kconfig text for thermal").

Signed-off-by: Sungbo Eo <mans0n@gorani.run>
2021-01-16 12:09:32 +08:00
Nick Hainke
461004d633 owipcalc: use v6 in cidr_parse6 function
The cidr_parse6 function parses a string to an ipv6-address.
The cidr struct contains a union called buf for the ipv4 and ipv6
address. Since it is a char pointer and the struct is initialized with
the maximum size (so ipv6 string) it does not make any difference.
However, we should access the buffer using the v6 name, since it could
be confusing otherwise.

Signed-off-by: Nick Hainke <vincent@systemli.org>
2021-01-16 12:06:56 +08:00
AmadeusGhost
9b340aa3d4 treewide: drop packages which already in feeds 2021-01-15 19:38:07 +08:00
AmadeusGhost
0485ef53bc tinyfecVPN/tinyPortMapper: add packages 2021-01-15 19:35:42 +08:00
Etan Kissling
540e85bc6c nf-conntrack: allow querying conntrack info in nfqueue
This allows libnetfilter_queue to access connection tracking information
by requesting NFQA_CFG_F_CONNTRACK. Connection tracking information is
provided in the NFQA_CT attribute.
CONFIG_NETFILTER_NETLINK_GLUE_CT enables the interaction between
nf_queue and nf_conntrack_netlink. Without this option, trying to access
connection tracking information results in "Operation not supported".

Signed-off-by: Etan Kissling <etan_kissling@apple.com>
2021-01-14 12:09:13 +08:00
CN_SZTL
bf697e03ef
Merge Mainline 2021-01-11 20:58:17 +08:00
xiaorouji
2376c863d6
luci-app-passwall: bug fixes
Signed-off-by: CN_SZTL <cnsztl@project-openwrt.eu.org>
2021-01-11 20:26:03 +08:00
CN_SZTL
548764d282
treewide: replace wrong PKG_ARCH with PKGARCH
Signed-off-by: CN_SZTL <cnsztl@project-openwrt.eu.org>
2021-01-11 20:19:27 +08:00
CN_SZTL
34a40287a7
sub-web: add examples from ACL4SSR and Subconverter
Signed-off-by: CN_SZTL <cnsztl@project-openwrt.eu.org>
2021-01-11 19:58:44 +08:00
CN_SZTL
8f592ca694
sub-web: fix display issue when it is deployed at a sub-path
Signed-off-by: CN_SZTL <cnsztl@project-openwrt.eu.org>
2021-01-11 19:33:21 +08:00
CN_SZTL
c82870a6e6
sub-web: marked as a general package for all arch 2021-01-11 18:49:30 +08:00
CN_SZTL
51f30d134e
sub-web: add new package
Signed-off-by: CN_SZTL <cnsztl@project-openwrt.eu.org>
2021-01-11 18:43:59 +08:00
CN_SZTL
b1107b633d
subconverter: fix init 2021-01-11 18:42:52 +08:00
CN_SZTL
6806d8ecea
[HOTFIX] Merge Mainline iptables fixes 2021-01-11 00:22:23 +08:00
CN_SZTL
fdde22fdad
iptables: drop upstream merged patch 2021-01-11 00:21:44 +08:00
CN_SZTL
11ba4ce07b
Merge Mainline 2021-01-10 21:36:13 +08:00
Beginner
4ae4b2691d
xray: Update to 1.2.1 2021-01-10 21:33:58 +08:00
CN_SZTL
090445fd61
verysync: Makefile cleanups 2021-01-10 21:32:12 +08:00
Curtis Deptuck
605012a18f
iptables: update to 1.8.6
Update iptables to 1.8.6

ChangeLog:
https://netfilter.org/projects/iptables/files/changes-iptables-1.8.6.txt

Refresh patch:
101-remove-check-already.patch

Signed-off-by: Curtis Deptuck <curtdept@me.com>
Signed-off-by: Hans Dedecker <dedeckeh@gmail.com> [refresh patches]
2021-01-10 21:29:38 +08:00
CN_SZTL
33e4a1c124
Merge Mainline 2021-01-10 01:48:10 +08:00
CN_SZTL
b09ca4bd31
trojan-plus: Makefile cleanups 2021-01-10 01:46:12 +08:00
CN_SZTL
ab480debc9
trojan: Makefile cleanups 2021-01-10 01:41:26 +08:00
CN_SZTL
d7c56a425c
trojan-go: cleanup Makefile 2021-01-10 01:32:58 +08:00
CN_SZTL
093f5840b5
Merge Mainline 2021-01-09 23:43:09 +08:00
Mattraks
c8d5b8b7a0
luci-app-ssr-plus: bug fixes 2021-01-09 23:39:50 +08:00
CN_SZTL
bf5f966f29
subconverter: bump to latest git HEAD and Makefile cleanups 2021-01-09 23:35:47 +08:00
CN_SZTL
141af89d8f
rapidjson: bump to latest git HAD 2021-01-09 22:58:46 +08:00
CN_SZTL
ea67f1ccfa
jpcre2: Makefile cleanup 2021-01-09 22:50:12 +08:00
CN_SZTL
d1786b3219
rapidjson: Makefile cleanup 2021-01-09 22:43:37 +08:00
CN_SZTL
059a2c9e65
smartdns: backport upstream fixes 2021-01-09 21:33:55 +08:00
CN_SZTL
c9405b4f32
luci-app-clash: remove outdated package 2021-01-09 21:03:26 +08:00
秦宇航
4a4fcd8411
verysync: update to v2.4.2 2021-01-09 20:46:44 +08:00
CN_SZTL
8f0a48a9a6
Merge Mainline 2021-01-09 17:09:00 +08:00
CN_SZTL
acca65e43e
Revert "r8152: drop package"
Fix dependencies for old kernel modules.
Fixes: f00092526d ("r8152: add package")

This reverts commit 6a0986fa4e.
2021-01-09 17:02:43 +08:00
CN_SZTL
5cc1d3df78
rockchip: improve support for NanoPi R4S
- enable sd ultra-high speeds
- format style

Fixes: cd7fd0c77b ("rockchip: add NanoPi R4S support")

Signed-off-by: CN_SZTL <cnsztl@project-openwrt.eu.org>
2021-01-09 16:45:53 +08:00
Michael Pratt
45d66945a4
ath79: add support for Senao Engenius EAP350 v1
FCC ID: U2M-EAP350

Engenius EAP350 is a wireless access point with 1 gigabit PoE ethernet port,
2.4 GHz wireless, external ethernet switch, and 2 internal antennas.

Specification:

  - AR7242 SOC
  - AR9283 WLAN			(2.4 GHz, 2x2, PCIe on-board)
  - AR8035-A switch		(GbE with 802.3af PoE)
  - 40 MHz reference clock
  - 8 MB FLASH			MX25L6406E
  - 32 MB RAM			EM6AA160TSA-5G
  - UART at J2			(populated)
  - 3 LEDs, 1 button		(power, eth, 2.4 GHz) (reset)
  - 2 internal antennas

MAC addresses:

  MAC address is labeled as "MAC"
  Only 1 address on label and in flash
  The OEM software reports these MACs for the ifconfig

  eth0	MAC	*:0c	art 0x0
  phy0	---	*:0d	---

Installation:

  2 ways to flash factory.bin from OEM:

  - if you get Failsafe Mode from failed flash:
      only use it to flash Original firmware from Engenius
      or risk kernel loop or halt which requires serial cable

  Method 1: Firmware upgrade page:

    OEM webpage at 192.168.10.1
    username and password "admin"
    Navigate to "Upgrade Firmware" page from left pane
    Click Browse and select the factory.bin image
    Upload and verify checksum
    Click Continue to confirm and wait 3 minutes

  Method 2: Serial to load Failsafe webpage:

    After connecting to serial console and rebooting...
    Interrupt uboot with any key pressed rapidly
    execute `run failsafe_boot` OR `bootm 0x9f670000`
    wait a minute
    connect to ethernet and navigate to
    "192.168.1.1/index.htm"
    Select the factory.bin image and upload
    wait about 3 minutes

Return to OEM:

  If you have a serial cable, see Serial Failsafe instructions
  otherwise, uboot-env can be used to make uboot load the failsafe image

  *DISCLAIMER*
  The Failsafe image is unique to Engenius boards.
  If the failsafe image is missing or damaged this will not work
  DO NOT downgrade to ar71xx this way, it can cause kernel loop or halt

  ssh into openwrt and run
  `fw_setenv rootfs_checksum 0`
  reboot, wait 3 minutes
  connect to ethernet and navigate to 192.168.1.1/index.htm
  select OEM firmware image from Engenius and click upgrade

Format of OEM firmware image:

  The OEM software of EAP350 is a heavily modified version
  of Openwrt Kamikaze. One of the many modifications
  is to the sysupgrade program. Image verification is performed
  simply by the successful ungzip and untar of the supplied file
  and name check and header verification of the resulting contents.
  To form a factory.bin that is accepted by OEM Openwrt build,
  the kernel and rootfs must have specific names...

    openwrt-senao-eap350-uImage-lzma.bin
    openwrt-senao-eap350-root.squashfs

  and begin with the respective headers (uImage, squashfs).
  Then the files must be tarballed and gzipped.
  The resulting binary is actually a tar.gz file in disguise.
  This can be verified by using binwalk on the OEM firmware images,
  ungzipping then untaring.

  The OEM upgrade script is at /etc/fwupgrade.sh

  Later models in the EAP series likely have a different platform
  and the upgrade and image verification process differs.

  OKLI kernel loader is required because the OEM software
  expects the kernel to be no greater than 1024k
  and the factory.bin upgrade procedure would
  overwrite part of the kernel when writing rootfs.

Note on PLL-data cells:

  The default PLL register values will not work
  because of the external AR8035-A switch between
  the SOC and the ethernet PHY chips.

  For AR724x series, the PLL register for GMAC0
  can be seen in the DTSI as 0x2c.
  Therefore the PLL register can be read from uboot
  for each link speed after attempting tftpboot
  or another network action using that link speed
  with `md 0x1805002c 1`.

  uboot did not have a good value for 1 GBps
  so it was taken from other similar DTS file.

Tested from master, all link speeds functional

Signed-off-by: Michael Pratt <mcpratt@pm.me>
2021-01-09 16:31:30 +08:00