Commit Graph

6471 Commits

Author SHA1 Message Date
Hauke Mehrtens
4e9456453d kernel: Remove dsmark support
dsmark support was removed in kernel 5.15.150 and 6.1.80.
Remove it from the kmod package as well.

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
2024-03-04 10:36:28 +08:00
coolsnowwolf
e612846e1b target: generic: fixes dst_release issue 2024-03-04 10:32:59 +08:00
coolsnowwolf
f903cc8970 target: generic: fix xt_FLOWOFFLOAD patches
Fixes: #11939, #11943
2024-03-03 15:53:49 +08:00
Beginner
d75705cfc4
kernel: bump 5.15 to 5.15.150 (#11938) 2024-03-03 00:10:26 +08:00
Beginner
256ab6f77f
kernel: bump 5.4 to 5.4.270 (#11942) 2024-03-03 00:01:06 +08:00
Beginner
c33693071d
kernel: bump 6.1 to 6.1.80 (#11934)
Changelog: https://cdn.kernel.org/pub/linux/kernel/v6.x/ChangeLog-6.1.80

Manually rebased:
	rockchip/patches-6.1/102-net-phy-realtek-RTL8211-add-LED-configuration-from-OF.patch

Build system: x86/64
2024-03-02 16:55:46 +08:00
Beginner
ca1355ce87
kernel: bump 6.6 to 6.6.19 (#11933) 2024-03-02 15:25:33 +08:00
aiamadeus
e15446b4ce ipq60xx: add support for CMIOT AX18 2024-02-29 22:00:06 +08:00
coolsnowwolf
08ebc6e104 kernel: add support for mem2mem devices 2024-02-28 22:06:42 +08:00
coolsnowwolf
aef5c79f19 bcm27xx: add wireless support for Raspberry Pi 5 2024-02-28 14:19:49 +08:00
Mieczyslaw Nalewaj
05390b546e kernel: support for RTL8367C/S switch
From driver point of view no differance between rtl8367b and rtl8367s
if it connected through EXT2 (rgmii only).
So this trivial patch add some identification and initialization only.
SGMII/HSGMII mode for EXT1 is not implemented for the sake of patch
clairity.

Signed-off-by: Serge Vasilugin <vasilugin@yandex.ru>
Signed-off-by: Mieczyslaw Nalewaj <namiltd@yahoo.com>
2024-02-27 22:00:14 +08:00
coolsnowwolf
06b4e7d34f package: bump up broadcom firmware 2024-02-26 21:38:13 +08:00
coolsnowwolf
92238a38e6 bcm27xx: switch to kernel v6.1
This patch adds support for Raspberry Pi 5.
2024-02-26 21:23:45 +08:00
Beginner
5945bf489f
kernel: bump 5.15 to 5.15.149 (#11915) 2024-02-25 00:10:19 +08:00
Beginner
5373f82d2c
kernel: bump 5.10 to 5.10.210 (#11914) 2024-02-25 00:06:04 +08:00
Beginner
4bd8570032
kernel: bump 5.4 to 5.4.269 (#11913) 2024-02-25 00:01:17 +08:00
Beginner
560cae946c
kernel: bump 6.6 to 6.6.18 (#11917) 2024-02-24 23:08:41 +08:00
Beginner
14468698a1
kernel: bump 6.1 to 6.1.79 (#11916) 2024-02-24 23:00:03 +08:00
Daniel Golle
5a1eaf2a0b mediatek: improve mt7981.dtsi
* re-factor WED components to boot fine also on limited loaders
 * add LEDs of integrated GE PHY

Signed-off-by: Daniel Golle <daniel@makrotopia.org>
2024-02-23 22:52:15 +08:00
Daniel Golle
40bd975f27 mediatek: filogic: improve pinctrl drivers
Set correct pull-type data and add additional uart groups for MT7981.
Assign functions to configure pin bias for MT7986.

Signed-off-by: Daniel Golle <daniel@makrotopia.org>
2024-02-23 22:50:03 +08:00
Daniel Golle
eeae80a9d0 mediatek: replace hack for MaxLinear 2.5G PHY
Replace hack with proper patch also for Linux 5.15.

Signed-off-by: Daniel Golle <daniel@makrotopia.org>
2024-02-22 23:06:24 +08:00
Daniel Golle
02c78e823a mediatek: dts: mt7988a: remove boottrap hack
The PHY driver now uses regmap created from pio syscon, we no longer
need the boottrap device.

Signed-off-by: Daniel Golle <daniel@makrotopia.org>
2024-02-22 23:05:11 +08:00
coolsnowwolf
a61217134d kmod-crypto-sha512: fix kernel 6.6 support 2024-02-21 14:41:41 +08:00
coolsnowwolf
ca76a0ba65 qualcommax: ipq60xx: fixes boot issues 2024-02-20 20:20:10 +08:00
coolsnowwolf
1c57996f6f target: enable crypto-sha512 by default 2024-02-20 00:44:02 +08:00
coolsnowwolf
7f7562ee7c grub2: fix EFI support for armvirt 2024-02-20 00:18:02 +08:00
Christian Marangi
586df29178 kernel-build.mk: add support for compiling only DTS
Add support for compiling DTS for the selected target. This can be
useful for testing if the DTS correctly compile and doesn't produce any
error.

This adds a new make target. To compile only DTS use:

make target/linux/dtb

Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
2024-02-19 23:30:11 +08:00
Janusz Dziedzic
eaa0b4f0c3 linux-firmware: intel: add BE200 wifi firmware
Add option to install Intel BE200 firmware
required by iwlwifi driver and Wifi7 hardware.

Signed-off-by: Janusz Dziedzic <janusz.dziedzic@gmail.com>
2024-02-19 23:23:24 +08:00
coolsnowwolf
2948e7995a qualcommax: ipq60xx: add Redmi AX5 JDCloud support 2024-02-19 16:07:47 +08:00
coolsnowwolf
2229a47aee qualcommax: ipq60xx: add ZN M2 support 2024-02-19 15:35:33 +08:00
coolsnowwolf
98184c52b9 qualcommax: ipq60xx: add Xiaomi RM1800 (aka AX5) support 2024-02-19 15:00:00 +08:00
Beginner
0ea4b64304
kernel: bump 6.6 to 6.6.17 (#11895) 2024-02-17 19:30:11 +08:00
Beginner
6255b11d57
kernel: bump 6.1 to 6.1.78 (#11894) 2024-02-17 19:28:03 +08:00
Tony91590
735ea0d11e
mediatek: filogic: set special upgrade for Asus AX4200 (#11893) 2024-02-16 22:40:15 +08:00
Daniel Golle
87fe8bb382 mediatek: re-add missing patch for Linux 6.1
The patch was wrongly tagged as being part of Linux 6.0 even though it
was only committed with Linux 6.2 and hence needs to be backported for
Linux 6.1.

Fixes: fa79baf4a6 ("generic: copy backport, hack, pending patch and config from 5.15 to 6.1")
Signed-off-by: Daniel Golle <daniel@makrotopia.org>
2024-02-15 23:05:35 +08:00
Daniel Golle
d6bd2cab60 mediatek: re-add dropped properties on BPi-R3
Unfortunately some device tree properties have slipped under the table
when switching from our downstream device tree.

Bring back 3W power for SFP cages and restore thermal trip points to
make sense again.

Fixes: 7a0ec001ff ("mediatek: sync MT7986 device trees with upstream")
Signed-off-by: Daniel Golle <daniel@makrotopia.org>
2024-02-15 22:56:36 +08:00
Daniel Golle
12c2bc20d1 mediatek: use backported Ethernet PHY driver also for 5.15
Backport in-SoC Gigabit Ethernet PHY driver instead of carrying the
driver in files-5.15.

Signed-off-by: Daniel Golle <daniel@makrotopia.org>
2024-02-14 22:51:25 +08:00
Daniel Golle
a7509fafb9 mediatek: dts: mt7988a: wire-up mediatek,pio for PHY LEDs
The PHY driver needs to read a register containing the values of the
bootstrap pins (which happen to be the PHY LEDs) to determine the LED
polarities. Allow regmap access to first pinctrl bank by adding the
'syscon' compatible, and reference the pinctrl in the MDIO bus where
the PHY driver will look for it.

Signed-off-by: Daniel Golle <daniel@makrotopia.org>
2024-02-14 22:46:26 +08:00
Daniel Golle
ebbf939276 mediatek: expose testing Linux 6.1 testing kernel
Set KERNEL_TESTING_PATCHVER:=6.1 to allow building all subtargets with
Linux 6.1.

Signed-off-by: Daniel Golle <daniel@makrotopia.org>
2024-02-13 22:11:05 +08:00
Daniel Golle
f2be6935f8 mediatek: adapt kernel configuration for Linux 6.1
Update kernel configuration to build Linux 6.1 for all subtargets.

Signed-off-by: Daniel Golle <daniel@makrotopia.org>
2024-02-13 22:09:10 +08:00
Daniel Golle
1eef526cb9 mediatek: copy config-5.15 to config-6.1 for all subtargets
To ease review, first copy all subtargets' kernel config-5.15 to the
to-be-adapted config-6.1.

Signed-off-by: Daniel Golle <daniel@makrotopia.org>
2024-02-12 22:54:20 +08:00
Daniel Golle
e4165bcd1d mediatek: prepare old rtk switch driver for use with Linux 6.1
The old RealTek RTL8367S switch driver which is used for some MT7622
devices needs to be modified to no longer free the GPIO after reset
has completed.
This is due to Linux 5.19 removing devm_gpio_free via commit
2b038e786f83 ("gpiolib: devres: Get rid of unused devm_gpio_free()")

Signed-off-by: Daniel Golle <daniel@makrotopia.org>
2024-02-12 22:51:59 +08:00
Daniel Golle
a47cff2bc4 mediatek: use DEVICE_DTC_FLAGS and drop DTC_FLAGS
The MT7986 RFB was intended to use device tree overlays and for that
reason modified DTC_FLAGS. zyxel_ex5601-t0-stock later on probably
copied it from there. Both boards do not actually use device tree
overlays, so remove setting DTC_FLAGS from both.

The BPi-R3 does use device tree overlays, use DEVICE_DTC_FLAGS to give
it an extra 4kb of padding for overlays to be applied.

Signed-off-by: Daniel Golle <daniel@makrotopia.org>
2024-02-11 23:10:55 +08:00
Daniel Golle
5f201f97e8 mediatek: use DEVICE_DTC_FLAGS for BPi-R64
Make sure there is an extra 4kb of padding to apply device tree overlays
on the BPi-R64.

Signed-off-by: Daniel Golle <daniel@makrotopia.org>
2024-02-11 23:09:27 +08:00
Daniel Golle
2d309fec97 image: introduce DEVICE_DTC_FLAGS and DEVICE_DTCO_FLAGS
Handle compiling device tree overlay blobs separate to allow for
overlays being compiled with different parameters, mostly to safe
space.
Allow defining DEVICE_DTC_FLAGS and DEVICE_DTCO_FLAGS as per-device
parameters to be passed to dtc. Previously some boards directly used
DTC_FLAGS in their build recipe which then also affected other boards.

Signed-off-by: Daniel Golle <daniel@makrotopia.org>
2024-02-11 23:07:11 +08:00
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