Tianling Shen
a92a42464e
Merge Official Source
...
Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
2024-04-08 12:56:42 +08:00
Álvaro Fernández Rojas
6512333518
bcm27xx: bcm2712: backport RP1 interrupt affinity
...
Support for setting the CPU affinity on RP1 has been added to RPi linux v6.6
Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
2024-04-07 22:12:42 +02:00
Álvaro Fernández Rojas
20fe7e687e
bcm27xx: update 6.1 patches from RPi foundation
...
Sync 6.1 patches with the RPi foundation.
Since rpi-6.6.y is now the main branch of the RPi foundation, there won't be
any new patches for linux 6.1.
Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
2024-04-07 22:12:42 +02:00
Tianling Shen
5caf6c182a
Merge Official Source
...
Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
2024-04-05 15:50:06 +08:00
Mieczyslaw Nalewaj
0b10e5a5dc
bcm27xx: refresh patches
...
Refresh patches for kernel 6.1.82 with make target/linux/refresh.
Signed-off-by: Mieczyslaw Nalewaj <namiltd@yahoo.com>
2024-04-03 11:47:18 +02:00
Tianling Shen
4d22a8a2c4
Merge Official Source
...
Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
2024-03-24 21:24:08 +08:00
Qingfang Deng
6b007d2512
treewide: disable spectre mitigation on unaffected Arm64 targets
...
Cortex-A53 is not vulnerable to any Spectre variants.
Ref: https://developer.arm.com/Arm%20Security%20Center/Speculative%20Processor%20Vulnerability
Signed-off-by: Qingfang Deng <dqfext@gmail.com>
2024-03-23 20:00:49 +01:00
Qingfang Deng
54f9744c82
treewide: disable spectre mitigation on unaffected Arm32 targets
...
Cortex-A5 and Cortex-A7 are not vulnerable to any Spectre variants.
Ref: https://developer.arm.com/Arm%20Security%20Center/Speculative%20Processor%20Vulnerability
Signed-off-by: Qingfang Deng <dqfext@gmail.com>
2024-03-23 20:00:49 +01:00
Tianling Shen
639f5c5dfc
Merge Official Source
...
Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
2024-03-22 18:21:12 +08:00
John Audia
3cd3afd92e
kernel: bump 6.1 to 6.1.82
...
Changelog: https://cdn.kernel.org/pub/linux/kernel/v6.x/ChangeLog-6.1.82
All patches automatically rebased.
Build system: x86/64
Build-tested: x86/64/AMD Cezanne, ramips/tplink_archer-a6-v3
Run-tested: x86/64/AMD Cezanne, ramips/tplink_archer-a6-v3
Signed-off-by: John Audia <therealgraysky@proton.me>
2024-03-19 00:33:51 +01:00
ZiMing Mo
f761272538
Merge Official Source
...
Signed-off-by: ZiMing Mo <msylgj@immortalwrt.org>
2024-03-14 21:41:17 +08:00
John Audia
dd02da54e9
kernel: bump 6.1 to 6.1.81
...
Changelog: https://cdn.kernel.org/pub/linux/kernel/v6.x/ChangeLog-6.1.81
All patches automatically rebased.
Build system: x86/64
Build-tested: x86/64/AMD Cezanne, ramips/tplink_archer-a6-v3, flogic/xiaomi_redmi-router-ax6000-ubootmod
Run-tested: x86/64/AMD Cezanne, ramips/tplink_archer-a6-v3, flogic/xiaomi_redmi-router-ax6000-ubootmod
Signed-off-by: John Audia <therealgraysky@proton.me>
2024-03-11 21:51:37 +01:00
Tianling Shen
a337bdb07d
Merge Official Source
...
Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
2024-03-05 11:40:31 +08:00
John Audia
13cdc8955c
kernel: bump 6.1 to 6.1.80
...
Changelog: https://cdn.kernel.org/pub/linux/kernel/v6.x/ChangeLog-6.1.80
Manually rebased:
generic/hack-6.1/650-netfilter-add-xt_FLOWOFFLOAD-target.patch[1]
All other patches automatically rebased.
1. Acknowledgement to @heheb and @DragonBluep. Upstream commit for ref: https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?h=v6.1.80&id=9c5662e95a8dcc232c3ef4deb21033badcd260f6
Build system: x86/64
Build-tested: x86/64/AMD Cezanne, ramips/tplink_archer-a6-v3
Run-tested: x86/64/AMD Cezanne, ramips/tplink_archer-a6-v3
Signed-off-by: John Audia <therealgraysky@proton.me>
2024-03-05 00:23:59 +01:00
Álvaro Fernández Rojas
fe0081eecf
bcm27xx: use PARTUUID for root in cmdline
...
This allows booting from USB/NVME while keeping SD compatibility.
Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
2024-03-04 16:28:57 +01:00
Álvaro Fernández Rojas
fb80be6944
bcm27xx: pass signature to partition generation
...
Passes IMG_PART_SIGNATURE to ptgen instead of using the default "OWRT"
signature.
Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
2024-03-04 16:27:39 +01:00
Álvaro Fernández Rojas
552c6b2472
bcm27xx: base-files: fix platform_copy_config
...
/boot/kernel*.img wildcard only works without quotation marks.
Fixes: 1a5e51ab00 ("bcm27xx: base-files: fix platform_copy_config")
Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
2024-03-04 16:20:55 +01:00
Tianling Shen
092e5cdd54
Merge Official Source
...
Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
2024-02-25 13:24:47 +08:00
John Audia
33e72e0b3d
kernel: bump 6.1 to 6.1.79
...
Changelog: https://cdn.kernel.org/pub/linux/kernel/v6.x/ChangeLog-6.1.79
Manually rebased:
ath79/patches-6.1/900-unaligned_access_hacks.patch
All other patches automatically rebased.
Build system: x86/64
Build-tested: x86/64/AMD Cezanne, ramips/tplink_archer-a6-v3, flogic/xiaomi_redmi-router-ax6000-ubootmod
Run-tested: x86/64/AMD Cezanne, ramips/tplink_archer-a6-v3, flogic/xiaomi_redmi-router-ax6000-ubootmod
Signed-off-by: John Audia <therealgraysky@proton.me>
2024-02-24 19:25:02 +01:00
Tianling Shen
d2439a54dc
Merge Official Source
...
Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
2024-02-19 12:08:24 +08:00
John Audia
5fe80218f9
kernel: bump 6.1 to 6.1.78
...
Changelog: https://cdn.kernel.org/pub/linux/kernel/v6.x/ChangeLog-6.1.78
Manually rebased:
bcm27xx/patches-6.1/950-0865-usb-dwc3-Set-DMA-and-coherent-masks-early.patch
bcm27xx/patches-6.1/950-0124-Add-support-for-all-the-downstream-rpi-sound-card-dr.patch
All other patches automatically rebased.
Build system: x86/64
Build-tested: x86/64/AMD Cezanne, ramips/tplink_archer-a6-v3, logic/xiaomi_redmi-router-ax6000-ubootmod
Run-tested: x86/64/AMD Cezanne, ramips/tplink_archer-a6-v3, logic/xiaomi_redmi-router-ax6000-ubootmod
Signed-off-by: John Audia <therealgraysky@proton.me>
2024-02-18 11:20:27 +00:00
Daniel Golle
3c34a5bf99
kernel: nvmem: correctly assign fwnode to MMC block device
...
Use device_set_node to make sure OF node gets assigned on block
devices to be used as NVMEM providers. While block partitions were
already working fine as NVMEM providers, bare block devices such as
mmcblk0boot1 will not work without this change.
Fixes: fc153aa8d9 ("kernel: import pending patches adding support for NVMEM on UBI and MMC")
Signed-off-by: Daniel Golle <daniel@makrotopia.org>
2024-02-18 03:25:39 +00:00
Daniel Golle
4cb6bd9a6d
mediatek: switch to pending XFI 10G Ethernet drivers
...
Replace previous patch adding paths and SerDes modes with patch series
pending upstream adding dedicated drivers for XFI T-PHY and USXGMII PCS,
extends LynxI PCS to be a standalone platform driver and as a consequence
makes much less changes to the actual Ethernet driver mtk_eth_soc.
Signed-off-by: Daniel Golle <daniel@makrotopia.org>
2024-02-15 19:06:36 +00:00
Daniel Golle
d40756563c
kernel: backport phylink changes from mainline Linux
...
Let's pick a bunch of useful phylink changes which allow us to keep
drivers in sync with mainline Linux.
Signed-off-by: Daniel Golle <daniel@makrotopia.org>
2024-02-15 19:06:36 +00:00
Daniel Golle
fc153aa8d9
kernel: import pending patches adding support for NVMEM on UBI and MMC
...
Similar to supporting nvmem-layouts on MTD devices, also allow referencing
UBI and MMC devices in DT.
Signed-off-by: Daniel Golle <daniel@makrotopia.org>
2024-02-15 19:06:36 +00:00
Tianling Shen
3bc7cfe092
target: add cpufreq to default packages
...
Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
2024-02-13 14:13:25 +08:00
Tianling Shen
3f5b3d9492
Merge Official Source
...
Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
2024-02-12 12:54:22 +08:00
Christian Marangi
16364e4100
generic: 6.1: backport QCA807x PHY patches
...
Backport QCA807x PHY patches merged upstream that introduce the new
concept of PHY package.
Also add in generic config the new Kconfig CONFIG_QCA807X_PHY.
All affected patch automatically refreshed with make
target/linux/refresh.
Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
2024-02-11 21:08:26 +01:00
Tianling Shen
bff2731c85
Merge Official Source
...
Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
2024-02-09 12:20:03 +08:00
John Audia
f89904ad78
kernel: bump 6.1 to 6.1.77
...
Changelog: https://cdn.kernel.org/pub/linux/kernel/v6.x/ChangeLog-6.1.77
Removed upstreamed:
generic/backport-6.1/707-v6.8-01-net-phy-at803x-fix-passing-the-wrong-reference-for-c.patch[1]
generic/backport-6.1/796-v6.8-ipmr-fix-kernel-panic-when-forwarding-mcast-packets.patch[2]
All other patches automatically rebased.
1. https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?h=v6.1.77&id=7dc0fefd37dd5fb03fdac6e3e01b1c2291148ccb
2. https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?h=v6.1.77&id=d2f1b7fe74afd66298dbb3c7b39e7b62e4df1724
Build system: x86/64
Build-tested: x86/64/AMD Cezanne
Run-tested: x86/64/AMD Cezanne
Signed-off-by: John Audia <therealgraysky@proton.me>
2024-02-08 18:35:42 +01:00
John Audia
4a0839b44e
kernel: bump 6.1 to 6.1.76
...
Changelog: https://cdn.kernel.org/pub/linux/kernel/v6.x/ChangeLog-6.1.76
All patches automatically rebased.
Build system: x86/64
Build-tested: x86/64/AMD Cezanne
Run-tested: x86/64/AMD Cezanne
Signed-off-by: John Audia <therealgraysky@proton.me>
2024-02-08 18:35:42 +01:00
Tianling Shen
585fdb1c4b
Merge Official Source
...
Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
2024-02-08 13:21:54 +08:00
Álvaro Fernández Rojas
48d7376400
bcm27xx: refresh kernel configs
...
Refresh outdated kernel configs.
Fixes: b76fcf1bbe ("bcm27xx: enable video symbols"
Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
2024-02-05 18:50:48 +01:00
Marty Jones
94c9504bc7
bcm27xx: bcm2712: switch default ASPM policy to Powersave
...
Fixes instability issues with NVMe drives on RPi 5
Signed-off-by: Marty Jones <mj8263788@gmail.com>
2024-02-05 18:30:33 +01:00
Álvaro Fernández Rojas
2047a62684
bcm27xx: add isp-bcm2835 kernel module
...
kmod-isp-bcm2835 enables ISP HW on the Raspberry Pi.
Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
2024-02-05 18:25:16 +01:00
Álvaro Fernández Rojas
f1364da7a3
bcm27xx: add codec-bcm2835 kernel module
...
kmod-codec-bcm2835 enables HW accelerated video decoding/encoding on the
Raspberry Pi.
Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
2024-02-05 18:25:16 +01:00
Álvaro Fernández Rojas
b76fcf1bbe
bcm27xx: enable video symbols
...
CONFIG_MEDIA_CONTROLLER has to be enabled for Raspberry Pi V4L2 drivers.
Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
2024-02-05 18:25:16 +01:00
Álvaro Fernández Rojas
316e23a65b
bcm27xx: camera-bcm2835: fix module autoload
...
camera-bcm2835 depends on video-videobuf2, which has 65 as load value.
Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
2024-02-05 18:25:16 +01:00
Álvaro Fernández Rojas
e5194d1f37
bcm27xx: video: remove disabled video symbols
...
These symbols are now in the generic 6.1 config.
Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
2024-02-05 18:25:16 +01:00
Tianling Shen
fbe7e9e021
Merge Official Source
...
Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
2024-02-02 11:21:19 +08:00
John Audia
2c363a070e
kernel: bump 6.1 to 6.1.75
...
Changelog: https://cdn.kernel.org/pub/linux/kernel/v6.x/ChangeLog-6.1.75
Removed upstreamed:
generic/hack-6.1/321-powerpc_crtsavres_prereq.patch[1]
generic/pending-6.1/540-ksmbd-only-v2-leases-handle-the-directory.patch[2]
Rebased:
bcm27xx/patches-6.1/950-0670-fbdev-Don-t-cancel-deferred-work-if-pagelist-empty.patch[3]
All other patches automatically rebased.
1. https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?h=v6.1.75&id=16b88e68b85d5520c28498bb847358ff6300cb90
2. https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/fs/smb?h=v6.1.75&id=c866866c795296d3637ab0d48a3d8a3ef5d6f4a3
3. https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?h=v6.1.75&id=81f444f22816a82ada2cc787a2845cffc8c584a6
Build system: x86/64
Build-tested: x86/64/AMD Cezanne
Run-tested: x86/64/AMD Cezanne
Signed-off-by: John Audia <therealgraysky@proton.me>
2024-02-01 21:34:05 +01:00
Álvaro Fernández Rojas
0a65787675
bcm27xx: bcm2712: remove boot-2711 image files
...
According to Raspberry Pi documentation, the RPi 5 First Stage Bootloader
loads the linux kernel instead of loading the Second Stage Bootloader
(start.elf):
https://www.raspberrypi.com/documentation/computers/raspberry-pi.html#differences-on-raspberry-pi-5
Fixes: 8b63d9a ("bcm27xx: add new bcm2712 subtarget")
Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
2024-02-01 12:05:08 +01:00
Álvaro Fernández Rojas
1a5e51ab00
bcm27xx: base-files: fix platform_copy_config
...
Only bcm2708 and bcm2709 use "kernel.img" file name.
bcm2710 and bcm2711 use "kernel8.img" and bcm2712 uses "kernel_2712.img".
Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
2024-02-01 09:58:17 +01:00
Álvaro Fernández Rojas
96b03ff247
bcm27xx: improve image generation script
...
- Exit immediately on a non-zero status.
- Remove empty lines.
- Remove unused variables.
- Add missing ptgen variables for readability.
- Refactor SYNTAX if block.
Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
2024-02-01 09:58:17 +01:00
Álvaro Fernández Rojas
a391760102
bcm27xx: base-files: properly detect boot partition
...
Automatically detect boot partition instead of forcing /dev/mmcblk0p1.
This way users can still get /boot mounted when booting from USB.
Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
2024-02-01 09:58:17 +01:00
Álvaro Fernández Rojas
6d27032a37
bcm27xx: base-files: set_preinit_iface: add RPi 5
...
Add missing Rasoberry Pi 5 board_name to set_preinit_iface in order to get
ethernet working on failsafe mode.
Fixes: 8b63d9a ("bcm27xx: add new bcm2712 subtarget")
Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
2024-02-01 09:58:11 +01:00
Tianling Shen
7bbb135477
Merge Official Source
...
Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
2024-01-30 12:47:48 +08:00
Álvaro Fernández Rojas
0b498c3c3f
bcm27xx: bcm2712: enable USB symbols and drop packages
...
This allows booting from USB.
Fixes: 8b63d9ac4a ("bcm27xx: add new bcm2712 subtarget")
Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
2024-01-29 22:23:01 +01:00
Tianling Shen
9b7e61b88e
Merge Official Source
...
Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
2024-01-28 12:19:24 +08:00
Álvaro Fernández Rojas
476aaf057a
bcm27xx: refresh bcm2711 kernel config
...
Refresh outdated bcm2711 (RPi 4B) kernel config.
Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
2024-01-28 01:11:02 +01:00