Commit Graph

6055 Commits

Author SHA1 Message Date
Rosen Penev
c19bcc5be6 kexec-tools: update to 2.0.21
kdump was removed in 7acd257ae67b4ca94f8c23cb8bda0ee0709b9216

gdb can be used as an alternative.

Remove autoreconf. It's not needed as the configure files are already
generated.

Remove upstreamed patch.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2021-03-20 11:27:50 +08:00
Rui Salvaterra
6a36b1c2e2 mac80211: rtl: update RTL8821AE PHY/RF parameters
Create a new directory for Realtek patches and backport the updated PHY and RF
parameters patch. Improves the connectivity in the 5 GHz band [1].

[1] https://patchwork.kernel.org/project/linux-wireless/patch/20210219052607.7323-1-pkshih@realtek.com/#23988567

Signed-off-by: Rui Salvaterra <rsalvaterra@gmail.com>
2021-03-20 11:25:24 +08:00
Tianling Shen
e541e2a0ca
Merge Mainline
Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
2021-03-19 18:01:27 +08:00
xiaorouji
fc6fc0d5fe
luci-app-passwall: initial support import vless link
Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
2021-03-19 17:56:59 +08:00
Saxon
e86fe8c7c9
luci-app-unblockmusic: remove outdated music provider
Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
2021-03-19 17:56:22 +08:00
dwj0
0584fcbed0
n2n_v2: add n2n auto-nat
Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
2021-03-19 17:55:39 +08:00
Beginner
4ad4a644ab
UnblockNeteaseMusic-Go: Update to 0.2.9
Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
2021-03-19 17:54:39 +08:00
jerrykuku
5be0b13e80
luci-theme-argonv3: fix bugs
Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
2021-03-19 17:52:28 +08:00
Mattraks
74d7e3d9a6
luci-app-ssr-plus: fix arguments for ss-rust
Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
2021-03-19 17:40:01 +08:00
Tianling Shen
bca6199163
Merge Mainline
Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
2021-03-19 17:31:52 +08:00
Tianling Shen
7c7830ac0b
tmate: remove upstreamed pacakge
Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
2021-03-19 17:24:30 +08:00
Tianling Shen
b2da0ad5fe
msgpack-c: remove upstreamed pacakge
Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
2021-03-19 17:24:18 +08:00
Felix Fietkau
bf001b775f build: use -nostdinc and -isystem in NOSTDINC_FLAGS for out-of-tree kernel modules
This resolves issues uncovered by musl updates

Signed-off-by: Felix Fietkau <nbd@nbd.name>
2021-03-18 23:33:25 +08:00
Felix Fietkau
06cf53900f mt76: update to the latest version
0b6c9a043f78 mt76: move de-amsdu buffer per-phy
48a905e23791 mt76: mt7615: fix CSA event format
fbef8bba038f mt76: mt7921: remove duplicated macros in mcu.h

Signed-off-by: Felix Fietkau <nbd@nbd.name>
2021-03-18 23:33:08 +08:00
Felix Fietkau
165b4b837f mt76: update to the latest version
Signed-off-by: Felix Fietkau <nbd@nbd.name>
2021-03-18 23:32:10 +08:00
Felix Fietkau
6d87ebed58 mac80211: backport upstream patches for driver disconnect
Needed for an mt76 update

Signed-off-by: Felix Fietkau <nbd@nbd.name>
2021-03-18 23:31:44 +08:00
Daniel Golle
19acf4e272 uboot-mediatek: don't rely in 'lzma' cmdline
Use 'xz --format=lzma' instead.
Fixes build for mt7629.

Signed-off-by: Daniel Golle <daniel@makrotopia.org>
2021-03-18 23:30:40 +08:00
Hauke Mehrtens
ab20619a72 mediatek: Fix writing U-Boot env on Buffalo WSR-2533DHP2
This fixes writing to the U-Boot environment by making the partition
writable and setting the correct flash sector size of 128K.

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
2021-03-18 23:27:46 +08:00
Daniel Golle
60a3471382 uboot-mediatek: fix default environment of bpi-r64 emmc
The emmc variant used the default environment of the sdmmc variant.
Fix that.

Signed-off-by: Daniel Golle <daniel@makrotopia.org>
2021-03-18 23:27:10 +08:00
Daniel Golle
126ffcb500 uboot-mediatek: bpi-r64: make use of FIT configuration selection
Allow selecting either SATA or PCIE functionality using uImage.FIT
configurations and device-tree overlays.
By default, PCIE1 is selected (as it has been before this change).
To select SATA instead, you can do this now:

fw_setenv bootconf config-mt7622-bananapi-bpi-r64-sata

and reboot.

Signed-off-by: Daniel Golle <daniel@makrotopia.org>
2021-03-18 23:24:59 +08:00
xiaorouji
7641c306fa
luci-app-passwall: bug fixes
Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
2021-03-18 16:18:16 +08:00
tty228
3a456a49c4
luci-app-serverchan: bump to 1.81
Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
2021-03-18 16:17:07 +08:00
maple's sky
b9aef3ef79
luci-app-jd-dailybonus: sync with upstream source
Co-authored-by: xujianjie1213 <35050408+xujianjie1213@users.noreply.github.com>
Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
2021-03-18 16:16:24 +08:00
Beginner
37ecc03a58
v2ray-plugin: update to 4.36.2
Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
2021-03-18 12:04:14 +08:00
Álvaro Fernández Rojas
5548482ebb mtd: fix imagetag compilation
Commit b5b0796a13 added an uint32_t to mtd.h without including stdint, which
results in a compilation error for those files not including stdint.h.

In file included from imagetag.c:36:
mtd.h:15:8: error: unknown type name 'uint32_t'
 extern uint32_t opt_trxmagic;
        ^~~~~~~~
imagetag.c: In function 'trx_fixup':
imagetag.c:180:10: warning: unused variable 'res' [-Wunused-variable]
  ssize_t res;
          ^~~
imagetag.c:177:14: warning: unused variable 'scan' [-Wunused-variable]
  void *ptr, *scan;
              ^~~~
imagetag.c: In function 'trx_check':
imagetag.c:246:27: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
     struct bcm_tag *tag = (const struct bcm_tag *) buf;
                           ^
make[3]: *** [<builtin>: imagetag.o] Error 1

Fixes: b5b0796a13 ("mtd: add option for TRX magic to fixtrx")
Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
2021-03-17 23:25:41 +08:00
Tianling Shen
3506b828ad
luci-app-ssr-plus: drop ipt2socks-alt from the dependencies
Signed-off-by: Tianling Shen <cnsztl@gmail.com>
2021-03-17 14:04:48 +08:00
maple's sky
dae84e580f
luci-app-jd-dailybonus: sync with upstream source
Co-authored-by: Mattraks <16359027+Mattraks@users.noreply.github.com>
Co-authored-by: jerrykuku <jerrykuku@qq.com>
Signed-off-by: Tianling Shen <cnsztl@gmail.com>
2021-03-17 13:52:21 +08:00
xiaorouji
1805a389a7
luci-app-passwall: sync with upstream source
Co-authored-by: badgv <45598380+badgv@users.noreply.github.com>
Signed-off-by: Tianling Shen <cnsztl@gmail.com>
2021-03-17 13:44:33 +08:00
Magnus Kroken
b05945c5d2 mbedtls: update to 2.16.10
This release of Mbed TLS provides bug fixes and minor enhancements. This
release includes fixes for security issues.

Security fixes:
* Fix a buffer overflow in mbedtls_mpi_sub_abs()
* Fix an errorneous estimation for an internal buffer in
mbedtls_pk_write_key_pem()
* Fix a stack buffer overflow with mbedtls_net_poll() and
mbedtls_net_recv_timeout()
* Guard against strong local side channel attack against base64 tables
by making access aceess to them use constant flow code

Full release announcement:
https://github.com/ARMmbed/mbedtls/releases/tag/v2.16.10

Signed-off-by: Magnus Kroken <mkroken@gmail.com>
2021-03-17 11:28:57 +08:00
Beginner
a91e7d85bb
v2ray: update to 4.36.2
Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
2021-03-16 23:55:44 +08:00
Beginner
733c6a079e
v2ray: update to 4.36.1 2021-03-16 19:51:29 +08:00
INAGAKI Hiroshi
d71e1cc0cc mediatek: add support for Buffalo WSR-2533DHP2
This adds support for the Buffalo WSR-2533DHP2.

The device uses the Broadcom TRX image format with a special magic. To
be able to boot the images or load them they have to be wrapped with
different headers depending how it is loaded.

There are multiple ways to install OpenWrt on this device.
Boot ramdisk from U-Boot
----------------------------
This will load the image and not write it into the flash.

1. Stop boot menu with "space" key
2. Select "System Load Linux to SDRAM via TFTP."
3. Load this image:
   openwrt-mediatek-mt7622-buffalo_wsr-2533dhp2-initramfs-kernel.bin
4. The system boots the image

Write to flash from U-Boot
-----------------------------
This will load the image over tftp and directly write it into the flash.

1. Stop boot menu with "space" key
2. Select "System Load Linux Kernel then write to Flash via TFTP."
3. Load this image:
   openwrt-mediatek-mt7622-buffalo_wsr-2533dhp2-squashfs-factory-uboot.bin
4. The system writes this image into the flash and boots into it.

Write to flash from Web UI
-----------------------------
This will load the image over over the Web UI and write it into the flash

1. Open the Web UI
2. Go to "管理" -> "ファームウェア更新"
3. Select "ローカルファイル指定" and click "更新実行"
4. Load this image:
   openwrt-mediatek-mt7622-buffalo_wsr-2533dhp2-squashfs-factory.bin
5. The system writes this image into the flash and boots into it.

Specifications
-------------------
* SoC:       MT7622 (4x4 2.4 GHz Wifi)
* Wifi:      MT7615 (4x4 5 GHz Wifi)
* Flash:     Winbond W29N01HZ 128MB SLC NAND
* RAM        256MB
* Ethernet:  Realtek RTL8367S (5 x 1GBit/s, SoC via 2.5GBit/s)

Co-Developed-by: Hauke Mehrtens <hauke@hauke-m.de>
Signed-off-by: INAGAKI Hiroshi <musashino.open@gmail.com>
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
2021-03-16 11:21:32 +08:00
INAGAKI Hiroshi
3354895999 mtd: add option for TRX magic to fixtrx
Buffalo uses the TRX header with a different magic and even changes this
magic with different devices. This change allows to specify the header
to use as a command line argument.

This is needed for the Buffalo WSR-2533DHP2 based on mt7622.

Co-Developed-by: Hauke Mehrtens <hauke@hauke-m.de>
Signed-off-by: INAGAKI Hiroshi <musashino.open@gmail.com>
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
2021-03-16 11:17:41 +08:00
Rosen Penev
29b028f40c gettext-full: disable nameless locale define
It seems some packages like transmission and json-glib fail with it
enabled.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2021-03-16 11:12:46 +08:00
Dominick Grift
d7567389d5 selinux-policy: update to version v0.8
Signed-off-by: Dominick Grift <dominick.grift@defensec.nl>
2021-03-16 11:12:13 +08:00
Tianling Shen
1934e98da6
Merge Mainline
Signed-off-by: Tianling Shen <cnsztl@gmail.com>
2021-03-15 17:51:31 +08:00
Tianling Shen
0a1c53222e
shadowsocks-rust: drop UPX support
Signed-off-by: Tianling Shen <cnsztl@gmail.com>
2021-03-15 16:47:42 +08:00
Tianling Shen
19980fd5b9
treewide: add mirrors for GitHub Archives
Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
2021-03-15 15:01:44 +08:00
Tianling Shen
9796619efc
treewide: add mirrors for GitHub Codeload
Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
2021-03-15 14:17:10 +08:00
Beginner
72becfbf30
xray-plugin: update to 1.4.0
Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
2021-03-15 12:11:36 +08:00
Daniel Golle
e56c3816bf uboot-mediatek: also install production image to eMMC
Make installation to eMMC more convenient on the BPi-R64 by also
copying the production image (if valid) from SD Card to eMMC.

Signed-off-by: Daniel Golle <daniel@makrotopia.org>
2021-03-15 11:37:36 +08:00
Daniel Golle
0b98c616fa uboot-mediatek: select matching U-Boot for board
Instead of building all U-Boot variants by default, build only those
needed by the selected board(s).

Signed-off-by: Daniel Golle <daniel@makrotopia.org>
2021-03-15 11:36:37 +08:00
Tony Ambardar
9b6ec4b9fb kernel: support new mdio_devres.ko module in 5.10
Add kmod-mdio-devres package and kernel config symbol, and update related
kmod-r8169 and kmod-ixgbe package dependencies.

Build tested module dependencies on x86/64 with CONFIG_ALL_KMODS=y.

Signed-off-by: Tony Ambardar <itugrok@yahoo.com>
2021-03-15 11:33:11 +08:00
Hauke Mehrtens
acb48a75e2 realtek: Add ZyXEL GS1900-8
The ZyXEL GS1900-8 is a 8 port switch without any PoE functionality or
SFP ports, but otherwise similar to the other GS1900 switches.

Specifications
--------------
* Device:    ZyXEL GS1900-8 v1.2
* SoC:       Realtek RTL8380M 500 MHz MIPS 4KEc
* Flash:     Macronix MX25L12835F 16 MiB
* RAM:       Nanya NT5TU128M8GE-AC 128 MiB DDR2 SDRAM
* Ethernet:  8x 10/100/1000 Mbit
* LEDs:      1 PWR LED (green, not configurable)
             1 SYS LED (green, configurable)
             8 ethernet port status LEDs (green, SoC controlled)
* Buttons:   1 on-off glide switch at the back (not configurable)
             1 reset button at the right side, behind the air-vent
               (not configurable)
             1 reset button on front panel (configurable)
* Power      12V 1A barrel connector
* UART:      1 serial header (JP2) with populated standard pin connector on
             the left side of the PCB, towards the back. Pins are labelled:
             + VCC (3.3V)
             + TX (really RX)
             + RX (really TX)
             + GND
             the labelling is done from the usb2serial connector's point of
             view, so RX/ TX are mixed up.

Serial connection parameters for both devices: 115200 8N1.

Installation
------------
Instructions are identical to those for the GS1900-10HP and GS1900-8HP.

* Configure your client with a static 192.168.1.x IP (e.g. 192.168.1.10).
* Set up a TFTP server on your client and make it serve the initramfs
  image.
* Connect serial, power up the switch, interrupt U-boot by hitting the
  space bar, and enable the network:
  > rtk network on
* Since the GS1900-10HP is a dual-partition device, you want to keep the
  OEM firmware on the backup partition for the time being. OpenWrt can
  only boot off the first partition anyway (hardcoded in the DTS). To
  make sure we are manipulating the first partition, issue the following
  commands:
  > setsys bootpartition 0
  > savesys
* Download the image onto the device and boot from it:
  > tftpboot 0x84f00000 192.168.1.10:openwrt-realtek-generic-zyxel_gs1900-8-initramfs-kernel.bin
  > bootm
* Once OpenWrt has booted, scp the sysupgrade image to /tmp and flash it:
  > sysupgrade /tmp/openwrt-realtek-generic-zyxel_gs1900-8-squashfs-sysupgrade.bin

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
2021-03-15 11:30:59 +08:00
Beginner
2df8719886
v2ray-plugin: update to 4.36.0 2021-03-15 00:48:41 +08:00
Beginner
f56a3dce91
v2ray: update to 4.36.0 2021-03-15 00:47:59 +08:00
Tianling Shen
6c186eafb0
Merge Mainline
Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
2021-03-14 23:47:44 +08:00
Tianling Shen
51f8dfa498
luci-app-ssr-plus: only selete ss-rust for armv8 devices
ss-libev on x86_64 is good enough.

Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
2021-03-14 23:45:15 +08:00
xiaorouji
3ccae98761
luci-app-passwall: bump to 4-17
Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
2021-03-14 23:14:54 +08:00
Tianling Shen
0bc42819ae
luci-app-ssr-plus: fix typo err of binname
Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
2021-03-14 18:59:46 +08:00