Commit Graph

2398 Commits

Author SHA1 Message Date
Daniel Golle
b018b4df31 mediatek: set new compat version if booted on R64 and R3
If the board comes up with OpenWrt that means that the bootloader is
recent enough and knows about the new device tree overlays.

Using /etc/board.d/ is not enough in this case because it doesn't
overwrite existing configuration which may exist (and is fine to exist)
if the user updated with 'sysupgrade -F *.itb' and has kept
configuration. They would still need to manually set compat_version
even though the fact that the bootloader env has been updated can be
implied by the fact that the system has started.

Hence we can always set compat_version=1.1 for those two boards using
uci-defaults.

Signed-off-by: Daniel Golle <daniel@makrotopia.org>
2024-02-11 23:05:20 +08:00
Daniel Golle
4115f464ae generic: use only first element in bootconf for uImage.FIT
Now that it is possible to load several device tree overlays by
appending their config names to bootconf the uImage.FIT partition
parser need to discard everything after the first '#' character in
bootconf when looking up the config node to be used.

Signed-off-by: Daniel Golle <daniel@makrotopia.org>
2024-02-10 22:55:04 +08:00
Daniel Golle
9f86d11f16 kernel: update FIT partition parser to new property name
The commit "uboot-mediatek: replace patch with accepted commit" changed
the name of the boot configuration property from 'bootconf' to
'u-boot,bootconf'. Reflect this change in the FIT partition parser.

Signed-off-by: Daniel Golle <daniel@makrotopia.org>
2024-02-10 22:52:26 +08:00
Daniel Golle
801b8fdb85 mediatek: adapt files and patches for Linux 6.1
With Linux 6.1 many of our downstream patches and out-of-tree files
can be removed or at least replaced by backported upstream commits.

Signed-off-by: Daniel Golle <daniel@makrotopia.org>
[fix CMDLINE_OVERRIDE for arm64]
Signed-off-by: Bjørn Mork <bjorn@mork.no>
2024-02-09 21:06:36 +08:00
Daniel Golle
69ebf02aa6 mediatek: copy patches and files for Linux 6.1
First step only copies patches-5.15 and files-5.15 to
patches-6.1 and files-6.1 respectively.

Signed-off-by: Daniel Golle <daniel@makrotopia.org>
2024-02-09 21:02:10 +08:00
Daniel Golle
1dbf719902 mediatek: sync MT7986 device trees with upstream
Sync device tree files for MT7986 boards with what landed in upstream
Linux tree to easy maintainance and also allow for a smooth update to
Linux 6.1.

Signed-off-by: Daniel Golle <daniel@makrotopia.org>
2024-02-08 21:21:12 +08:00
Daniel Golle
db27068259 kernel: generic: improve FIT partition parser
* only map filesystems configured in 'loadables'
 * allow mapping more than one filesystem (e.g. customization/branding
   or localization in addition to rootfs)
 * small cleaning here and there

Signed-off-by: Daniel Golle <daniel@makrotopia.org>
2024-02-08 20:56:37 +08:00
Beginner
0d84afc31a
kernel: bump 6.6 to 6.6.16 (#11875) 2024-02-07 12:07:27 +08:00
Beginner
2e862778a3
kernel: bump 6.1 to 6.1.77 (#11874) 2024-02-07 12:02:03 +08:00
Daniel Golle
b87a11fc43 kernel: generic: use chosen bootconf in FIT partition parser
If the selected boot configuration is stored by U-Boot in '/chosen'
node as 'bootconf' attribute, use that configuration to resolve the
block device used as rootfs. Fall back to use the default configuration
in case 'bootconf' is not present.

Signed-off-by: Daniel Golle <daniel@makrotopia.org>
2024-02-05 23:00:35 +08:00
Daniel Golle
9072333533 generic: deny write to uImage.FIT sub-image partitions
Set policy bit to force read-only mode on uImage.FIT filesystem
sub-images mapped as block partitions by the FIT partition parser.

Signed-off-by: Daniel Golle <daniel@makrotopia.org>
2024-02-05 22:58:59 +08:00
Daniel Golle
9ea2a9923a mediatek: use updated device tree overlay mechanism for BPi-R64
Use new device tree overlay mechanism for the BananaPi BPi-R64 board.

Signed-off-by: Daniel Golle <daniel@makrotopia.org>
2024-02-04 22:54:40 +08:00
coolsnowwolf
eb3e9ad2e3 mediatek: filogic: add support for CMCC RAX3000M (NAND and eMMC version) 2024-02-03 21:31:05 +08:00
aiamadeus
6606bb39b6 mediatek: add support for ABT ASR3000 2024-02-03 15:10:15 +08:00
Beginner
458735dec7
kernel: bump 6.6 to 6.6.15 (#11857) 2024-02-02 11:01:16 +08:00
Beginner
e3811adc69
kernel: bump 6.1 to 6.1.76 (#11858) 2024-02-02 11:00:06 +08:00
Daniel Golle
e930707404 kernel: modules: break-out WM8960 codec module
Package codec module for WM8960 in its own package to be used by more
than one target.

Signed-off-by: Daniel Golle <daniel@makrotopia.org>
2024-02-01 22:15:16 +08:00
aiamadeus
e0ea643c5b ipq60xx: add 1.5GHz CPU frequency 2024-01-31 11:18:11 +08:00
aiamadeus
6c52d1ded1 ipq60xx: add GL.iNet GL-AX1800 support 2024-01-31 00:30:15 +08:00
coolsnowwolf
e4dedaf402 Add support to build qualcommax image 2024-01-30 18:04:25 +08:00
coolsnowwolf
b7fcf33b05 ipq60xx: rename target to qualcommax 2024-01-30 17:30:36 +08:00
coolsnowwolf
8fcf7f0915 ipq807x: rename target to qualcommax 2024-01-30 11:38:39 +08:00
coolsnowwolf
8a89f464cb x86: fix sysupgrade failure 2024-01-28 16:09:53 +08:00
Beginner
053f193d01
kernel: bump 6.1 to 6.1.75 (#11830) 2024-01-27 08:03:21 +08:00
Beginner
ab07e6a93e
kernel: bump 5.4 to 5.4.268 (#11834) 2024-01-27 08:02:23 +08:00
Beginner
edb87675dd
kernel: bump 5.15 to 5.15.148 (#11832) 2024-01-27 08:01:24 +08:00
Beginner
a96f1c3ec1
kernel: bump 5.10 to 5.10.209 (#11833) 2024-01-27 08:00:35 +08:00
coolsnowwolf
460dc30390 rockchip: add photonicat-firmware for photonicat wireless 2024-01-26 17:42:01 +08:00
coolsnowwolf
4b0ca23c81 kernel: refresh kernel 6.6 config 2024-01-26 13:13:56 +08:00
aakkll
781ce8d148
kernel: bump 6.6 to 6.6.14 (#11827)
Signed-off-by: aakkll <94471752+aakkll@users.noreply.github.com>
2024-01-26 12:42:34 +08:00
coolsnowwolf
9745339664 x86: add linux kernel 6.6 support 2024-01-25 12:02:56 +08:00
coolsnowwolf
7515f84eae ipq806x: switch to kernel 5.10 2024-01-24 15:25:36 +08:00
Beginner
a5823d43b1
kernel: bump 6.6 to 6.6.13 (#11817) 2024-01-23 00:30:12 +08:00
Beginner
b15250f0b3
kernel: bump 5.10 to 5.10.208 (#11815) 2024-01-23 00:20:07 +08:00
HHJLKK
ce91432bb0
mediatek: add support for IMOU LC-HX3001 (#11812) 2024-01-21 16:00:17 +08:00
HunZI
a462d2b757
target: add phytium support (#11798)
* target: add phytium support

* kernel/video: add phytium platform ARM GPU support

* config: add EFI support to phytium armv8

* target: phytium: remove rtl8821cs driver

* target: phytium: refresh dts
2024-01-18 15:16:24 +08:00
John Audia
03b416d21f kernel: bump 5.15 to 5.15.147
Manually rebased:
	generic/backport-5.15/005-v5.17-01-Kbuild-use-Wdeclaration-after-statement.patch

All other patches automatically rebased.

Build system: x86_64
Build-tested: ramips/tplink_archer-a6-v3
Run-tested: ramips/tplink_archer-a6-v3

Signed-off-by: John Audia <therealgraysky@proton.me>
2024-01-18 11:05:16 +08:00
Christian Marangi
390d8c540e generic: 6.1: backport FIELD_PREP_CONST patch
Backport FIELD_PREP_CONST patch needed for at803x backport patches to
correctly compile and work.

This MACRO is needed to treat values derived from FIELD_PREP usage as
const to be used by switch case or other needed usage.

Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
2024-01-18 11:00:57 +08:00
Christian Marangi
386201a323 generic: 6.1: renumber MediaTek SGMII PCS patch
Renumber MediaTek SGMII PCS patch to make space for upcoming at803x
backport patches.

Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
2024-01-18 10:58:12 +08:00
Chen Minqiang
93fc272fcb kernel: ksmbd: only v2 leases handle the directory
This backport a fix for ksmbd.

Signed-off-by: Chen Minqiang <ptpt52@gmail.com>
2024-01-18 10:56:14 +08:00
aakkll
eb030b2124
kernel: bump 5.4 to 5.4.267 (#11795) 2024-01-17 01:28:41 +08:00
coolsnowwolf
32a89b611e generic: fix kernel 6.1 FLOWOFFLOAD for iptables support 2024-01-16 22:28:12 +08:00
coolsnowwolf
e302ace38d generic: refresh xt_FLOWOFFLOAD patch with new API 2024-01-15 17:40:44 +08:00
aakkll
cac1207d80 kernel: bump 6.1 to 6.1.72 (#11769) 2024-01-15 17:29:43 +08:00
coolsnowwolf
1f7b499eb1 Revert "kernel: bump 6.1 to 6.1.72 (#11769)"
This reverts commit 2c67f6832d.
2024-01-15 02:15:50 +08:00
coolsnowwolf
c2b9dbf31a loongarch64: add wireless support by default 2024-01-15 01:27:42 +08:00
coolsnowwolf
c24837295d mac80211: add loongarch64 and kernle 6.6 support 2024-01-15 01:15:20 +08:00
coolsnowwolf
f1803bc468 loongarch64: fix image build 2024-01-14 23:35:58 +08:00
coolsnowwolf
4fb7370e09 generic: fix loogarch64 kernel modules build 2024-01-14 23:16:29 +08:00
aakkll
2c67f6832d
kernel: bump 6.1 to 6.1.72 (#11769) 2024-01-14 18:08:32 +08:00