Tianling Shen
d786f0ab6d
kernel: add missing Kconfigs for kernel 4.14
...
All changes were taken from upstream commit 81d0b4a9f431b2 ("kernel:
bump 4.14 to 4.14.259")
Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
2022-01-01 17:35:27 +08:00
Tianling Shen
097de3d38b
kernel: bump to 4.9.291, 4.14.256, 4.19.218
...
Upstreamed patches:
- ar71xx/patches-4.9/821-serial-core-add-support-for-boot-console-with-arbitr.patch
- ar71xx/patches-4.14/821-serial-core-add-support-for-boot-console-with-arbitr.patch
- ath79/patches-4.14/921-serial-core-add-support-for-boot-console-with-arbitr.patch
Manually rebased:
- generic/backport-4.14/273-batman-adv-Convert-packet.h-to-uapi-header.patch
- ipq806x/patches-4.14/0065-arm-override-compiler-flags.patch
- ipq806x/patches-4.19/0065-arm-override-compiler-flags.patch
Refreshed all patches.
Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
2021-11-29 01:23:44 +08:00
Tianling Shen
2352d1bfa9
kernel: bump to 4.9.288, 4.14.253, 4.19.214
...
Refreshed all patches.
Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
2021-10-28 11:15:06 +08:00
Paul Spooren
8944671444
ipqx0xx: add Generic subtarget
...
Both targets miss a subtarget causing an image naming style which is
different from other all othe targets, even tho it already uses
`x/generic/` as subfolder as if the subtarget would exist.
This commit adds the Generic subtarget resulting in consistent naming.
Fixes: c9e45c2 ("uboot-fritz4040: update PKG_MIRROR_HASH")
Fixes: bb43571 ("uboot-fritz4040: update to latest HEAD")
Signed-off-by: Paul Spooren <mail@aparcar.org>
(cherry picked from commit 853e4dd306 )
2021-10-19 00:05:15 +08:00
Adrian Schmutzler
7984a95946
treewide: rename IMAGE_PREFIX/IMAGE_NAME to DEVICE_IMG_*
...
We so far had two variables IMG_PREFIX and IMAGE_PREFIX with
different content. Since these names are obviously quite
confusing, this patch renames the latter to DEVICE_IMG_PREFIX,
as it's a device-dependent variable, while IMG_PREFIX is only
(sub)target-dependent.
For consistency, also rename IMAGE_NAME to DEVICE_IMG_NAME, as
that's a device-dependent variable as well.
Cc: Paul Spooren <mail@aparcar.org>
Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de>
(cherry picked from commit ef2cb8572b )
2021-09-17 04:48:26 +08:00
Tianling Shen
1ebbbbfec6
target: drop some default packages
...
Let users to decide build them or not.
Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
2021-09-11 05:01:06 +08:00
Tianling Shen
2bc0124b74
target: drop some default packages
...
Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
2021-08-06 10:45:40 +08:00
Tianling Shen
1ac8417985
kernel: bump to 4.9.275, 4.14.239, 4.19.197
...
Refreshed all patches.
Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
2021-07-17 00:05:32 +08:00
AmadeusGhost
7e33e24758
ipq806x: m520: add gpio-led sys supportt
...
(cherry picked from commit 6e017db )
Signed-off-by: AmadeusGhost <amadeus@jmu.edu.cn>
2021-06-15 23:35:06 +08:00
Tianling Shen
4a24bd4db0
kernel: bump to 4.9.262, 4.14.227, 4.19.183
...
Resolve conflicted:
- layerscape/patches-4.14/809-flexcan-support-layerscape.patch
Refreshed all patches.
Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
2021-03-27 01:15:23 +08:00
Adrian Schmutzler
75697c9c12
treewide: provide global default for SUPPORTED_DEVICES
...
The majority of our targets provide a default value for the variable
SUPPORTED_DEVICES, which is used in images to check against the
compatible on a running device:
SUPPORTED_DEVICES := $(subst _,$(comma),$(1))
At the moment, this is implemented in the Device/Default block of
the individual targets or even subtargets. However, since we
standardized device names and compatible in the recent past, almost
all targets are following the same scheme now:
device/image name: vendor_model
compatible: vendor,model
The equal redundant definitions are a symptom of this process.
Consequently, this patch moves the definition to image.mk making it
a global default. For the few targets not using the scheme above,
SUPPORTED_DEVICES will be defined to a different value in
Device/Default anyway, overwriting the default. In other words:
This change is supposed to be cosmetic.
This can be used as a global measure to get the current compatible
with: $(firstword $(SUPPORTED_DEVICES))
(Though this is not precisely an achievement of this commit.)
Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de>
Signed-off-by: CN_SZTL <cnsztl@project-openwrt.eu.org>
2021-01-29 22:47:58 +08:00
CN_SZTL
74969cab15
kernel: bump to 4.9.249, 4.14.213, 4.19.164
...
Remove upstreamed:
- generic/pending-4.14/499-mtd-parser-cmdline-Fix-parsing-of-part-names-with-co.patch
- generic/pending-4.9/499-mtd-parser-cmdline-Fix-parsing-of-part-names-with-co.patch
- ipq806x/patches-4.14/0071-2-PCI-qcom-Fixed-IPQ806x-PCIE-reset-changes.patch
- ipq806x/patches-4.19/0071-2-PCI-qcom-Fixed-IPQ806x-PCIE-reset-changes.patch
Resolve conflicted:
- generic/pending-4.19/611-netfilter_match_bypass_default_table.patch
- ipq40xx/patches-4.19/995-ipq40xx-unlock-cpu-frequency.patch
Signed-off-by: CN_SZTL <cnsztl@project-openwrt.eu.org>
2020-12-31 20:59:32 +08:00
CN_SZTL
53a6f89ea3
ipq40xx/ip806x: refresh default packages
2020-12-19 00:08:07 +08:00
AmadeusGhost
f047d3ea9f
ipq40xx/ipq806x: remove some unimportant default packages
...
Not all devices under these targets have a large storage, so remove
some unimportant or duplicate packages.
2020-12-18 21:41:48 +08:00
Kuan-Yi Li
01483ac70a
kernel: backport GD25Q256 support from 4.15
...
Backport below changes for GigaDevice GD25Q256 support from v4.15:
e27072851bf7 mtd: spi-nor: add a quad_enable callback in struct flash_info
65153846b18c mtd: spi-nor: add support for GD25Q256
This chip is used on newer Quad-E4G boards.
Before:
[ 2.366493] m25p80 spi0.0: unrecognized JEDEC id bytes: c8, 40, 19
[ 2.372853] m25p80: probe of spi0.0 failed with error -2
After:
[ 2.371722] m25p80 spi0.0: gd25q256 (32768 Kbytes)
[ 2.376694] 5 fixed-partitions partitions found on MTD device spi0.0
[ 2.383043] Creating 5 MTD partitions on "spi0.0":
[ 2.387824] 0x000000000000-0x000000030000 : "u-boot"
[ 2.394138] 0x000000030000-0x000000031000 : "u-boot-env"
[ 2.400608] 0x000000031000-0x000000040000 : "config"
[ 2.406830] 0x000000040000-0x000000050000 : "factory"
[ 2.413169] 0x000000050000-0x000002000000 : "firmware"
Signed-off-by: Kuan-Yi Li <kyli@abysm.org>
2020-12-06 00:23:36 +08:00
CN_SZTL
488fa50d9f
kernel: bump 4.19 to 4.19.155
...
Resolve conflicted:
- bcm27xx/950-0609-xhci-add-quirk-for-host-controllers-that-don-t-updat.patch
- bcm53xx/180-usb-xhci-add-support-for-performing-fake-doorbell.patch
Refreshed all patches.
Signed-off-by: CN_SZTL <cnsztl@project-openwrt.eu.org>
2020-11-08 03:24:12 +08:00
CN_SZTL
013dae6201
kernel: bump 4.14 to 4.14.204
...
Resovle conflicted:
- layerscape/708-mc-bus-support-layerscape.patch
Refreshed all patches.
Signed-off-by: CN_SZTL <cnsztl@project-openwrt.eu.org>
2020-11-08 02:26:20 +08:00
CN_SZTL
75ea28ec81
treewide: enable openssh-sftp-server for some targets
2020-11-08 01:51:42 +08:00
Adrian Schmutzler
7709df69e9
treewide: remove empty default cases
...
There is no apparent reason to have an empty default case.
Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de>
2020-09-18 16:37:37 +08:00
AmadeusGhost
1e4accd9bd
ipq40xx: sync upstream source code
2020-09-16 11:38:38 +08:00
AmadeusGhost
f803886385
target: move interchangeable patches to generic
2020-09-11 17:39:39 +08:00
CN_SZTL
e9deb93962
kernel: bump 4.19 to 4.19.141
...
Refreshed all patches.
Signed-off-by: CN_SZTL <cnsztl@project-openwrt.eu.org>
2020-08-22 02:23:05 +08:00
AmadeusGhost
c91eb2a930
ipq806x: remove outdated patches
2020-08-12 10:31:07 +08:00
CN_SZTL
6049374622
kernel: bump 4.19 to 4.19.134
...
Resolve conflicted:
395-v5.8-net-sch_cake-Take-advantage-of-skb-hash-where-appropriate.patch
641-sch_cake-fix-IP-protocol-handling-in-the-presence-of.patch
Remove upstreamed:
742-v5.5-net-sfp-add-support-for-module-quirks.patch
743-v5.5-net-sfp-add-some-quirks-for-GPON-modules.patch
Refreshed all patches.
Signed-off-by: CN_SZTL <cnsztl@project-openwrt.eu.org>
2020-07-22 17:41:51 +08:00
CN_SZTL
7e893c7b8f
kernel: bump 4.14 to 4.14.189
...
Resolve conflicted:
- 818-qspi-support-layerscape.patch
Refreshed all patches.
Signed-off-by: CN_SZTL <cnsztl@project-openwrt.eu.org>
2020-07-22 16:52:00 +08:00
CN_SZTL
986c000372
Revert "ipq806x: fix aliases node name for Qualcomm IPQ8064/DB149"
...
This reverts commit 037de3e579 .
Revert "ipq806x: use consistent DT labels for gsbiX_serial"
This reverts commit 9b305d8456 .
Revert "ipq806x: really fix aliases node for Qualcomm IPQ8064/DB149"
This reverts commit 099c14802e .
2020-07-18 10:44:44 +08:00
Adrian Schmutzler
099c14802e
ipq806x: really fix aliases node for Qualcomm IPQ8064/DB149
...
Having looked at this again, it appears that only gsbi2_serial
is actually enabled for this device, so the entry in the broken
aliases node was correct.
Therefore, this needs to set its own serial0 instead of inheriting
"serial0 = &gsbi4_serial;" from DTSI. Do this with the correctly
named aliases node now.
Fixes: c83f7b6d21 ("ipq806x: fix aliases node name for Qualcomm
IPQ8064/DB149")
Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de>
2020-07-16 20:30:16 +08:00
Adrian Schmutzler
9b305d8456
ipq806x: use consistent DT labels for gsbiX_serial
...
Kernel uses the label gsbiX_serial, so let's adjust our labels to
this naming scheme.
This is cosmetic, and actually only already existing gsbi4_serial
has been used at all.
Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de>
2020-07-16 20:28:41 +08:00
Adrian Schmutzler
037de3e579
ipq806x: fix aliases node name for Qualcomm IPQ8064/DB149
...
This device uses a node incorrectly named "alias" instead of
"aliases" since it was introduced.
Remove it without replacement, as the definitions in it don't
seem to be required anyway:
The serial0 definition has never been effective anyway and this
would be the only device deviating from the common setting
"serial0 = &gsbi4_serial;" for ipq8064. (So, maybe the wrong
node prevented us from finding out about the wrong serial
definition?)
The mdio-gpio0 alias was supposed to be removed in d2a2eb7e48
anyway, the redundant definition in the alias node was just
overlooked back then.
Fixes: 0fd202f3e5 ("ipq806x: add db149 dts files")
Fixes: d2a2eb7e48 ("ipq806x: replace caf nss-gmac driver by upstream stmmac")
Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de>
2020-07-16 20:28:13 +08:00
CN_SZTL
324d347beb
kernel: bump 4.19 to 4.19.130
...
Refreshed all patches.
Resolve conflicted:
* 834-ledtrig-libata.patch
Remove conflicted:
* 526-PCI-aardvark-disable-LOS-state-by-default.patch
Signed-off-by: CN_SZTL <cnsztl@project-openwrt.eu.org>
2020-06-26 09:03:47 +08:00
AmadeusGhost
19f408b239
ipq806x: m520: enable tca1116 chips from chilauhe
2020-06-25 22:36:19 +08:00
CN_SZTL
ac60170397
kernel: bump 4.19 to 4.19.128
...
Refreshed all patches.
Signed-off-by: CN_SZTL <cnsztl@project-openwrt.eu.org>
2020-06-12 23:14:36 +08:00
CN_SZTL
e074e65b05
kernel: bump 4.14 to 4.14.184
...
Refreshed all patches.
Signed-off-by: CN_SZTL <cnsztl@project-openwrt.eu.org>
2020-06-12 18:00:37 +08:00
AmadeusGhost
14f1629629
autocore: add ipq806x support
...
Fix https://github.com/project-openwrt/openwrt/issues/156
Fix https://github.com/project-openwrt/openwrt-kisco/issues/44
2020-06-06 18:50:38 +08:00
CN_SZTL
5d5c70362b
kernel: bump 4.19 to 4.19.124
...
Refreshed all patches.
Signed-off-by: CN_SZTL <cnsztl@project-openwrt.eu.org>
2020-05-24 21:59:06 +08:00
CN_SZTL
0a2cb6b61b
kernel: bump 4.14 to 4.14.181
...
Refreshed all patches.
Signed-off-by: CN_SZTL <cnsztl@project-openwrt.eu.org>
2020-05-24 21:25:57 +08:00
CN_SZTL
95aa0a3995
kernel: bump 4.14 to 4.14.177
...
Fixes:
- CVE-2020-11669
Remove upstreamed:
- 001-irqchip-versatile-fpga-Handle-chained-IRQs-properly.patch
- 002-irqchip-versatile-fpga-Apply-clear-mask-earlier.patch
- 003-ARM-dts-oxnas-Fix-clear-mask-property.patch
Refreshed all patches.
Signed-off-by: CN_SZTL <cnsztl@project-openwrt.eu.org>
2020-05-03 19:32:54 +08:00
AmadeusGhost
244a0f8574
Revert "kernel: bump 4.14 to 4.14.177"
...
This reverts commit 89c18f5335 .
2020-04-29 17:25:11 +08:00
CN_SZTL
0d6d3fd5d8
kernel: bump 4.19 to 4.19.118
...
Refreshed all patches.
Signed-off-by: CN_SZTL <cnsztl@project-openwrt.eu.org>
2020-04-25 11:08:19 +08:00
CN_SZTL
89c18f5335
kernel: bump 4.14 to 4.14.177
...
Fixes:
- CVE-2020-11669
Remove upstreamd:
- 001-irqchip-versatile-fpga-Handle-chained-IRQs-properly.patch
- 002-irqchip-versatile-fpga-Apply-clear-mask-earlier.patch
- 003-ARM-dts-oxnas-Fix-clear-mask-property.patch
Refresh all patches.
Signed-off-by: CN_SZTL <cnsztl@project-openwrt.eu.org>
2020-04-25 10:18:50 +08:00
CN_SZTL
1211ab828d
Merge Lean's source
2020-04-17 22:37:21 +08:00
AmadeusGhost
9448672845
kernel: bump to 4.9.219, 4.14.176, 4.19.115 ( #4350 )
...
* kernel: bump 4.14 to 4.14.176
Refreshed all patches.
Remove upstreamed:
- 0001-net-thunderx-workaround-BGX-TX-Underflow-issue.patch
- 600-ipv6-addrconf-call-ipv6_mc_up-for-non-Ethernet-inter.patch
- 184-USB-serial-option-add-Wistron-Neweb-D19Q1.patch
Fixes:
- CVE-2020-8648 (potentially)
- CVE-2020-8647
- CVE-2020-8649
Compile-tested on: cns3xxx, octeontx
Runtime-tested on: cns3xxx
Signed-off-by: Koen Vandeputte <koen.vandeputte@ncentric.com>
* kernel: bump 4.19 to 4.19.115
Remove upstreamed:
- 600-ipv6-addrconf-call-ipv6_mc_up-for-non-Ethernet-inter.patch
- 184-USB-serial-option-add-Wistron-Neweb-D19Q1.patch
Fixes:
- CVE-2020-8647
- CVE-2020-8648 (potentially)
- CVE-2020-8649
Compile-tested on: cns3xxx
Runtime-tested on: cns3xxx
Signed-off-by: Koen Vandeputte <koen.vandeputte@ncentric.com>
* kernel: bump 4.9 to 4.9.219
Refreshed all patches.
Altered patches:
- 0026-NET-multi-phy-support.patch
Fixes:
- CVE-2020-8647
- CVE-2020-8648 (Potentially)
- CVE-2020-8649
Compile-tested on: ar71xx
Runtime-tested on: ar71xx
Signed-off-by: Koen Vandeputte <koen.vandeputte@ncentric.com>
2020-04-17 11:50:34 +08:00
AmadeusGhost
cc689609d6
ipq806x: 4.19: correct dts for m520 ( #4330 )
...
Signed-off-by: AmadeusGhost <42570690+AmadeusGhost@users.noreply.github.com>
2020-04-16 11:28:05 +08:00
AmadeusGhost
ce149a86b9
ipq806x/4.19: fix error dts for m520
...
Signed-off-by: AmadeusGhost <42570690+AmadeusGhost@users.noreply.github.com>
2020-04-15 09:35:18 +08:00
CN_SZTL
b1f9dd475d
Merge Lean's source
2020-03-27 17:01:40 +08:00
AmadeusGhost
77b85a3e18
ipq806x: add i2c chips support for m520 ( #4055 )
...
This commit enable lm75 and pcf8563 for m520.
Signed-off-by: AmadeusGhost <42570690+AmadeusGhost@users.noreply.github.com>
2020-03-27 16:56:25 +08:00
AmadeusGhost
548d409854
ipq40xx/806x: add u9300 4G driver
...
From @ksong008 dalao
2020-03-23 23:32:19 +08:00
AmadeusGhost
b63e2effbd
ipq806x: fix i2c support for m520
...
dmesg:
[ 15.868426] lm75 0-0048: hwmon0: sensor 'lm75'
[ 15.922580] Bluetooth: RFCOMM TTY layer initialized
[ 15.922610] Bluetooth: RFCOMM socket layer initialized
[ 15.926267] Bluetooth: RFCOMM ver 1.11
[ 15.939812] rtc-pcf8563 0-0051: rtc core: registered rtc-pcf8563 as
rtc0
Signed-off-by: AmadeusGhost <amadeus@jmu.edu.cn>
2020-03-23 19:28:37 +08:00
CN_SZTL
f2fd3a4487
Merge Lean's source
2020-03-21 22:34:01 +08:00
AmadeusGhost
66de6c5050
luci-app-cpufreq: drop untest target ( #3915 )
...
Someone reports that it has bug in arm64
2020-03-21 22:17:09 +08:00