45 Commits

Author SHA1 Message Date
AmadeusGhost
3929a9889f kernel/5.4: backport mtd parser for Sercomm parts
Fixes: #10143
2022-10-07 12:36:53 +08:00
lovehackintosh
6fc2d00f25
kernel: bump 5.4 to 5.4.214 (#10170)
Manually rebased:
 generic/hack-5.4/953-net-patch-linux-kernel-to-support-shortcut-fe.patch
 ipq806x/patches-5.4/0063-2-tsens-support-configurable-interrupts.patch
 layerscape/patches-5.4/301-arch-0008-arm-add-new-non-shareable-ioremap.patch
 layerscape/patches-5.4/820-usb-0009-usb-dwc3-Add-workaround-for-host-mode-VBUS-glitch-wh.patch
 layerscape/patches-5.4/801-audio-0008-Revert-ASoC-Remove-dev_err-usage-after-platform_get_.patch
 octeon/patches-5.4/700-allocate_interface_by_label.patch

All other patches automatically rebased.

Signed-off-by: Liu Linhui <liulinhui36@gmail.com>

Signed-off-by: Liu Linhui <liulinhui36@gmail.com>
2022-09-24 12:09:08 +08:00
AmadeusGhost
8a353822ed Revert "kernel: bump 5.4 to 5.4.211"
This reverts commit 548ac73c5b903061cf32094c5c100516f0fb8c5e.
2022-09-19 21:01:08 +08:00
lean
548ac73c5b kernel: bump 5.4 to 5.4.211 2022-09-17 17:45:16 +08:00
Christian Marangi
b42a41acbe ipq806x: add missing scaling_available_frequencies for dedicated cpufreq
Add missing scaling_available_frequencies sysfs entry for dedicated
cpufreq driver.
This sysfs entry is not standard and each cpufreq driver needs to
provide it and declare it in the cpufreq driver struct attr.

Fixes: 5dbbefcbccc0 ("ipq806x: introduce dedicated krait cpufreq")
Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
2022-08-23 10:27:01 +08:00
José Hwong
a0cac9a6d1
kernel: bump 5.4 to 5.4.199 (#9601)
Removed:
target/linux/bcm27xx/patches-5.4/950-1014-Revert-mailbox-avoid-timer-start-from-callback.patch [1]

[1]6d8b9f574b

Signed-off-by: José Hwong <josehwong@hotmail.com>
2022-06-18 00:30:30 +08:00
José Hwong
bc45671c00
kernel: bump 5.4 to 5.4.195 (#9408)
* kernel: bump 5.4 to 5.4.194

Signed-off-by: José Hwong <josehwong@hotmail.com>

* kernel: bump 5.4 to 5.4.195

Signed-off-by: José Hwong <josehwong@hotmail.com>
2022-05-19 12:36:33 +08:00
José Hwong
ad67dcb784
kernel: bump 5.4 to 5.4.193 (#9393)
Signed-off-by: José Hwong <josehwong@hotmail.com>
2022-05-16 01:41:30 +08:00
José Hwong
07fa9114d6
kernel: bump 5.4 to 5.4.190 (#9287)
* kernel: bump 5.4 to 5.4.189

Signed-off-by: José Hwong <88561480+JoseCoW@users.noreply.github.com>

* kernel: bump 5.4 to 5.4.190

Signed-off-by: José Hwong <88561480+JoseCoW@users.noreply.github.com>
2022-04-21 22:41:18 +08:00
JoseCoW
6371d6313d
kernel: bump 5.4 to 5.4.188 (#9159)
Signed-off-by: JoseCoW <88561480+JoseCoW@users.noreply.github.com>
2022-03-31 13:33:25 +08:00
JoseCoW
a44076d63c
Fix offset for some patches of kernel-5.4 (#9085) 2022-03-17 23:12:46 +08:00
JoseCoW
f684871135
kernel: bump 5.4 to 5.4.185 (#9080)
* kernel: bump 5.4 to 5.4.184

* kernel: bump 5.4 to 5.4.185
2022-03-17 16:01:57 +08:00
lean
a30eae452e ipq806x: enable NSS Multicast Snooping Support 2022-02-16 17:39:01 +08:00
AmadeusGhost
aafe115cda
ipq806x: add support for SURF G-NAT200 (#8810)
Hardware specs:
  SoC: Qualcomm IPQ8064
  RAM: 1GB DDR3
  SPI: 32MB S25FL256S
  NAND: 512MB S34MS04G2 (unused)
  Ethernet: 5x 10/100/1000 Mbps QCA8337
  LED: internet, usb, sata
  Button: Reset
  USB: 1 x 3.0

Installation:
  Interrupt U-Boot, tftpboot initramfs image,
  than sysupgrade to openwrt.

Signed-off-by: AmadeusGhost <amadeus@openjmu.xyz>
2022-02-11 15:07:09 +08:00
Hugo Yuan
5efd70f89f
ipq806x: Add Norton 518 support (#8330) 2021-11-27 18:15:26 +08:00
Hugo Yuan
19a764717d
ipq806x: fix compile error (#8311) 2021-11-26 07:11:53 +08:00
Beginner
3a5b730796
kernel: bump 5.4 to 5.4.150 (#7981)
Manually rebased:
  generic/pending-5.4/800-bcma-get-SoC-device-struct-copy-its-DMA-params-to-th.patch
  mvebu/patches-5.4/021-arm64-dts-marvell-armada-37xx-Move-PCIe-comphy-handl.patch

Removed upstreamed:
  layerscape/patches-5.4/819-uart-0004-MLK-18137-fsl_lpuart-Fix-loopback-mode.patch

All others updated automatically.

Compile-tested on: lantiq/xrx200, armvirt/64
Runtime-tested on: lantiq/xrx200, armvirt/64

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>

Co-authored-by: Hauke Mehrtens <hauke@hauke-m.de>
2021-10-03 10:04:41 +08:00
AmadeusGhost
f27a1742d6
ipq806x: add support for Arris RAC2V1A (#7680)
This commit add support for Arris RAC2V1A (aka TR4400-AC).

Hardware specs:
  SoC: Qualcomm IPQ8065
  RAM: 256 MB DDR3
  Flash: 512 MB NAND
  WiFi1: Qualcomm QCA9983 2.4 GHz
  WiFi2: Qualcomm QCA9984 5 GHz
  Ethernet1: AR8033 PHY -> Wan
  Ethernet2: QCA8337 Switch -> Lan 1~4
  LED: Status (red / blue)
  USB: 1x USB 3.0 Type-A
  Button: Reset, WPS
  Power: DC 12V,2.5A

Installation:
  Interrupt U-Boot, tftpboot initramfs image,
  than sysupgrade to openwrt.

Very thanks for asushugo's help.

Signed-off-by: AmadeusGhost <amadeus@jmu.edu.cn>
2021-08-20 01:36:28 +08:00
AmadeusGhost
129bfbf305
ipq806x: add support for askey rt4230w 256m nand version (#7595)
The difference between flashing:
  Interrupt U-Boot and run these commands:

  setenv bootcmd "setenv mtdids nand0=nand0 && set mtdparts
  mtdparts=nand0:0xDC00000@0x2400000(firmware) && ubi part firmware &&
  ubi read 0x44000000 kernel 0x6e0000 && bootm"
  saveenv
2021-08-06 18:07:10 +08:00
coolsnowwolf
ff042839f3 ipq806x: fix boot pages ecc I/O error cause booting slow issue 2021-07-31 17:09:57 +08:00
coolsnowwolf
f5e7d6cec5 ipq806x: Add support for Linksys E8350 2021-07-19 09:19:48 +08:00
coolsnowwolf
6a7d00deab ipq806x: add Netgear XR500 support 2021-07-17 20:25:49 +08:00
AmadeusGhost
aa73053a71
ipq806x: re-added support for Ruijie M520 again (#7330)
Signed-off-by: AmadeusGhost <amadeus@openjmu.xyz>
2021-07-11 01:25:59 +08:00
coolsnowwolf
adf04492ee ipq806x: add NSS Hardware Offloading support 2021-07-09 17:03:34 +08:00
AmadeusGhost
70b6c02432
ipq806x: sync upstream source code (#7270)
* ipq806x: fix missing changes in 5.4 for new cpufreq implementation

The new cpufreq dedicated driver changed the node structure
on how the cache should be defined in the dts. The 5.4 dtsi addition
patch has not been updated to follow the new implementation.
Fix this to restore correct cache scaling and restore any performance
regression.

Signed-off-by: Ansuel Smith <ansuelsmth@gmail.com>

* ipq806x: fix missing 1.4ghz cache freq for ipq8065 SoC

With the new implementation of the dedicated cpufreq driver,
the 1.4 Ghz was only dropped and not added to the ipq8065 SoC.
Fix this to improve performance.

Signed-off-by: Ansuel Smith <ansuelsmth@gmail.com>

* ipq806x: fix dedicated cpufreq driver

2 small fix for the dedicated cpufreq driver:
- Fix index wrongly used as the current cpu
- Exit early if a bad freq is detected. In the current state the freq
is applied anyway even with invalid state.

Signed-off-by: Ansuel Smith <ansuelsmth@gmail.com>

Co-authored-by: Ansuel Smith <ansuelsmth@gmail.com>
2021-07-04 10:52:46 +08:00
AmadeusGhost
87e2f29128
ipq806x: re-added support for Ruijie M520 (#7105)
Signed-off-by: AmadeusGhost <42570690+AmadeusGhost@users.noreply.github.com>
2021-06-20 07:45:22 +00:00
lean
a3f1e837fd x64: fix grub2 booting 2021-06-15 17:58:07 +08:00
lean
7a50383ab6 add kernel 5.10 support and sync with upstream 2021-06-14 18:30:08 +08:00
lean
f6f590958d kernel: bump 5.4 to 5.4.120 2021-05-20 13:04:41 +08:00
lean
a10aead5be kernel: bump 5.4 to 5.4.109 2021-04-03 17:02:54 +08:00
AmadeusGhost
f06ba13bd2
kernel: bump 5.4 to 5.4.105 (#6520) 2021-03-14 11:52:33 +08:00
AmadeusGhost
c83233b052
kernel: bump 5.4 to 5.4.91 (#6225) 2021-01-21 20:51:19 +08:00
lean
28f854eb5f kernel: bump 5.4 to 5.4.86 2021-01-10 15:14:14 +08:00
AmadeusGhost
041d7abc4a
kernel: bump 5.4 to 5.4.79 and add mt7620-nand driver (#5830)
* kernel: bump 5.4 to 5.4.79

* 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>

Co-authored-by: Chen Minqiang <ptpt52@gmail.com>
2020-11-28 16:43:16 +08:00
AmadeusGhost
5d98c4178e
kernel: bump 5.4 to 5.4.75 (#5780)
[mac80211]
 5b29614 mac80211: another fix for the sta connection monitor
 1ed6eb1 mac80211: backport sched_set_fifo_low
 cba4120 mac80211: add support for specifying a per-device scan list
 e0d482f rt2x00: mt7620: differentiate based on SoC's CHIP_VER

[package]
 amd64-microcode/intel-microcode/linux-firmware: update version
2020-11-14 00:52:35 +08:00
CN_SZTL
64debc95d5
kernel: bump 5.4 to 5.4.69 (#5587)
Seemingly unneeded based on new upstream code so manually deleted:
 platform/820-usb-0007-usb-dwc3-gadget-increase-timeout-value-for-send-ep-c.patch

Manually merged:
 generic-hack/251-sound_kconfig.patch

All other modifications made by update_kernel.sh

Build system: x86_64
Build-tested: ipq806x/R7800, ath79/generic, bcm27xx/bcm2711
Run-tested: ipq806x/R7800

No dmesg regressions, everything functional

Signed-off-by: John Audia <graysky@archlinux.us>

Co-authored-by: John Audia <graysky@archlinux.us>
2020-10-10 14:01:25 +08:00
AmadeusGhost
86bc29e4a8
kernel: bump 5.4 to 5.4.68 (#5555)
[mac80211]
 ca5ee6e mac80211: Fix potential endless loop
 2c14710 mac80211: add more AQL fixes/improvements
 91fb3ce mac80211: remove an obsolete patch that is no longer doing anything useful
 acf1733 mac80211: add preliminary support for enabling 802.11ax in config
 d717343 mac80211: update encap offload patches to the latest version
 673062f mac80211: allow bigger A-MSDU sizes in VHT, even if HT is limited
 caf7277 mac80211: do not allow bigger VHT MPDUs than the hardware supports
 cd36c0d mac80211: select the first available channel for 5GHz interfaces
 1c6d456 mac80211: fix regression in station connection monitor optimization
 4bd7689 mac80211: update sta connection monitor regression fix

[target]
 Sync: at91, ath25, ath79, lantiq, mediatek, mvebu.
2020-10-03 00:36:16 +08:00
chongshengB
88d85bb574
kernel: bump 5.4 to 5.4.61 (#5399)
Manually merged:
  backport-5.4
     011-kbuild-export-SUBARCH.patch
  layerscape
    701-net-0262-net-dsa-ocelot-add-tagger-for-Ocelot-Felix-switches.patch

All other modifications made by update_kernel.sh

Build-tested: x86/64, lantiq/xrx200, ramips/mt7621
Run-tested: ipq806x (R7800), lantiq/xrx200, x86/64, ramips (RT-AC57U)

No dmesg regressions, everything functional

Signed-off-by: John Audia <graysky@archlinux.us>
[minor commit message adjustments]
Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de>

Co-authored-by: John Audia <graysky@archlinux.us>
2020-09-01 17:21:00 +08:00
CN_SZTL
12d0742fd5
kernel: bump to 4.14.195, 5.4.60 (#5376)
* kernel: bump 5.4 to 5.4.60

Deleted upstream patches:
  generic:
    041-genirq-affinity-Make-affinity-setting-if-activated-o.patch
  ipq806x:
    093-5-v5.8-ipq806x-PCI-qcom-Define-some-PARF-params-needed-for-ipq8064-SoC.patch
    093-6-v5.8-ipq806x-PCI-qcom-Add-support-for-tx-term-offset-for-rev-2_1_0.patch

Merged manually:
  ipq806x:
    093-4-v5.8-ipq806x-PCI-qcom-Use-bulk-clk-api-and-assert-on-error.patch
  layerscape:
    804-crypto-0016-MLKU-114-1-crypto-caam-reduce-page-0-regs-access-to-.patch

Build-tested: ath79/generic, ipq806x, layerscape/armv7, layerscape/armv8_64b
Run-tested: ipq806x (R7800)

Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de>

* kernel: Update kernel 4.14 to version 4.14.195

Compile and runtime tested on lantiq/xrx200 and x86/64.

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>

Co-authored-by: Adrian Schmutzler <freifunk@adrianschmutzler.de>
Co-authored-by: Hauke Mehrtens <hauke@hauke-m.de>
2020-08-30 21:16:31 +08:00
AmadeusGhost
20274fd514
ipq806x: sync official source code (#5365) 2020-08-27 15:57:30 +08:00
AmadeusGhost
404209f6c4
kernel: bump to 4.14.193, 4.19.138, 5.4.59 (#5350)
kernel: bump to 4.14.193, 4.19.138, 5.4.59 (#5350)
  431fb8c mac80211: add AQL improvements
  6bdd4c9 mac80211: add missing backports for building with 4.14 kernels
  0106820 mac80211: add missing return code checks in AQL improvements
  e7f7101 mac80211: rework encapsulation offload support

[package]
  base-files: add function for generating random MAC
  dnsmasq: abort dhcp_check on interface state
  boot: sync upstream source code
  ath10k-ct-firmware/mt76/sch_cake: update to latest git HEAD

[script]
  download: add China Mirror Station

[target]
  Sync: arc770, ath79, bcm63xx, kirkwood, lantiq, layerscape,
        mediatek, mvebu, octeon, oxnas, pistachio, uml
  Sync most of the target patches.

Run-compiled-on: ipq40xx (4.19 & 5.4), ramips
2020-08-26 11:31:50 +08:00
AmadeusGhost
46524d9336
ipq806x: sync upstream source code (#5320) 2020-08-18 01:41:42 +08:00
AmadeusGhost
e47f199950
ipq806x: add support for RuiJie RG-MTFI-M520 (#5112)
Fix startup by Mr.chilauhe.

Signed-off-by: AmadeusGhost <42570690+AmadeusGhost@users.noreply.github.com>
2020-07-17 10:53:56 +08:00
coolsnowwolf
707e6ed1a1 kernel: update to 4.14.187, 4.19.131, 5.4.50 2020-07-06 10:52:50 +08:00
coolsnowwolf
33abeff31c Sync to snapshot kernel 5.4 version 2020-07-02 23:30:56 +08:00