CN_SZTL
43e2f2cd3a
layerscape: fix typo error in patch
...
Signed-off-by: CN_SZTL <cnsztl@project-openwrt.eu.org>
2020-08-22 03:59:33 +08:00
CN_SZTL
2105d78e8a
kernel: bump 5.4 to 5.4.60
...
Resolve conflicted:
- 804-crypto-0016-MLKU-114-1-crypto-caam-reduce-page-0-regs-access-to-.patch
Refreshed all patches.
Signed-off-by: CN_SZTL <cnsztl@project-openwrt.eu.org>
2020-08-22 03:33:14 +08:00
Adrian Schmutzler
03ff14f157
layerscape: remove useless pairs of kernel patches
...
The layerscape kernel patches appears to be just some uncleaned local
development tree, where patches are sometimes directly followed by
their revert. While this does not seem a problem in the first place,
it becomes incredibly unpleasant when the upstream kernel changes in
the relevant areas and requires rebase.
This removes all these patch-revert pairs and refreshs the rest.
It removes about 44000 lines of entirely useless code.
Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de>
2020-08-20 05:21:54 +08:00
CN_SZTL
84eb37bcb3
kernel: bump 5.4 to 5.4.59
...
Resolve conflicted:
- 950-0163-staging-vchiq_arm-Fix-platform-device-unregistration.patch
- 950-0338-staging-vchiq_arm-Unify-the-unload-handling-of-platf.patch
- 801-audio-0005-Revert-ASoC-fsl_sai-Add-support-for-SAI-new-version.patch
- 805-display-0043-gpu-Move-ipu-v3-to-imx-folder.patch
Remove upstreamed:
- 950-0428-staging-vchiq_arm-Add-a-matching-unregister-call.patch
- 0800-spi-lantiq-ssc-Fix-warning-by-using-WQ_MEM_RECLAI.patch
Signed-off-by: CN_SZTL <cnsztl@project-openwrt.eu.org>
2020-08-20 04:30:19 +08:00
AmadeusGhost
ee6b2fee3a
Revert 'treewide: adjust sysupgrade script'
2020-08-19 12:10:43 +08:00
AmadeusGhost
715404f8e1
treewide: adjust sysupgrade script
2020-08-14 18:36:30 +08:00
AmadeusGhost
787d71db74
treewide: fix undeclared function about backup in upgrade
2020-08-14 12:28:09 +08:00
Hauke Mehrtens
8d141be934
kernel: Move CONFIG_IONIC to generic kernel config
...
It is deactivated everywhere, just set this in the generic config.
Acked-by: Yousong Zhou <yszhou4tech@gmail.com>
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
2020-08-11 18:15:38 +08:00
Felix Fietkau
2675e744f4
kernel: unify CONFIG_GPIO_SYSFS in kernel configs
...
Enable it for all platforms
Signed-off-by: Felix Fietkau <nbd@nbd.name>
2020-08-07 18:08:33 +08:00
CN_SZTL
a3949e4b15
kernel: bump 5.4 to 5.4.56
...
Refreshed all patches.
Signed-off-by: CN_SZTL <cnsztl@project-openwrt.eu.org>
2020-08-05 20:38:24 +08:00
CN_SZTL
ec012f816a
kernel: bump 5.4 to 5.4.54
...
Resolve conflicted:
- 701-net-0231-enetc-Use-DT-protocol-information-to-set-up-the-port.patch
Refreshed all patches.
Signed-off-by: CN_SZTL <cnsztl@project-openwrt.eu.org>
2020-07-29 18:04:27 +08:00
Adrian Schmutzler
68277e7846
layerscape: harmonize device strings
...
OpenWrt lately has harmonized device (definition) names to the
pattern vendor_model to improve overall consistency, also with
other values like the DTS compatible.
This patch applies that scheme to the layerscape target.
Since this (intentionally) creates a bigger overlap between DTS names,
compatible, and device definition name, it also moves DEVICE_DTS and
SUPPORTED_DEVICES definitions to the Device/Default blocks.
Apart from that, it also modifies several packages to use consistent
naming in order to keep the $(1) file references working.
While at it, remove one layer of complexity for the setup in
tfa-layerscape package.
Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de>
2020-07-27 19:47:59 +08:00
CN_SZTL
69e815a417
kernel: bump 5.4 to 5.4.53
...
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:
- 022-v5.8-mtd-rawnand-brcmnand-correctly-verify-erased-pages.patch
- 024-v5.8-mtd-rawnand-brcmnand-fix-CS0-layout.patch
- 742-v5.5-net-sfp-add-support-for-module-quirks.patch
- 743-v5.5-net-sfp-add-some-quirks-for-GPON-modules.patch
Signed-off-by: CN_SZTL <cnsztl@project-openwrt.eu.org>
2020-07-22 16:59:36 +08:00
Yangbo Lu
9956949859
layerscape: define IMAGE_SIZE and LS_SYSUPGRADE_IMAGE_SIZE
...
Define 64m IMAGE_SIZE for flash firmware.bin since the flash size
is 64MB. Define 48m LS_SYSUPGRADE_IMAGE_SIZE for flash sysupgrade.bin
which contains maximum 16MB kernel and 32MB rootfs according to
memory map.
Signed-off-by: Yangbo Lu <yangbo.lu@nxp.com>
2020-07-12 12:35:26 +08:00
Yangbo Lu
f27a015e1c
layerscape: support sysupgrade for SD card ext4 rootfs
...
Support sysupgrade for SD card ext4 rootfs.
Signed-off-by: Yangbo Lu <yangbo.lu@nxp.com>
2020-07-12 12:34:59 +08:00
Yangbo Lu
f56ec5ddd1
layerscape: support sysupgrade for squashfs rootfs
...
Support sysupgrade for all Layerscape boards with squashfs
rootfs.
Signed-off-by: Yangbo Lu <yangbo.lu@nxp.com>
2020-07-12 12:34:26 +08:00
Yangbo Lu
93a59cfa0e
layerscape: fix board name for SD card boot
...
Many Layerscape boards support both flash boot and SD card boot.
And different firmware and sysupgrade.bin are built for the two
boot methods. To identify them, a fix could be done on board name
by adding a postfix "-sdboot" for SD card boot.
Signed-off-by: Yangbo Lu <yangbo.lu@nxp.com>
2020-07-12 12:34:00 +08:00
Yangbo Lu
8264e55005
layerscape: add compatible for board ls1043ardb
...
Backport a dts patch which added compatible for ls1043ardb.
Signed-off-by: Yangbo Lu <yangbo.lu@nxp.com>
2020-07-12 12:33:34 +08:00
Yangbo Lu
40d5b48399
layerscape: convert to squashfs rootfs for QSPI NOR boot
...
There had been an issue in Layerscape QSPI driver for very long
time, which made squashfs,jffs2 rootfs not work on QSPI NOR.
And the ubifs had been used as a workaround.
Now the issue has been fixed. So convert to use squashfs,jffs2
rootfs on QSPI NOR for Layerscape boards (LS1012ARDB/LS1046ARDB/
LS1088ARDB), and update u-boot bootargs for booting.
Signed-off-by: Yangbo Lu <yangbo.lu@nxp.com>
2020-07-12 12:33:12 +08:00
CN_SZTL
4cc3ccb124
kernel: bump 5.4 to 5.4.51
...
Remove upstreamed:
* 350-MIPS-Add-missing-EHB-in-mtc0-mfc0-sequence-for-DSPen.patch
Resolve conflicted:
* 0024-MIPS-lantiq-revert-DSA-switch-driver-PMU-clock-chang.patch
Refreshed all patches.
Signed-off-by: CN_SZTL <cnsztl@project-openwrt.eu.org>
2020-07-10 22:46:01 +08:00
Hauke Mehrtens
b497128b5f
kernel: Update kernel 5.4 to version 5.4.50
...
Run tested: ath79, ipq40xx
Build tested: ath79, ipq40xx
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
2020-07-05 13:29:49 +08:00
Petr Štetiar
39e6189308
kernel: bump 5.4 to 5.4.48
...
Resolved merge conflict in the following patches:
layerscape: 701-net-0213-dpaa2-eth-Add-CEETM-qdisc-support.patch
ramips: 0013-owrt-hack-fix-mt7688-cache-issue.patch
Refreshed patches, removed upstreamed patch:
bcm63xx: 020-v5.8-mtd-rawnand-brcmnand-fix-hamming-oob-layout.patch
Run tested: qemu-x86-64
Build tested: x86/64
Signed-off-by: Petr Štetiar <ynezz@true.cz>
2020-06-23 12:10:47 +08:00
Petr Štetiar
360a484ced
kernel: bump 5.4 to 5.4.46
...
Refreshed patches.
Run tested: qemu-x86-64, wrt3200acm
Build tested: x86/64, imx6, mvebu/cortexa9, sunxi/a53
Signed-off-by: Petr Štetiar <ynezz@true.cz>
2020-06-17 12:08:25 +08:00
Adrian Schmutzler
85f984b9eb
treewide: drop shebang from non-executable target files
...
This drops the shebang from all target files for /lib and
/etc/uci-defaults folders, as these are sourced and the shebang
is useless.
While at it, fix the executable flag on a few of these files.
This does not touch ar71xx, as this target is just used for
backporting now and applying cosmetic changes would just complicate
things.
Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de>
2020-06-17 12:04:16 +08:00
Petr Štetiar
9778a02591
kernel: bump 5.4 to 5.4.45
...
Fixes CVE-2020-10757 via upstream commit df4988aa1c96 ("mm: Fix mremap
not considering huge pmd devmap").
Resolved merge conflict in the following patches:
bcm27xx: 950-0128-gpiolib-Don-t-prevent-IRQ-usage-of-output-GPIOs.patch
Refreshed patches, removed upstreamed patch:
generic: 751-v5.8-net-dsa-mt7530-set-CPU-port-to-fallback-mode.patch
generic: 754-v5.7-net-dsa-mt7530-fix-roaming-from-DSA-user-ports.patch
Run tested: qemu-x86-64
Build tested: x86/64, imx6, sunxi/a53
Signed-off-by: Petr Štetiar <ynezz@true.cz>
2020-06-10 12:15:08 +08:00
AmadeusGhost
1b4120f24f
layerscape: remove support for kernel 4.14
...
Remove support for kernel 4.14, and NXP Layerscape SDK
had not supported kernel 4.14 since LSDK-20.04 either.
2020-05-26 12:00:04 +08:00
CN_SZTL
917cc30ade
Merge Mainline
2020-05-24 22:41:44 +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
Petr Štetiar
53384190e2
kernel: bump 5.4 to 5.4.42
...
Refreshed patches, removed upstreamed patch:
generic/pending: 001-v5.4-pinctrl-qcom-fix-wrong-write-in-update_dual_edge.patch.patch
Run tested: qemu-x86-64
Build tested: x86/64, ath79/nand, imx6, sunxi/a53
Signed-off-by: Petr Štetiar <ynezz@true.cz>
2020-05-21 11:56:00 +08:00
AmadeusGhost
c65a4fc513
Merge Mainline
2020-05-14 12:00:36 +08:00
AmadeusGhost
29a00cd005
Merge Lean's source
2020-05-13 17:50:08 +08:00
AmadeusGhost
c985a54a61
kernel: bump to 4.9.223, 4.14.180, 4.19.122 ( #4600 )
...
* kernel: bump 4.9 to 4.9.223
Refreshed all patches.
Fixes:
- CVE-2020-12114
Compile-tested on: ar71xx
Runtime-tested on: ar71xx
Signed-off-by: Koen Vandeputte <koen.vandeputte@ncentric.com>
* kernel: bump 4.14 to 4.14.180
Refreshed all patches.
Fixes:
- CVE-2020-12114
- CVE-2020-11669
Compile-tested on: pistachio
Runtime-tested on: none
Signed-off-by: Koen Vandeputte <koen.vandeputte@ncentric.com>
* kernel: bump 4.19 to 4.19.122
Refreshed all patches.
Remove upstreamed:
- 551-loop-Better-discard-support-for-block-devices.patch
Fixed:
- CVE-2020-11884
- CVE-2020-12114
- CVE-2019-3016
- CVE-2020-11669
Compile-tested on: cns3xxx
Runtime-tested on: cns3xxx
Signed-off-by: Koen Vandeputte <koen.vandeputte@ncentric.com>
Co-authored-by: Koen Vandeputte <koen.vandeputte@ncentric.com>
2020-05-13 13:28:43 +08:00
Koen Vandeputte
ceb72c57a9
kernel: bump 5.4 to 5.4.40
...
Refreshed all patches.
Compile-tested on: imx6
Runtime-tested on: imx6
Signed-off-by: Koen Vandeputte <koen.vandeputte@ncentric.com>
2020-05-12 21:00:04 +08:00
AmadeusGhost
b3e8a12c65
layerscape: add kernel 5.4 support from official commit
2020-05-08 08:25:49 +08:00
CN_SZTL
b11dcd594c
kernel: bump 4.14 to 4.14.178
...
Refreshed all patches.
Signed-off-by: CN_SZTL <cnsztl@project-openwrt.eu.org>
2020-05-03 19:33:01 +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
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
0ddb22c585
kernel: bump 4.9 to 4.9.220
...
Signed-off-by: CN_SZTL <cnsztl@project-openwrt.eu.org>
2020-04-25 08:06:59 +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
92d2f94e3d
kernel: bump 4.14 to 4.14.173
2020-03-19 17:40:18 +08:00
Sungbo Eo
525c915c75
layerscape: add kmod-i2c-mux to DEVICE_PACKAGES for traverse-ls1043
...
kmod-i2c-mux-pca954x will not get into images unless kmod-i2c-mux is added to
DEVICE_PACKAGES as well.
Signed-off-by: Sungbo Eo <mans0n@gorani.run>
(cherry picked from commit dffbe668ab )
2020-03-16 15:28:18 +08:00
Koen Vandeputte
efc4ae1c12
kernel: bump 4.9 to 4.9.215
...
Refreshed all patches.
Compile-tested on: ar71xx
Runtime-tested on: ar71xx
Signed-off-by: Koen Vandeputte <koen.vandeputte@ncentric.com>
2020-03-10 22:23:13 +08:00
AmadeusGhost
691def3cad
kernel: bump to 4.9.214, 4.14.171, 4.19.106 ( #3375 )
2020-02-29 16:28:07 +08:00
AmadeusGhost
7dc881dd79
kernel: bump to 4.9.214, 4.14.171, 4.19.106
...
Remove error commit from
15a0701cdd
2020-02-29 01:23:18 +08:00
CN_SZTL
3ab67a8217
Revert "kernel: bump to 4.9.214, 4.14.171, 4.19.106 ( #3318 )"
...
This reverts commit 4d68a12e34 .
2020-02-28 20:50:04 +08:00
CN_SZTL
4d68a12e34
kernel: bump to 4.9.214, 4.14.171, 4.19.106 ( #3318 )
...
This reverts commit 191ace6dff .
2020-02-27 17:39:41 +08:00
CN_SZTL
59d9e97911
Merge Lean's source
2020-02-27 17:39:13 +08:00
coolsnowwolf
191ace6dff
Revert "kernel: bump to 4.9.214, 4.14.171, 4.19.106 ( #3318 )"
...
This reverts commit 01ab5cf3c9 .
2020-02-26 16:47:18 +08:00