Commit Graph

1888 Commits

Author SHA1 Message Date
CN_SZTL
3f14b2487d
Merge Mainline 2020-09-06 20:03:11 +08:00
CN_SZTL
a39e256193
kernel: bump to 4.9.235, 4.14.196, 4.19.143
Refreshed all patches.

Signed-off-by: CN_SZTL <cnsztl@project-openwrt.eu.org>
2020-09-06 19:58:14 +08:00
John Audia
36833db556
kernel: bump 5.4 to 5.4.63
Manual merged:
 hack-5.4
  230-openwrt_lzma_options.patch (with Adrian Schmutzler's help)
 bcm27xx
  950-0283-hid-usb-Add-device-quirks-for-Freeway-Airmouse-T3-an.patch
 x86
  patches-5.4
	 011-tune_lzma_options.patch (with Adrian Schmutzler's help)

Remove upstreamed patches in collaboration with Ansuel Smith:
 ipq806x
  093-1-v5.8-ipq806x-PCI-qcom-Add-missing-ipq806x-clocks-in-PCIe-driver.patch
  093-2-v5.8-ipq806x-PCI-qcom-Change-duplicate-PCI-reset-to-phy-reset.patch
  093-3-v5.8-ipq806x-PCI-qcom-Add-missing-reset-for-ipq806x.patch

All other modifications made by update_kernel.sh

Build system: x86_64
Run-tested: ipq806x (R7800)

No dmesg regressions, everything functional

Signed-off-by: John Audia <graysky@archlinux.us>
2020-09-06 19:56:39 +08:00
CN_SZTL
a484539511
ath79: sync with upstream source 2020-09-06 19:53:51 +08:00
Adrian Schmutzler
c325a923f7
ar71xx: drop target
This target has been mostly replaced by ath79 and won't be included
in the upcoming release anymore. Finally put it to rest.

This also removes all references in packages, tools, etc. as well as
the uboot-ar71xx and vsc73x5-ucode packages.

Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de>
2020-09-06 18:19:14 +08:00
Jayantajit Gogoi
bb521879e1
sunxi: add support for NanoPi R1
Specification:

-CPU: Allwinner H3, Quad-core Cortex-A7 Up to 1.2GHz
-DDR3 RAM: 512MB/1GB
-Network:
    10/100/1000M Ethernet x 1,
    10/100M Ethernet x 1
-WiFi: 802.11b/g/n, with SMA antenna interface
-Bluetooth:4.0 dual mode
-USB Host: Type-A x2
-MicroSD Slot x 1
-MicroUSB: for OTG and power input
-Debug Serial Port: 3Pin 2.54mm pitch pin-header
-UART: 4Pin 2.54mm pitch pin-header
-LED:
    nanopi:red:pwr
    nanopi:green:wan
    nanopi:green:lan
-KEY:
    reset
-Power Supply: DC 5V/2A

Installation:

-Burn the image to and SD Card
-Boot NanoPi from the SD Card

Signed-off-by: Jayantajit Gogoi <jayanta.gogoi525@gmail.com>
2020-09-06 12:45:11 +08:00
CN_SZTL
a28742101a
sunxi: sync with upstream source 2020-09-06 12:40:53 +08:00
CN_SZTL
271aafdfae
sunxi: drop kernel 4.14 2020-09-06 12:31:13 +08:00
CN_SZTL
08b71c12e6
sunxi: drop support for nanopi duo2/r1/r1s 2020-09-06 12:30:21 +08:00
Christian Lamparter
de40a4cb42 apm821xx: provide legacy interrupts for PCIe in DT
Devices with PCIe-Switches like the WNDR4700, MR24 and WNDAP660
need to have the interrupts property specified in the device-tree
for the legacy pci interrupt signaling method to work.

If the proper interrupt value is not specified, the default INTA
IRQ 12 is taken for all devices. This is especially bad, if the
device is setup to use INTC, because these interrupts will not
be serviced.

Russell Senior reported his experience on the MR24:
"The symptom is client devices can't see the beacons.
Wifi ifaces appear, can scan and hear other networks,
but clients can't see the MR24's SSIDs."

(The interrupts-property on the WNDAP620 was optional since it
uses INTA by default. Likewise the MX60W is in the same category)

Reported-by: Russell Senior <russell@personaltelco.net>
Signed-off-by: Christian Lamparter <chunkeey@gmail.com>
2020-09-06 11:38:32 +08:00
Yangbo Lu
77598b04d0 layerscape: fix linux headers install issue
The linux upstream commit had treated config leak as error.
5967577 scripts: headers_install: Exit with error on config leak

It is causing below build issue. Provide a kernel patch to fix
it by replacing CONFIG_COMPAT kernel option with FM_COMPAT instead.

  HDRINST usr/include/linux/fmd/integrations/integration_ioctls.h
  HDRINST usr/include/linux/fmd/Peripherals/fm_port_ioctls.h
error: include/uapi/linux/fmd/Peripherals/fm_port_ioctls.h: leak
CONFIG_COMPAT to user-space
scripts/Makefile.headersinst:63: recipe for target
'usr/include/linux/fmd/Peripherals/fm_port_ioctls.h' failed
make[5]: *** [usr/include/linux/fmd/Peripherals/fm_port_ioctls.h] Error 1
Makefile:1198: recipe for target 'headers' failed
make[4]: *** [headers] Error 2

Signed-off-by: Yangbo Lu <yangbo.lu@nxp.com>
2020-09-06 11:38:03 +08:00
CN_SZTL
0fa25f1cab
sunxi: disable duo2/r1/r1s build 2020-09-05 14:50:46 +08:00
CN_SZTL
75bbbc8bc2
sunxi: switch to kernel 4.14 2020-09-05 14:41:44 +08:00
Felix Fietkau
7e8018f215 mediatek: enable coherent DMA for ethernet and PCI
Improves performance by eliminating the need for extra cache flushes

Signed-off-by: Felix Fietkau <nbd@nbd.name>
2020-09-05 11:39:48 +08:00
Felix Fietkau
e2318b9cf4 mediatek: fix an irq handling issue
Signed-off-by: Felix Fietkau <nbd@nbd.name>
2020-09-05 11:39:25 +08:00
Felix Fietkau
ecf69f886c mediatek/ramips: add patch to avoid unnecessary rearming of interrupts
Signed-off-by: Felix Fietkau <nbd@nbd.name>
2020-09-05 11:39:02 +08:00
Felix Fietkau
838b7fe375 mediatek: disable packet steering by default
mt76 now spreads the load over multiple CPUs more smoothly, processing
ethernet packets should be faster running on one core

Signed-off-by: Felix Fietkau <nbd@nbd.name>
2020-09-05 11:38:38 +08:00
Felix Fietkau
e26811c2fb mediatek: enable kernel PCIe ASPM support, refresh kernel config
Improves performance on PCIe devices

Signed-off-by: Felix Fietkau <nbd@nbd.name>
2020-09-05 11:37:34 +08:00
Felix Fietkau
ce1558cff6 mediatek/ramips: unify ethernet driver fixes and add performance optimizations
Increase DMA burst size and tx ring size and optimize tx processing

Signed-off-by: Felix Fietkau <nbd@nbd.name>
2020-09-02 11:36:26 +08:00
John Crispin
01421e4328 mediatek: pull in some fixes fromt he latest SDK
Signed-off-by: John Crispin <john@phrozen.org>
2020-09-01 19:04:00 +08:00
AmadeusGhost
b503ba85d0 ramips: ac2100: fix led config 2020-09-01 18:56:42 +08:00
AmadeusGhost
fb8ad74ba4 Merge Mainline 2020-08-31 12:00:01 +08:00
Thomas Petazzoni
28212bbd55 kernel: add options needed for SELinux
This adds a number of options to config/Config-kernel.in so that
packages related to SELinux support can enable the appropriate Linux
kernel support.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
[rebase; add ext4, F2FS, UBIFS, and JFFS2 support; add commit message]
Signed-off-by: W. Michael Petullo <mike@flyn.org>
2020-08-31 11:33:32 +08:00
Hannu Nyman
e9c68aa795 kernel: add missing symbol NET_DSA_TAG_RTL4_A
Fix build breakage caused by the missing kernel config symbol.

Fixes: 8735997686 ("kernel: backport RTL8366RB patches")
Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
2020-08-31 11:09:50 +08:00
Adrian Schmutzler
4cfabd2167 ath79: increase kernel partition for ar9344 TP-Link CPE/WBS
The kernel has become too big again for the ar9344-based TP-Link
CPE/WBS devices which still have no firmware-partition splitter.

Current buildbots produce a kernel size of about 2469 kiB, while
the partition is only 2048 kiB (0x200000). Therefore, increase it
to 0x300000 to provide enough room for this and, hopefully, the
next kernel.

Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de>
2020-08-31 11:07:57 +08:00
Christian Lamparter
7bec3adfe2 apm821xx: fix typos in .dts files
This patch fixes various typos or tab-vs-space issues in
the APM821XX device targets Device-Tree source files.

Signed-off-by: Christian Lamparter <chunkeey@gmail.com>
2020-08-30 12:05:48 +08:00
Christian Lamparter
8968818e66 apm821xx: use SPDX-License-identifiers
Please note that the DTS are based on really old .DTS from vendors
themselves.

Signed-off-by: Christian Lamparter <chunkeey@gmail.com>
2020-08-30 12:05:18 +08:00
Christian Lamparter
ff67e57641 apm821xx: apm821xx.dtsi fix comment styles
Signed-off-by: Christian Lamparter <chunkeey@gmail.com>
2020-08-30 12:04:45 +08:00
Christian Lamparter
1c883cf460 apm821xx: MX60W: enumerate PCIe in device-tree
This patch adds the pcie-switch and bridge configuration for
the Meraki MX60W.

Signed-off-by: Christian Lamparter <chunkeey@gmail.com>
2020-08-30 12:04:08 +08:00
Christian Lamparter
96e4a96ede apm821xx: WNDR4700: delete wndr4700 board file
Thanks to the PCIE OF enumeration patch, this is technically
no longer needed.

Signed-off-by: Christian Lamparter <chunkeey@gmail.com>
2020-08-30 12:03:38 +08:00
Christian Lamparter
5f228c20cb apm821xx: MR24: enumerate PCIe in device-tree
This patch adds the pcie-switch and bridge configuration for
the Meraki MR24.

Signed-off-by: Christian Lamparter <chunkeey@gmail.com>
2020-08-30 12:03:14 +08:00
Christian Lamparter
18fcbf1a1a apm821xx: add missing cells-values for IIC1
These are copied over from the IIC0.

Signed-off-by: Christian Lamparter <chunkeey@gmail.com>
2020-08-30 12:02:43 +08:00
Christian Lamparter
45440f87ff apm821xx: DTB: fix warnings related to sata-port warnings
This patch silences the following warnings:
>netgear-wndr4700.dts:168.3-13:Warning (reg_format): /plb/sata@bffd1800/sata-port@0:reg:property has invalid length (4 bytes) (#address-cells == 2, #size-cells == 1)
>netgear-wndr4700.dts:167.26-170.4: Warning (avoid_default_addr_size):/plb/sata@bffd1800/sata-port@0: Relying on default #address-cells value
>netgear-wndr4700.dts:167.26-170.4: Warning (avoid_default_addr_size):/plb/sata@bffd1800/sata-port@0: Relying on default #size-cells value

Signed-off-by: Christian Lamparter <chunkeey@gmail.com>
2020-08-30 12:00:07 +08:00
Christian Lamparter
c47692cf9c apm821xx: WNDAP6x0: enumerate PCIe in device-tree
This patch adds the pcie-switch and bridge configuration of the
WNDAP620 and WNDAP660.

Signed-off-by: Christian Lamparter <chunkeey@gmail.com>
2020-08-30 11:59:41 +08:00
Christian Lamparter
0445f0d4f4 apm821xx: WNDR4700: enumerate PCIe in device-tree
This patch adds the pcie-switch and bridge configuration of the
WNDR4700.

This allows to get rid of the legacy firmware monikers and drop
the usbport LED declaration.

Signed-off-by: Christian Lamparter <chunkeey@gmail.com>
2020-08-30 11:59:09 +08:00
CN_SZTL
a3f1d304fd
kernel/5.4: fix SUBARCH patch
Signed-off-by: CN_SZTL <cnsztl@project-openwrt.eu.org>
2020-08-30 04:39:43 +08:00
AmadeusGhost
1be70136a5 rockchip: move the dependency of config to config 2020-08-29 12:38:21 +08:00
Daniel Golle
3d69c2dc40 oxnas: kd20: revert accedintally commited change
Changing the factory image of KD20 was used during testing and wasn't
intended to be included in the commit fixing a SATA bug on oxnas.
Revert that part of the commit.

Fixes: 5793112f75 ("oxnas: reduce size of ATA DMA descriptor space")
Signed-off-by: Daniel Golle <daniel@makrotopia.org>
2020-08-29 12:08:24 +08:00
CN_SZTL
3786bddc80
mvebu: drop kernel 4.14 support 2020-08-29 02:01:12 +08:00
CN_SZTL
6154c9053c
mvebu: drop compat info 2020-08-29 01:45:27 +08:00
CN_SZTL
0669f927c1
mvebu: make sysupgrade compatible with existing scripts 2020-08-29 01:37:30 +08:00
CN_SZTL
2ee0e86dbe
mvebu: sync with upstream source 2020-08-29 01:35:33 +08:00
Hauke Mehrtens
2fbf5961de
pistachio: Use kernel 5.4 by default
Kernel 5.4 should be stable enough.

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
2020-08-29 01:35:07 +08:00
Perry Melange
0ffddff986 ramips: rt3883: use lzma-loader for DIR-645
The DIR-645 fails to boot if the kernel is large.
Enabling lzma-loader resolves the issue.

Run-tested on D-Link DIR-645.

Signed-off-by: Perry Melange <isprotejesvalkata@gmail.com>
2020-08-28 09:29:05 +08:00
Adrian Schmutzler
152511f634 at91: explicitly set CONFIG_USB_SUPPORT for sam9x subtarget
The at91 target sets

  FEATURES:=usb usbgadget ...

in the target Makefile, which sets CONFIG_USB_SUPPORT=y in the
.config file for both subtargets.

However, when building with all kmods, the build fails with the
following error message:

  ERROR: module [...]/drivers/bluetooth/btusb.ko is missing.

It appears that only a part of the bluetooth files are compiled.
The package depends @USB_SUPPORT.

This can be easily healed by adding CONFIG_USB_SUPPORT=y to the
sam9x subtarget configuration. Before the 4.14->5.4 bump, the
same was also set in the target's config-4.14 file along with
several other USB config options that are not reimplemented.

Still, it remains a mystery to me why setting the same symbol
via target kernel config creates a different result than the
feature setting the same symbol in target-metadata.pl.

Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de>
2020-08-28 09:28:31 +08:00
wevsty
170f467e07
rockchip: support hardware random number generator for RK3328 and RK3399
Signed-off-by: wevsty <ty@wevs.org>
2020-08-28 02:52:59 +08:00
CN_SZTL
15f1d2dc74
kernel/4.9: drop unapplied patch
Fixes: #185.

Signed-off-by: CN_SZTL <cnsztl@project-openwrt.eu.org>
2020-08-27 07:48:28 +08:00
CN_SZTL
20c62b1558
kernel: bump 5.4 to 5.4.61
Resolve conflicted:
 - 011-kbuild-export-SUBARCH.patch
 - 701-net-0262-net-dsa-ocelot-add-tagger-for-Ocelot-Felix-switches.patch

Refreshed all patches.

Signed-off-by: CN_SZTL <cnsztl@project-openwrt.eu.org>
2020-08-27 05:42:59 +08:00
CN_SZTL
9458060f9a
Merge Mainline 2020-08-27 04:30:47 +08:00
CN_SZTL
9b04dc6abe
kernel: bump to 4.9.234, 4.14.195, 4.19.142
Refreshed all patches.

Signed-off-by: CN_SZTL <cnsztl@project-openwrt.eu.org>
2020-08-27 04:27:45 +08:00