Commit Graph

6990 Commits

Author SHA1 Message Date
Adrian Schmutzler
1314e18bf4 rtl838x: refresh config
Use "make kernel_oldconfig" to update and sort target config.

Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de>
2020-09-17 11:43:35 +08:00
Adrian Schmutzler
b735b350ee rtl838x: remove some debug output in rtl838x-nor.c
Seems like leftovers from development, remove them.

Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de>
2020-09-17 11:42:55 +08:00
CN_SZTL
9c42babb3e
Merge Mainline
Droped changes for ipq40xx.
2020-09-16 13:42:04 +08:00
CN_SZTL
18c14808ec
OpenClash: bump to 0.40.4-beta 2020-09-16 13:37:48 +08:00
AmadeusGhost
19eb5875db ipq40xx: sync official source code 2020-09-16 11:40:30 +08:00
AmadeusGhost
1e4accd9bd ipq40xx: sync upstream source code 2020-09-16 11:38:38 +08:00
Rafał Miłecki
848150d198 uhttpd: update to the latest master
1172357 ubus: add new RESTful API
fe1888f ubus: fix blob_buf initialization

Fixes: 3d167ed805 ("uhttpd: update to the latest master")
Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
2020-09-16 11:24:43 +08:00
Adrian Schmutzler
7b1152a773 rtl838x: remove and add some empty lines
Do some minor empty lines cleanup, i.e. remove those at EOF and
add some for cosmetic reasons/consistency.

Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de>
2020-09-16 11:23:45 +08:00
Birger Koblitz
bcd068e47d rtl838x: add new architecture
This adds support for the RTL838x Architecture.
SoCs of this type are used in managed and un-managed Switches and Routers
with 8-28 ports. Drivers are provided for SoC initialization, GPIOs, Flash,
Ethernet including a DSA switch driver and internal and external PHYs used
with these switches.

Supported SoCs:

	RTL8380M
	RTL8381M
	RTL8382M

The kernel will also boot on the following RTL839x SoCs, however driver
support apart from spi-nor is missing:

	RTL8390
	RTL8391
	RTL8393

The following PHYs are supported:

	RTL8214FC (Quad QSGMII multiplexing GMAC and SFP port)
	RTL8218B internal: internal PHY of the RTL838x chips
	RTL8318b external (QSGMII 8-port GMAC phy)
	RTL8382M SerDes for 2 SFP ports
	Initialization sequences for the PHYs are provided in the form of
	firmware files.

Flash driver supports 3 / 4 byte access

DSA switch driver supports VLANs, port isolation, STP and port mirroring.

The ALLNET ALL-SG8208M is supported as Proof of Concept:

	RTL8382M SoC
	1 MIPS 4KEc core @ 500MHz
	8 Internal PHYs (RTL8218B)
	128MB DRAM (Nanya NT5TU128MB)
	16MB NOR Flash (MXIC 25L128)
	8 GBEthernet ports with one green status LED each (SoC controlled)
	1 Power LED (not configurable)
	1 SYS LED (configurable)
	1 On-Off switch (not configurable)
	1 Reset button at the right behind right air-vent (not configurable)
	1 Reset button on front panel (configurable)
	12V 1A barrel connector
	1 serial header with populated standard pin connector and with markings
	  GND TX RX Vcc(3.3V), connection properties: 115200 8N1

To install, upload the sysupgrade image to the OEM webpage.

Signed-off-by: Birger Koblitz <git@birger-koblitz.de>
2020-09-15 11:38:57 +08:00
Birger Koblitz
9e2bdac0d8 kernel: add support for ALLNET devices in mtdsplit
Add support for uimage headers from ALLNET and provide support for the
SG8208M and SG8310PM devices' magic bytes.

Signed-off-by: Birger Koblitz <git@birger-koblitz.de>
2020-09-15 11:38:32 +08:00
Jo-Philipp Wich
18d6b88384 scripts: ipkg-build: simplify uid/gid resolving
Use the prepared .packageusergroup file to lookup user and group names
when processing the passed file mode.

Also replace the various subshell/cut invocations with a sequence of
standard variable interpolations which fixes paths with embedded colons
as a side-effect.

Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2020-09-15 11:37:24 +08:00
Jo-Philipp Wich
ca3b64226f build: dump effective user/group id mapping to file
This file can be subsequently used to resolve symbolic user or group names
to their numeric IDs when packing ipk archives.

Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2020-09-15 11:36:54 +08:00
Paul Spooren
8225659728 build: add user/group ID resolve function
With the introduction of `./tmp/userids` the `ipkg-build` script can now
resolve values of "PKG_FILE_MODES", allowing users to set names rather
than numeric values.

Signed-off-by: Paul Spooren <mail@aparcar.org>
2020-09-15 11:33:37 +08:00
Klaus Kudielka
50bdb9d45a uboot-envtools: mvebu: update uci defaults for Turris Omnia
On the Turris Omnia 2019, u-boot environment is located at 0xF0000, instead
of 0xC0000. The switch happened with u-boot-omnia package version 2019-04-2
(May 10, 2019).

Check the installed u-boot release, and set the default accordingly.

Signed-off-by: Klaus Kudielka <klaus.kudielka@gmail.com>
[bump PKG_RELEASE, use lower case for hex offset]
Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de>
2020-09-14 10:37:00 +08:00
Chuanhong Guo
cbd9698e7d ramips: mt7621: pbr-m1: fix firmware size
This board is equipped with Winbond W25Q256FV 32M SPI-NOR.
Fix partition size for that.

Signed-off-by: Chuanhong Guo <gch981213@gmail.com>
2020-09-14 10:36:30 +08:00
Chuanhong Guo
7d81d223ac ramips: mt7621: pbr-m1: increase SPI clock to 50MHz
Signed-off-by: Chuanhong Guo <gch981213@gmail.com>
2020-09-14 10:34:26 +08:00
Chuanhong Guo
222d2fee59 ramips: mt7621: pbr-m1: add pcie reset for asm1061
this board has a pcie to sata bridge connected to pcie2 with a
separated pcie reset on gpio7.
add reset-gpios and corresponding pinctrl nodes into dts.

Signed-off-by: Chuanhong Guo <gch981213@gmail.com>
2020-09-14 10:34:02 +08:00
Felix Fietkau
061059eb72 ramips/mediatek: improve GRO performance, fix PPE packet parsing
Backport upstream changes to initialize GDM settings and reset PPE
Allow GMAC to recognize the special tag to fix PPE packet parsing
Improve GRO performance by passing PPE L4 hash as skb hash

Signed-off-by: Felix Fietkau <nbd@nbd.name>
2020-09-14 10:33:36 +08:00
David Bauer
bb6caeda30
rockchip: refresh NanoPi R2S patches with upstream feedback 2020-09-13 16:43:32 +08:00
Zhong Jianxin
11a064d5c9
ath79: add support for Mercury MW4530R v1
Mercury MW4530R is a TP-Link TL-WDR4310 clone.

Specification:

* SOC: Atheros AR9344 (560 MHz)
* RAM: 128 MiB
* Flash: 8192 KiB
* Ethernet: 5 x 10/100/1000 (4 x LAN, 1 x WAN) (AR8327)
* Wireless:
  - 2.4 GHz b/g/n (internal)
  - 5 GHz a/n (AR9580)
* USB: yes, 1 x USB 2.0

Installation:

Flash factory image via OEM web interface.

Signed-off-by: Zhong Jianxin <azuwis@gmail.com>
2020-09-13 11:02:29 +08:00
CN_SZTL
b54698cf30
luci-app-openclash: bump to 0.40.3 2020-09-13 00:50:07 +08:00
CN_SZTL
c2ac761217
v2ray: bump to 4.28.1 2020-09-13 00:48:27 +08:00
CN_SZTL
7ccd66cdea
Merge Mainline 2020-09-12 23:35:51 +08:00
CN_SZTL
876258d192
kernel: bump 5.4 to 5.4.65
Signed-off-by: CN_SZTL <cnsztl@project-openwrt.eu.org>
2020-09-12 23:34:20 +08:00
CN_SZTL
1ecb19072b
kernel: bump 4.19 to 4.19.145
Refreshed all patches.

Signed-off-by: CN_SZTL <cnsztl@project-openwrt.eu.org>
2020-09-12 23:08:12 +08:00
CN_SZTL
8588e8694a
kernel: bump 4.14 to 4.14.198
Refreshed all patches.

Signed-off-by: CN_SZTL <cnsztl@project-openwrt.eu.org>
2020-09-12 23:07:39 +08:00
CN_SZTL
fca5caac75
luci-app-ssocks: fix kill process 2020-09-12 22:34:54 +08:00
CN_SZTL
b7478d105a
luci-app-ssocks: fix path to binary 2020-09-12 20:38:58 +08:00
Teaffanie
6ff530c83c
luci-app-passwall: sync with upstream source (#202) 2020-09-12 19:25:08 +08:00
CN_SZTL
b2a586b53d
Merge Mainline 2020-09-12 19:20:52 +08:00
CN_SZTL
3f4b8ab3d7
luci-app-ssocks: move to services 2020-09-12 19:18:51 +08:00
CN_SZTL
7bd43a44e6
luci-app-argon-config: depend on theme package 2020-09-12 19:11:11 +08:00
CN_SZTL
55f6b07956
luci-app-argon-config: tidy up Makefile 2020-09-12 19:06:19 +08:00
Buhtige
7e2d892441
luci-app-argon-config: add package (#198) 2020-09-12 19:02:00 +08:00
CN_SZTL
fdcf353bdb
kernel: bump 4.9 to 4.9.236
Refreshed all patches.

Signed-off-by: CN_SZTL <cnsztl@project-openwrt.eu.org>
2020-09-12 18:48:56 +08:00
CN_SZTL
d4f8b14e53
UnblockNeteaseMusic-Go: bump to 0.2.6 2020-09-12 18:11:17 +08:00
CN_SZTL
590ef6f3b0
luci-app-openclash: sync with upstream source 2020-09-12 18:05:53 +08:00
John Audia
aa7a0c85cc
kernel: bump 5.4 to 5.4.64
Remove upstreamed patches:
 generic-backport
  701-v5.5-net-core-use-listified-Rx-for-GRO_NORMAL-in-napi_gro.patch

Manually merged:
 mediatek/patches-5.4
  0603-net-dsa-mt7530-Extend-device-data-ready-for-adding-a.patch

All other modifications made by update_kernel.sh

Build-tested: ipq806x, lantiq/xrx200, mvebu, x86/64
Run-tested: ipq806x (R7800), mvebu (mamba, rango),
  lantiq/xrx200 (Easybox 904 xDSL), x86/64

No dmesg regressions, everything functional

Signed-off-by: John Audia <graysky@archlinux.us>
[add community build/run tests to commit message]
Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de>
2020-09-12 18:00:59 +08:00
CN_SZTL
4d1a9d49b7
syncthing: bump to 1.9.0 2020-09-12 17:57:42 +08:00
Teaffanie
82527995c0
luci-app-passwall: bump to 3.9-57 (#201) 2020-09-12 17:34:00 +08:00
AmadeusGhost
c4ad5d73a1 uboot-envtools: sync upstream source code 2020-09-12 15:05:03 +08:00
AmadeusGhost
a061a24d75 ramips: sync official source code 2020-09-12 15:01:12 +08:00
Chen Minqiang
bbed7ed187 ramips: add mt7620-nand driver for NAND flash
This add the mt7620-nand driver
and enable nand ubifs for subtarget mt7620

Signed-off-by: Chen Minqiang <ptpt52@gmail.com>
2020-09-12 11:58:02 +08:00
AmadeusGhost
233d1d5bb3 target/5.4: move common patches into generic 2020-09-12 11:50:15 +08:00
Adrian Schmutzler
ca171c7cc4 kernel: use proper upstream inclusion version for patch
The patch is only included in kernel 5.5.

Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de>
2020-09-12 11:35:50 +08:00
CN_SZTL
d5f25ea111
naiveproxy: bump to 85.0.4183.83-3 2020-09-12 00:55:31 +08:00
CN_SZTL
d5b5d474b8
Merge Mainline 2020-09-12 00:39:22 +08:00
好想告诉你
57dade6539
smartdns: update to Release 33 2020-09-12 00:33:29 +08:00
CN_SZTL
c56ede6779
Merge pull #198 2020-09-11 23:56:20 +08:00
CN_SZTL
bf817b6f2b
ssocks: fix gcc10 compilation
Co-authored-by: Lienol <lawlienol@gmail.com>
2020-09-11 23:22:53 +08:00