summaryrefslogtreecommitdiff
path: root/target/linux/patches
diff options
context:
space:
mode:
Diffstat (limited to 'target/linux/patches')
-rw-r--r--target/linux/patches/4.14.334/alpha-remove-coff.patch (renamed from target/linux/patches/4.14.311/alpha-remove-coff.patch)0
-rw-r--r--target/linux/patches/4.14.334/arm-nommu.patch (renamed from target/linux/patches/4.14.311/arm-nommu.patch)0
-rw-r--r--target/linux/patches/4.14.334/arm-thumb2.patch (renamed from target/linux/patches/4.14.311/arm-thumb2.patch)0
-rw-r--r--target/linux/patches/4.14.334/h8300.patch (renamed from target/linux/patches/4.14.311/h8300.patch)0
-rw-r--r--target/linux/patches/4.14.334/initramfs-nosizelimit.patch (renamed from target/linux/patches/4.14.311/initramfs-nosizelimit.patch)0
-rw-r--r--target/linux/patches/4.14.334/microblaze-sigaltstack.patch (renamed from target/linux/patches/4.14.311/microblaze-sigaltstack.patch)0
-rw-r--r--target/linux/patches/4.14.334/or1k-more-ram.patch (renamed from target/linux/patches/4.14.311/or1k-more-ram.patch)0
-rw-r--r--target/linux/patches/4.14.334/startup.patch (renamed from target/linux/patches/4.14.311/startup.patch)0
-rw-r--r--target/linux/patches/4.14.334/vdso2.patch (renamed from target/linux/patches/4.14.311/vdso2.patch)0
-rw-r--r--target/linux/patches/4.19.313/arc.patch (renamed from target/linux/patches/4.19.279/arc.patch)0
-rw-r--r--target/linux/patches/4.19.313/arm-nommu.patch (renamed from target/linux/patches/4.19.279/arm-nommu.patch)0
-rw-r--r--target/linux/patches/4.19.313/darwin-dtc.patch (renamed from target/linux/patches/4.19.279/darwin-dtc.patch)0
-rw-r--r--target/linux/patches/4.19.313/darwin-file2alias.patch (renamed from target/linux/patches/4.19.279/darwin-file2alias.patch)0
-rw-r--r--target/linux/patches/4.19.313/fec-coldfire.patch (renamed from target/linux/patches/4.19.279/fec-coldfire.patch)0
-rw-r--r--target/linux/patches/4.19.313/or1k-more-ram.patch (renamed from target/linux/patches/4.19.279/or1k-more-ram.patch)0
-rw-r--r--target/linux/patches/4.19.313/relocs.patch (renamed from target/linux/patches/4.19.279/relocs.patch)0
-rw-r--r--target/linux/patches/4.19.313/startup.patch (renamed from target/linux/patches/4.19.279/startup.patch)0
-rw-r--r--target/linux/patches/4.19.313/vdso2.patch (renamed from target/linux/patches/4.19.279/vdso2.patch)0
-rw-r--r--target/linux/patches/5.10.216/arc.patch (renamed from target/linux/patches/5.10.176/arc.patch)0
-rw-r--r--target/linux/patches/5.10.216/darwin-dtc.patch (renamed from target/linux/patches/5.10.176/darwin-dtc.patch)0
-rw-r--r--target/linux/patches/5.10.216/darwin-file2alias.patch (renamed from target/linux/patches/5.10.176/darwin-file2alias.patch)0
-rw-r--r--target/linux/patches/5.10.216/dtc-noyaml.patch (renamed from target/linux/patches/5.10.176/dtc-noyaml.patch)0
-rw-r--r--target/linux/patches/5.10.216/nds32-ag101p.patch (renamed from target/linux/patches/5.10.176/nds32-ag101p.patch)0
-rw-r--r--target/linux/patches/5.10.216/or1k-more-ram.patch (renamed from target/linux/patches/5.10.176/or1k-more-ram.patch)0
-rw-r--r--target/linux/patches/5.10.216/relocs.patch (renamed from target/linux/patches/5.10.176/relocs.patch)0
-rw-r--r--target/linux/patches/5.10.216/startup.patch (renamed from target/linux/patches/5.10.176/startup.patch)0
-rw-r--r--target/linux/patches/5.15.158/darwin-dtc.patch (renamed from target/linux/patches/5.15.105/darwin-dtc.patch)0
-rw-r--r--target/linux/patches/5.15.158/darwin-file2alias.patch (renamed from target/linux/patches/5.15.105/darwin-file2alias.patch)0
-rw-r--r--target/linux/patches/5.15.158/dtc-noyaml.patch (renamed from target/linux/patches/5.15.105/dtc-noyaml.patch)0
-rw-r--r--target/linux/patches/5.15.158/enable-ethernet-bpi-m2-plus.patch (renamed from target/linux/patches/5.15.105/enable-ethernet-bpi-m2-plus.patch)0
-rw-r--r--target/linux/patches/5.15.158/nds32-ag101p.patch (renamed from target/linux/patches/5.15.105/nds32-ag101p.patch)0
-rw-r--r--target/linux/patches/5.15.158/or1k-more-ram.patch (renamed from target/linux/patches/5.15.105/or1k-more-ram.patch)0
-rw-r--r--target/linux/patches/5.15.158/relocs.patch (renamed from target/linux/patches/5.15.105/relocs.patch)0
-rw-r--r--target/linux/patches/5.15.158/rockchip-115200.patch (renamed from target/linux/patches/5.15.105/rockchip-115200.patch)0
-rw-r--r--target/linux/patches/5.15.158/startup.patch (renamed from target/linux/patches/5.15.105/startup.patch)0
-rw-r--r--target/linux/patches/5.4.275/arc.patch (renamed from target/linux/patches/5.4.239/arc.patch)0
-rw-r--r--target/linux/patches/5.4.275/arm-nommu.patch (renamed from target/linux/patches/5.4.239/arm-nommu.patch)0
-rw-r--r--target/linux/patches/5.4.275/darwin-dtc.patch (renamed from target/linux/patches/5.4.239/darwin-dtc.patch)0
-rw-r--r--target/linux/patches/5.4.275/darwin-file2alias.patch (renamed from target/linux/patches/5.4.239/darwin-file2alias.patch)0
-rw-r--r--target/linux/patches/5.4.275/dtc-noyaml.patch (renamed from target/linux/patches/5.4.239/dtc-noyaml.patch)0
-rw-r--r--target/linux/patches/5.4.275/macsonic.patch (renamed from target/linux/patches/5.4.239/macsonic.patch)0
-rw-r--r--target/linux/patches/5.4.275/or1k-more-ram.patch (renamed from target/linux/patches/5.4.239/or1k-more-ram.patch)0
-rw-r--r--target/linux/patches/5.4.275/relocs.patch (renamed from target/linux/patches/5.4.239/relocs.patch)0
-rw-r--r--target/linux/patches/5.4.275/sh4.patch (renamed from target/linux/patches/5.4.239/sh4.patch)0
-rw-r--r--target/linux/patches/5.4.275/startup.patch (renamed from target/linux/patches/5.4.239/startup.patch)0
-rw-r--r--target/linux/patches/6.1.90/armnommu-fix-thread-registers.patch57
-rw-r--r--target/linux/patches/6.1.90/armnommu-versatile.patch101
-rw-r--r--target/linux/patches/6.1.90/board-rockpi4-0003-arm64-dts-pcie.patch (renamed from target/linux/patches/6.1.22/board-rockpi4-0003-arm64-dts-pcie.patch)0
-rw-r--r--target/linux/patches/6.1.90/enable-ethernet-bpi-m2-plus.patch (renamed from target/linux/patches/6.1.22/enable-ethernet-bpi-m2-plus.patch)0
-rw-r--r--target/linux/patches/6.1.90/hppa-cross-compile.patch12
-rw-r--r--target/linux/patches/6.1.90/macsonic.patch11
-rw-r--r--target/linux/patches/6.1.90/nios2.patch12
-rw-r--r--target/linux/patches/6.1.90/or1k-more-ram.patch12
-rw-r--r--target/linux/patches/6.1.90/riscv32.patch (renamed from target/linux/patches/6.1.22/riscv32.patch)0
-rw-r--r--target/linux/patches/6.1.90/riscv64-flat.patch19
-rw-r--r--target/linux/patches/6.1.90/rockchip-115200.patch (renamed from target/linux/patches/6.1.22/rockchip-115200.patch)0
-rw-r--r--target/linux/patches/6.1.90/rockchip-pcie-timeout.patch (renamed from target/linux/patches/6.1.22/rockchip-pcie-timeout.patch)0
-rw-r--r--target/linux/patches/6.6.30/armnommu-fix-thread-registers.patch57
-rw-r--r--target/linux/patches/6.6.30/armnommu-versatile.patch101
-rw-r--r--target/linux/patches/6.6.30/hppa-cross-compile.patch12
-rw-r--r--target/linux/patches/6.6.30/macsonic.patch11
-rw-r--r--target/linux/patches/6.6.30/riscv-flat.patch19
-rw-r--r--target/linux/patches/b6bfece0d9ddf21e1526fead81340ef02f98f6ad/defconfig.patch18
-rw-r--r--target/linux/patches/d5066442e39dd9bf4ba6431ffb3f99e3d5085d3f/defconfig.patch54
-rw-r--r--target/linux/patches/eb06d31da3e2025a2e578d8de9843e24b68137a6/defconfig.patch36
65 files changed, 532 insertions, 0 deletions
diff --git a/target/linux/patches/4.14.311/alpha-remove-coff.patch b/target/linux/patches/4.14.334/alpha-remove-coff.patch
index 51b7bcc14..51b7bcc14 100644
--- a/target/linux/patches/4.14.311/alpha-remove-coff.patch
+++ b/target/linux/patches/4.14.334/alpha-remove-coff.patch
diff --git a/target/linux/patches/4.14.311/arm-nommu.patch b/target/linux/patches/4.14.334/arm-nommu.patch
index b91aaf712..b91aaf712 100644
--- a/target/linux/patches/4.14.311/arm-nommu.patch
+++ b/target/linux/patches/4.14.334/arm-nommu.patch
diff --git a/target/linux/patches/4.14.311/arm-thumb2.patch b/target/linux/patches/4.14.334/arm-thumb2.patch
index d8d1f4984..d8d1f4984 100644
--- a/target/linux/patches/4.14.311/arm-thumb2.patch
+++ b/target/linux/patches/4.14.334/arm-thumb2.patch
diff --git a/target/linux/patches/4.14.311/h8300.patch b/target/linux/patches/4.14.334/h8300.patch
index 836a414e5..836a414e5 100644
--- a/target/linux/patches/4.14.311/h8300.patch
+++ b/target/linux/patches/4.14.334/h8300.patch
diff --git a/target/linux/patches/4.14.311/initramfs-nosizelimit.patch b/target/linux/patches/4.14.334/initramfs-nosizelimit.patch
index 0e524c1d9..0e524c1d9 100644
--- a/target/linux/patches/4.14.311/initramfs-nosizelimit.patch
+++ b/target/linux/patches/4.14.334/initramfs-nosizelimit.patch
diff --git a/target/linux/patches/4.14.311/microblaze-sigaltstack.patch b/target/linux/patches/4.14.334/microblaze-sigaltstack.patch
index 80413890a..80413890a 100644
--- a/target/linux/patches/4.14.311/microblaze-sigaltstack.patch
+++ b/target/linux/patches/4.14.334/microblaze-sigaltstack.patch
diff --git a/target/linux/patches/4.14.311/or1k-more-ram.patch b/target/linux/patches/4.14.334/or1k-more-ram.patch
index de848c838..de848c838 100644
--- a/target/linux/patches/4.14.311/or1k-more-ram.patch
+++ b/target/linux/patches/4.14.334/or1k-more-ram.patch
diff --git a/target/linux/patches/4.14.311/startup.patch b/target/linux/patches/4.14.334/startup.patch
index f52660a95..f52660a95 100644
--- a/target/linux/patches/4.14.311/startup.patch
+++ b/target/linux/patches/4.14.334/startup.patch
diff --git a/target/linux/patches/4.14.311/vdso2.patch b/target/linux/patches/4.14.334/vdso2.patch
index b6c32f31b..b6c32f31b 100644
--- a/target/linux/patches/4.14.311/vdso2.patch
+++ b/target/linux/patches/4.14.334/vdso2.patch
diff --git a/target/linux/patches/4.19.279/arc.patch b/target/linux/patches/4.19.313/arc.patch
index 20810ce64..20810ce64 100644
--- a/target/linux/patches/4.19.279/arc.patch
+++ b/target/linux/patches/4.19.313/arc.patch
diff --git a/target/linux/patches/4.19.279/arm-nommu.patch b/target/linux/patches/4.19.313/arm-nommu.patch
index d23d3f4eb..d23d3f4eb 100644
--- a/target/linux/patches/4.19.279/arm-nommu.patch
+++ b/target/linux/patches/4.19.313/arm-nommu.patch
diff --git a/target/linux/patches/4.19.279/darwin-dtc.patch b/target/linux/patches/4.19.313/darwin-dtc.patch
index 0cdc23ab4..0cdc23ab4 100644
--- a/target/linux/patches/4.19.279/darwin-dtc.patch
+++ b/target/linux/patches/4.19.313/darwin-dtc.patch
diff --git a/target/linux/patches/4.19.279/darwin-file2alias.patch b/target/linux/patches/4.19.313/darwin-file2alias.patch
index fdbc598a8..fdbc598a8 100644
--- a/target/linux/patches/4.19.279/darwin-file2alias.patch
+++ b/target/linux/patches/4.19.313/darwin-file2alias.patch
diff --git a/target/linux/patches/4.19.279/fec-coldfire.patch b/target/linux/patches/4.19.313/fec-coldfire.patch
index 09d8ad047..09d8ad047 100644
--- a/target/linux/patches/4.19.279/fec-coldfire.patch
+++ b/target/linux/patches/4.19.313/fec-coldfire.patch
diff --git a/target/linux/patches/4.19.279/or1k-more-ram.patch b/target/linux/patches/4.19.313/or1k-more-ram.patch
index de848c838..de848c838 100644
--- a/target/linux/patches/4.19.279/or1k-more-ram.patch
+++ b/target/linux/patches/4.19.313/or1k-more-ram.patch
diff --git a/target/linux/patches/4.19.279/relocs.patch b/target/linux/patches/4.19.313/relocs.patch
index 5bcd974c7..5bcd974c7 100644
--- a/target/linux/patches/4.19.279/relocs.patch
+++ b/target/linux/patches/4.19.313/relocs.patch
diff --git a/target/linux/patches/4.19.279/startup.patch b/target/linux/patches/4.19.313/startup.patch
index 4f42e84a7..4f42e84a7 100644
--- a/target/linux/patches/4.19.279/startup.patch
+++ b/target/linux/patches/4.19.313/startup.patch
diff --git a/target/linux/patches/4.19.279/vdso2.patch b/target/linux/patches/4.19.313/vdso2.patch
index 3d9d47ede..3d9d47ede 100644
--- a/target/linux/patches/4.19.279/vdso2.patch
+++ b/target/linux/patches/4.19.313/vdso2.patch
diff --git a/target/linux/patches/5.10.176/arc.patch b/target/linux/patches/5.10.216/arc.patch
index 20810ce64..20810ce64 100644
--- a/target/linux/patches/5.10.176/arc.patch
+++ b/target/linux/patches/5.10.216/arc.patch
diff --git a/target/linux/patches/5.10.176/darwin-dtc.patch b/target/linux/patches/5.10.216/darwin-dtc.patch
index 0cdc23ab4..0cdc23ab4 100644
--- a/target/linux/patches/5.10.176/darwin-dtc.patch
+++ b/target/linux/patches/5.10.216/darwin-dtc.patch
diff --git a/target/linux/patches/5.10.176/darwin-file2alias.patch b/target/linux/patches/5.10.216/darwin-file2alias.patch
index fdbc598a8..fdbc598a8 100644
--- a/target/linux/patches/5.10.176/darwin-file2alias.patch
+++ b/target/linux/patches/5.10.216/darwin-file2alias.patch
diff --git a/target/linux/patches/5.10.176/dtc-noyaml.patch b/target/linux/patches/5.10.216/dtc-noyaml.patch
index 759bb01f7..759bb01f7 100644
--- a/target/linux/patches/5.10.176/dtc-noyaml.patch
+++ b/target/linux/patches/5.10.216/dtc-noyaml.patch
diff --git a/target/linux/patches/5.10.176/nds32-ag101p.patch b/target/linux/patches/5.10.216/nds32-ag101p.patch
index a8beea478..a8beea478 100644
--- a/target/linux/patches/5.10.176/nds32-ag101p.patch
+++ b/target/linux/patches/5.10.216/nds32-ag101p.patch
diff --git a/target/linux/patches/5.10.176/or1k-more-ram.patch b/target/linux/patches/5.10.216/or1k-more-ram.patch
index de848c838..de848c838 100644
--- a/target/linux/patches/5.10.176/or1k-more-ram.patch
+++ b/target/linux/patches/5.10.216/or1k-more-ram.patch
diff --git a/target/linux/patches/5.10.176/relocs.patch b/target/linux/patches/5.10.216/relocs.patch
index 5bcd974c7..5bcd974c7 100644
--- a/target/linux/patches/5.10.176/relocs.patch
+++ b/target/linux/patches/5.10.216/relocs.patch
diff --git a/target/linux/patches/5.10.176/startup.patch b/target/linux/patches/5.10.216/startup.patch
index eef481021..eef481021 100644
--- a/target/linux/patches/5.10.176/startup.patch
+++ b/target/linux/patches/5.10.216/startup.patch
diff --git a/target/linux/patches/5.15.105/darwin-dtc.patch b/target/linux/patches/5.15.158/darwin-dtc.patch
index 0cdc23ab4..0cdc23ab4 100644
--- a/target/linux/patches/5.15.105/darwin-dtc.patch
+++ b/target/linux/patches/5.15.158/darwin-dtc.patch
diff --git a/target/linux/patches/5.15.105/darwin-file2alias.patch b/target/linux/patches/5.15.158/darwin-file2alias.patch
index fdbc598a8..fdbc598a8 100644
--- a/target/linux/patches/5.15.105/darwin-file2alias.patch
+++ b/target/linux/patches/5.15.158/darwin-file2alias.patch
diff --git a/target/linux/patches/5.15.105/dtc-noyaml.patch b/target/linux/patches/5.15.158/dtc-noyaml.patch
index 759bb01f7..759bb01f7 100644
--- a/target/linux/patches/5.15.105/dtc-noyaml.patch
+++ b/target/linux/patches/5.15.158/dtc-noyaml.patch
diff --git a/target/linux/patches/5.15.105/enable-ethernet-bpi-m2-plus.patch b/target/linux/patches/5.15.158/enable-ethernet-bpi-m2-plus.patch
index 7e9abd9ce..7e9abd9ce 100644
--- a/target/linux/patches/5.15.105/enable-ethernet-bpi-m2-plus.patch
+++ b/target/linux/patches/5.15.158/enable-ethernet-bpi-m2-plus.patch
diff --git a/target/linux/patches/5.15.105/nds32-ag101p.patch b/target/linux/patches/5.15.158/nds32-ag101p.patch
index a8beea478..a8beea478 100644
--- a/target/linux/patches/5.15.105/nds32-ag101p.patch
+++ b/target/linux/patches/5.15.158/nds32-ag101p.patch
diff --git a/target/linux/patches/5.15.105/or1k-more-ram.patch b/target/linux/patches/5.15.158/or1k-more-ram.patch
index de848c838..de848c838 100644
--- a/target/linux/patches/5.15.105/or1k-more-ram.patch
+++ b/target/linux/patches/5.15.158/or1k-more-ram.patch
diff --git a/target/linux/patches/5.15.105/relocs.patch b/target/linux/patches/5.15.158/relocs.patch
index 5bcd974c7..5bcd974c7 100644
--- a/target/linux/patches/5.15.105/relocs.patch
+++ b/target/linux/patches/5.15.158/relocs.patch
diff --git a/target/linux/patches/5.15.105/rockchip-115200.patch b/target/linux/patches/5.15.158/rockchip-115200.patch
index ad8a2d7a7..ad8a2d7a7 100644
--- a/target/linux/patches/5.15.105/rockchip-115200.patch
+++ b/target/linux/patches/5.15.158/rockchip-115200.patch
diff --git a/target/linux/patches/5.15.105/startup.patch b/target/linux/patches/5.15.158/startup.patch
index eef481021..eef481021 100644
--- a/target/linux/patches/5.15.105/startup.patch
+++ b/target/linux/patches/5.15.158/startup.patch
diff --git a/target/linux/patches/5.4.239/arc.patch b/target/linux/patches/5.4.275/arc.patch
index 20810ce64..20810ce64 100644
--- a/target/linux/patches/5.4.239/arc.patch
+++ b/target/linux/patches/5.4.275/arc.patch
diff --git a/target/linux/patches/5.4.239/arm-nommu.patch b/target/linux/patches/5.4.275/arm-nommu.patch
index fdcec3f09..fdcec3f09 100644
--- a/target/linux/patches/5.4.239/arm-nommu.patch
+++ b/target/linux/patches/5.4.275/arm-nommu.patch
diff --git a/target/linux/patches/5.4.239/darwin-dtc.patch b/target/linux/patches/5.4.275/darwin-dtc.patch
index 0cdc23ab4..0cdc23ab4 100644
--- a/target/linux/patches/5.4.239/darwin-dtc.patch
+++ b/target/linux/patches/5.4.275/darwin-dtc.patch
diff --git a/target/linux/patches/5.4.239/darwin-file2alias.patch b/target/linux/patches/5.4.275/darwin-file2alias.patch
index fdbc598a8..fdbc598a8 100644
--- a/target/linux/patches/5.4.239/darwin-file2alias.patch
+++ b/target/linux/patches/5.4.275/darwin-file2alias.patch
diff --git a/target/linux/patches/5.4.239/dtc-noyaml.patch b/target/linux/patches/5.4.275/dtc-noyaml.patch
index 759bb01f7..759bb01f7 100644
--- a/target/linux/patches/5.4.239/dtc-noyaml.patch
+++ b/target/linux/patches/5.4.275/dtc-noyaml.patch
diff --git a/target/linux/patches/5.4.239/macsonic.patch b/target/linux/patches/5.4.275/macsonic.patch
index 75a6fcad2..75a6fcad2 100644
--- a/target/linux/patches/5.4.239/macsonic.patch
+++ b/target/linux/patches/5.4.275/macsonic.patch
diff --git a/target/linux/patches/5.4.239/or1k-more-ram.patch b/target/linux/patches/5.4.275/or1k-more-ram.patch
index 540dc43b5..540dc43b5 100644
--- a/target/linux/patches/5.4.239/or1k-more-ram.patch
+++ b/target/linux/patches/5.4.275/or1k-more-ram.patch
diff --git a/target/linux/patches/5.4.239/relocs.patch b/target/linux/patches/5.4.275/relocs.patch
index 5bcd974c7..5bcd974c7 100644
--- a/target/linux/patches/5.4.239/relocs.patch
+++ b/target/linux/patches/5.4.275/relocs.patch
diff --git a/target/linux/patches/5.4.239/sh4.patch b/target/linux/patches/5.4.275/sh4.patch
index 8ae79d49d..8ae79d49d 100644
--- a/target/linux/patches/5.4.239/sh4.patch
+++ b/target/linux/patches/5.4.275/sh4.patch
diff --git a/target/linux/patches/5.4.239/startup.patch b/target/linux/patches/5.4.275/startup.patch
index 081aa103a..081aa103a 100644
--- a/target/linux/patches/5.4.239/startup.patch
+++ b/target/linux/patches/5.4.275/startup.patch
diff --git a/target/linux/patches/6.1.90/armnommu-fix-thread-registers.patch b/target/linux/patches/6.1.90/armnommu-fix-thread-registers.patch
new file mode 100644
index 000000000..8ab2196dc
--- /dev/null
+++ b/target/linux/patches/6.1.90/armnommu-fix-thread-registers.patch
@@ -0,0 +1,57 @@
+From 1410ebe685f13c1699a16bf147ae1332e7fd1983 Mon Sep 17 00:00:00 2001
+From: Greg Ungerer <gerg@kernel.org>
+Date: Thu, 20 Apr 2023 09:52:08 +1000
+Subject: [PATCH] ARM: start_thread: restore registers on ELF load for noMMU
+
+The binfmt_elf-fdpic loader is capable of loading constant displacement
+ELF format binaries (like those compiled -pie) on noMMU systems as well
+as elf-fdpic format binaries. The traditional ELF loader cannot be
+enabled on noMMU systems.
+
+Commit 5e588114329c ("ARM: start_thread(): don't always clear all regs")
+fixed the start_thread() code so that it maintains the required
+elf-fdpic registers through to the new process, but it only does that if
+current has its personality FDPIC_FUNCPTRS bit set. That is true for
+elf-fdpic format binaries but will not be true for non-fdpic ELF
+binaries.
+
+Modify the test of the FDPIC_FUNCPTRS personality bit to also carry out
+the register restore if this is a noMMU system. This is not perfect,
+since it will also preserve these registers on noMMU systems for all
+binary format types (could be flat format for example). That won't break
+anything, but it is potentially leaking some information into the new
+process. But for the noMMU case we need those start time registers set to
+be able to finalize the runtime loading of the -pie style ELF binary
+(carry out its segment and dynamic relocation processing).
+
+Unfortunately the FDPIC_FUNCPTRS flag cannot just be enabled for all
+elf-fdpic loaded binaries. That personality bit is used for other things
+like the controlling the changed behavior for signal handling.
+
+There is no change in behavior for normal ELF loading on MMU systems.
+A -pie style ELF binary built for noMMU systems can be load and run using
+the usual ELF loader on an MMU system (elf-fdpic loader not required in
+this case).
+
+Signed-off-by: Greg Ungerer <gerg@kernel.org>
+---
+ arch/arm/include/asm/processor.h | 3 ++-
+ 1 file changed, 2 insertions(+), 1 deletion(-)
+
+diff --git a/arch/arm/include/asm/processor.h b/arch/arm/include/asm/processor.h
+index 326864f79d18..5074cc3ae4e1 100644
+--- a/arch/arm/include/asm/processor.h
++++ b/arch/arm/include/asm/processor.h
+@@ -60,7 +60,8 @@ static inline void arch_thread_struct_whitelist(unsigned long *offset,
+ } \
+ memset(regs->uregs, 0, sizeof(regs->uregs)); \
+ if (IS_ENABLED(CONFIG_BINFMT_ELF_FDPIC) && \
+- current->personality & FDPIC_FUNCPTRS) { \
++ ((! IS_ENABLED(CONFIG_MMU)) || \
++ current->personality & FDPIC_FUNCPTRS)) { \
+ regs->ARM_r7 = r7; \
+ regs->ARM_r8 = r8; \
+ regs->ARM_r9 = r9; \
+--
+2.25.1
+
diff --git a/target/linux/patches/6.1.90/armnommu-versatile.patch b/target/linux/patches/6.1.90/armnommu-versatile.patch
new file mode 100644
index 000000000..f8f10f50b
--- /dev/null
+++ b/target/linux/patches/6.1.90/armnommu-versatile.patch
@@ -0,0 +1,101 @@
+From 77c038d93769c92ef54cdbb50388564d1b37987b Mon Sep 17 00:00:00 2001
+From: Greg Ungerer <gerg@kernel.org>
+Date: Fri, 23 Sep 2016 13:37:34 +1000
+Subject: [PATCH] ARM: versatile: support configuring versatile machine for no-MMU
+
+Allow the arm versatile machine to be configured for no-MMU operation.
+
+Older kernels had the ability to build the versatile machine with the MMU
+disabled (!CONFIG_MMU). Recent changes to convert the versatile machine
+to device tree lost this ability. (Although older kernels could be built
+they did not run due to a bug in the IO_ADDRESS() mapping on this machine).
+
+The motivation for this is that the versatile machine is well supported
+in qemu. And this provides an excellent platform for development and
+testing no-MMU support on ARM in general.
+
+This patch adds a versatile platform selection in the upper level arm
+system type menu - where it appeared in older kernel versions - when
+configuring for the no-MMU case. There is no visible change to the way
+versatile is selected for the MMU enabled case.
+
+Signed-off-by: Greg Ungerer <gerg@kernel.org>
+---
+ arch/arm/Kconfig | 13 ++++++++++++-
+ arch/arm/include/asm/mach/map.h | 1 +
+ arch/arm/mach-versatile/Kconfig | 2 +-
+ arch/arm/mach-versatile/versatile.c | 4 ++++
+ 4 files changed, 18 insertions(+), 2 deletions(-)
+
+diff --git a/arch/arm/mach-versatile/versatile.c b/arch/arm/mach-versatile/versatile.c
+index 02ba68abe533..835b51bc597b 100644
+--- a/arch/arm/mach-versatile/versatile.c
++++ b/arch/arm/mach-versatile/versatile.c
+@@ -22,7 +22,11 @@
+ #include <asm/mach/map.h>
+
+ /* macro to get at MMIO space when running virtually */
++#ifdef CONFIG_MMU
+ #define IO_ADDRESS(x) (((x) & 0x0fffffff) + (((x) >> 4) & 0x0f000000) + 0xf0000000)
++#else
++#define IO_ADDRESS(x) (x)
++#endif
+ #define __io_address(n) ((void __iomem __force *)IO_ADDRESS(n))
+
+ /*
+diff --git a/arch/arm/include/asm/mach/map.h b/arch/arm/include/asm/mach/map.h
+index 2b8970d8e5a2..41844ab6aec5 100644
+--- a/arch/arm/include/asm/mach/map.h
++++ b/arch/arm/include/asm/mach/map.h
+@@ -60,6 +60,7 @@ extern int ioremap_page(unsigned long virt, unsigned long phys,
+ #else
+ #define iotable_init(map,num) do { } while (0)
+ #define vm_reserve_area_early(a,s,c) do { } while (0)
++#define debug_ll_io_init() do { } while (0)
+ #endif
+
+ #endif
+diff --git a/arch/arm/Kconfig b/arch/arm/Kconfig
+index e24a9820e12f..342e1efa583a 100644
+--- a/arch/arm/Kconfig
++++ b/arch/arm/Kconfig
+@@ -307,12 +307,23 @@ config MMU
+ Select if you want MMU-based virtualised addressing space
+ support by paged memory management. If unsure, say 'Y'.
+
++choice
++ prompt "ARM system type"
++ depends on !MMU
++ default ARM_SINGLE_ARMV7M
++
+ config ARM_SINGLE_ARMV7M
+- def_bool !MMU
++ bool "ARMv7-M based platforms (Cortex-M0/M3/M4)"
+ select ARM_NVIC
+ select CPU_V7M
+ select NO_IOPORT_MAP
+
++config ARM_SINGLE_ARM926
++ bool "ARM926 based platforms"
++ select CPU_ARM926T
++
++endchoice
++
+ config ARCH_MMAP_RND_BITS_MIN
+ default 8
+
+diff --git a/arch/arm/mach-versatile/Kconfig b/arch/arm/mach-versatile/Kconfig
+index b1519b4dc03a..2f1bf95daeb0 100644
+--- a/arch/arm/mach-versatile/Kconfig
++++ b/arch/arm/mach-versatile/Kconfig
+@@ -1,7 +1,7 @@
+ # SPDX-License-Identifier: GPL-2.0
+ config ARCH_VERSATILE
+ bool "ARM Ltd. Versatile family"
+- depends on ARCH_MULTI_V5
++ depends on ARCH_MULTI_V5 || ARM_SINGLE_ARM926
+ depends on CPU_LITTLE_ENDIAN
+ select ARM_AMBA
+ select ARM_TIMER_SP804
+--
+2.25.1
diff --git a/target/linux/patches/6.1.22/board-rockpi4-0003-arm64-dts-pcie.patch b/target/linux/patches/6.1.90/board-rockpi4-0003-arm64-dts-pcie.patch
index 1777e7a86..1777e7a86 100644
--- a/target/linux/patches/6.1.22/board-rockpi4-0003-arm64-dts-pcie.patch
+++ b/target/linux/patches/6.1.90/board-rockpi4-0003-arm64-dts-pcie.patch
diff --git a/target/linux/patches/6.1.22/enable-ethernet-bpi-m2-plus.patch b/target/linux/patches/6.1.90/enable-ethernet-bpi-m2-plus.patch
index 7e9abd9ce..7e9abd9ce 100644
--- a/target/linux/patches/6.1.22/enable-ethernet-bpi-m2-plus.patch
+++ b/target/linux/patches/6.1.90/enable-ethernet-bpi-m2-plus.patch
diff --git a/target/linux/patches/6.1.90/hppa-cross-compile.patch b/target/linux/patches/6.1.90/hppa-cross-compile.patch
new file mode 100644
index 000000000..5400e87a0
--- /dev/null
+++ b/target/linux/patches/6.1.90/hppa-cross-compile.patch
@@ -0,0 +1,12 @@
+diff -Nur linux-6.1.41.orig/arch/parisc/Makefile linux-6.1.41/arch/parisc/Makefile
+--- linux-6.1.41.orig/arch/parisc/Makefile 2023-07-24 18:55:35.000000000 +0200
++++ linux-6.1.41/arch/parisc/Makefile 2023-07-25 17:32:20.338363915 +0200
+@@ -41,7 +41,7 @@
+
+ # Set default 32 bits cross compilers for vdso
+ CC_ARCHES_32 = hppa hppa2.0 hppa1.1
+-CC_SUFFIXES = linux linux-gnu unknown-linux-gnu suse-linux
++CC_SUFFIXES = linux linux-gnu unknown-linux-gnu suse-linux openadk-linux-uclibc
+ CROSS32_COMPILE := $(call cc-cross-prefix, \
+ $(foreach a,$(CC_ARCHES_32), \
+ $(foreach s,$(CC_SUFFIXES),$(a)-$(s)-)))
diff --git a/target/linux/patches/6.1.90/macsonic.patch b/target/linux/patches/6.1.90/macsonic.patch
new file mode 100644
index 000000000..177397221
--- /dev/null
+++ b/target/linux/patches/6.1.90/macsonic.patch
@@ -0,0 +1,11 @@
+diff -Nur linux-6.1.41.orig/drivers/net/ethernet/natsemi/Kconfig linux-6.1.41/drivers/net/ethernet/natsemi/Kconfig
+--- linux-6.1.41.orig/drivers/net/ethernet/natsemi/Kconfig 2023-07-24 18:55:35.000000000 +0200
++++ linux-6.1.41/drivers/net/ethernet/natsemi/Kconfig 2023-07-26 17:06:27.179154363 +0200
+@@ -19,6 +19,7 @@
+ config MACSONIC
+ tristate "Macintosh SONIC based ethernet (onboard, NuBus, LC, CS)"
+ depends on MAC
++ select BITREVERSE
+ help
+ Support for NatSemi SONIC based Ethernet devices. This includes
+ the onboard Ethernet in many Quadras as well as some LC-PDS,
diff --git a/target/linux/patches/6.1.90/nios2.patch b/target/linux/patches/6.1.90/nios2.patch
new file mode 100644
index 000000000..43631971e
--- /dev/null
+++ b/target/linux/patches/6.1.90/nios2.patch
@@ -0,0 +1,12 @@
+diff -Nur linux-6.1.41.orig/arch/nios2/configs/10m50_defconfig linux-6.1.41/arch/nios2/configs/10m50_defconfig
+--- linux-6.1.41.orig/arch/nios2/configs/10m50_defconfig 2023-07-24 18:55:35.000000000 +0200
++++ linux-6.1.41/arch/nios2/configs/10m50_defconfig 2023-07-29 13:12:27.796785539 +0200
+@@ -20,6 +20,8 @@
+ CONFIG_NIOS2_DCACHE_SIZE=0x8000
+ CONFIG_NIOS2_ICACHE_SIZE=0x8000
+ # CONFIG_NIOS2_CMDLINE_IGNORE_DTB is not set
++CONFIG_NIOS2_DTB_SOURCE_BOOL=y
++CONFIG_NIOS2_DTB_SOURCE="10m50_devboard.dts"
+ CONFIG_NET=y
+ CONFIG_PACKET=y
+ CONFIG_UNIX=y
diff --git a/target/linux/patches/6.1.90/or1k-more-ram.patch b/target/linux/patches/6.1.90/or1k-more-ram.patch
new file mode 100644
index 000000000..6397f8445
--- /dev/null
+++ b/target/linux/patches/6.1.90/or1k-more-ram.patch
@@ -0,0 +1,12 @@
+diff -Nur linux-6.1.82.orig/arch/openrisc/boot/dts/or1ksim.dts linux-6.1.82/arch/openrisc/boot/dts/or1ksim.dts
+--- linux-6.1.82.orig/arch/openrisc/boot/dts/or1ksim.dts 2024-03-15 19:27:50.000000000 +0100
++++ linux-6.1.82/arch/openrisc/boot/dts/or1ksim.dts 2024-04-14 16:37:35.139984380 +0200
+@@ -17,7 +17,7 @@
+
+ memory@0 {
+ device_type = "memory";
+- reg = <0x00000000 0x02000000>;
++ reg = <0x00000000 0x08000000>;
+ };
+
+ cpus {
diff --git a/target/linux/patches/6.1.22/riscv32.patch b/target/linux/patches/6.1.90/riscv32.patch
index 648b0de4d..648b0de4d 100644
--- a/target/linux/patches/6.1.22/riscv32.patch
+++ b/target/linux/patches/6.1.90/riscv32.patch
diff --git a/target/linux/patches/6.1.90/riscv64-flat.patch b/target/linux/patches/6.1.90/riscv64-flat.patch
new file mode 100644
index 000000000..ee70ea915
--- /dev/null
+++ b/target/linux/patches/6.1.90/riscv64-flat.patch
@@ -0,0 +1,19 @@
+diff -Nur linux-6.1.79.orig/fs/binfmt_flat.c linux-6.1.79/fs/binfmt_flat.c
+--- linux-6.1.79.orig/fs/binfmt_flat.c 2024-02-23 09:12:53.000000000 +0100
++++ linux-6.1.79/fs/binfmt_flat.c 2024-03-23 22:35:54.496759006 +0100
+@@ -879,6 +879,7 @@
+ if (res < 0)
+ return res;
+
++#ifndef CONFIG_BINFMT_FLAT_NO_DATA_START_OFFSET
+ /* Update data segment pointers for all libraries */
+ for (i = 0; i < MAX_SHARED_LIBS; i++) {
+ if (!libinfo.lib_list[i].loaded)
+@@ -893,6 +894,7 @@
+ return -EFAULT;
+ }
+ }
++#endif
+
+ set_binfmt(&flat_format);
+
diff --git a/target/linux/patches/6.1.22/rockchip-115200.patch b/target/linux/patches/6.1.90/rockchip-115200.patch
index ad8a2d7a7..ad8a2d7a7 100644
--- a/target/linux/patches/6.1.22/rockchip-115200.patch
+++ b/target/linux/patches/6.1.90/rockchip-115200.patch
diff --git a/target/linux/patches/6.1.22/rockchip-pcie-timeout.patch b/target/linux/patches/6.1.90/rockchip-pcie-timeout.patch
index 2ef7df2da..2ef7df2da 100644
--- a/target/linux/patches/6.1.22/rockchip-pcie-timeout.patch
+++ b/target/linux/patches/6.1.90/rockchip-pcie-timeout.patch
diff --git a/target/linux/patches/6.6.30/armnommu-fix-thread-registers.patch b/target/linux/patches/6.6.30/armnommu-fix-thread-registers.patch
new file mode 100644
index 000000000..8ab2196dc
--- /dev/null
+++ b/target/linux/patches/6.6.30/armnommu-fix-thread-registers.patch
@@ -0,0 +1,57 @@
+From 1410ebe685f13c1699a16bf147ae1332e7fd1983 Mon Sep 17 00:00:00 2001
+From: Greg Ungerer <gerg@kernel.org>
+Date: Thu, 20 Apr 2023 09:52:08 +1000
+Subject: [PATCH] ARM: start_thread: restore registers on ELF load for noMMU
+
+The binfmt_elf-fdpic loader is capable of loading constant displacement
+ELF format binaries (like those compiled -pie) on noMMU systems as well
+as elf-fdpic format binaries. The traditional ELF loader cannot be
+enabled on noMMU systems.
+
+Commit 5e588114329c ("ARM: start_thread(): don't always clear all regs")
+fixed the start_thread() code so that it maintains the required
+elf-fdpic registers through to the new process, but it only does that if
+current has its personality FDPIC_FUNCPTRS bit set. That is true for
+elf-fdpic format binaries but will not be true for non-fdpic ELF
+binaries.
+
+Modify the test of the FDPIC_FUNCPTRS personality bit to also carry out
+the register restore if this is a noMMU system. This is not perfect,
+since it will also preserve these registers on noMMU systems for all
+binary format types (could be flat format for example). That won't break
+anything, but it is potentially leaking some information into the new
+process. But for the noMMU case we need those start time registers set to
+be able to finalize the runtime loading of the -pie style ELF binary
+(carry out its segment and dynamic relocation processing).
+
+Unfortunately the FDPIC_FUNCPTRS flag cannot just be enabled for all
+elf-fdpic loaded binaries. That personality bit is used for other things
+like the controlling the changed behavior for signal handling.
+
+There is no change in behavior for normal ELF loading on MMU systems.
+A -pie style ELF binary built for noMMU systems can be load and run using
+the usual ELF loader on an MMU system (elf-fdpic loader not required in
+this case).
+
+Signed-off-by: Greg Ungerer <gerg@kernel.org>
+---
+ arch/arm/include/asm/processor.h | 3 ++-
+ 1 file changed, 2 insertions(+), 1 deletion(-)
+
+diff --git a/arch/arm/include/asm/processor.h b/arch/arm/include/asm/processor.h
+index 326864f79d18..5074cc3ae4e1 100644
+--- a/arch/arm/include/asm/processor.h
++++ b/arch/arm/include/asm/processor.h
+@@ -60,7 +60,8 @@ static inline void arch_thread_struct_whitelist(unsigned long *offset,
+ } \
+ memset(regs->uregs, 0, sizeof(regs->uregs)); \
+ if (IS_ENABLED(CONFIG_BINFMT_ELF_FDPIC) && \
+- current->personality & FDPIC_FUNCPTRS) { \
++ ((! IS_ENABLED(CONFIG_MMU)) || \
++ current->personality & FDPIC_FUNCPTRS)) { \
+ regs->ARM_r7 = r7; \
+ regs->ARM_r8 = r8; \
+ regs->ARM_r9 = r9; \
+--
+2.25.1
+
diff --git a/target/linux/patches/6.6.30/armnommu-versatile.patch b/target/linux/patches/6.6.30/armnommu-versatile.patch
new file mode 100644
index 000000000..f8f10f50b
--- /dev/null
+++ b/target/linux/patches/6.6.30/armnommu-versatile.patch
@@ -0,0 +1,101 @@
+From 77c038d93769c92ef54cdbb50388564d1b37987b Mon Sep 17 00:00:00 2001
+From: Greg Ungerer <gerg@kernel.org>
+Date: Fri, 23 Sep 2016 13:37:34 +1000
+Subject: [PATCH] ARM: versatile: support configuring versatile machine for no-MMU
+
+Allow the arm versatile machine to be configured for no-MMU operation.
+
+Older kernels had the ability to build the versatile machine with the MMU
+disabled (!CONFIG_MMU). Recent changes to convert the versatile machine
+to device tree lost this ability. (Although older kernels could be built
+they did not run due to a bug in the IO_ADDRESS() mapping on this machine).
+
+The motivation for this is that the versatile machine is well supported
+in qemu. And this provides an excellent platform for development and
+testing no-MMU support on ARM in general.
+
+This patch adds a versatile platform selection in the upper level arm
+system type menu - where it appeared in older kernel versions - when
+configuring for the no-MMU case. There is no visible change to the way
+versatile is selected for the MMU enabled case.
+
+Signed-off-by: Greg Ungerer <gerg@kernel.org>
+---
+ arch/arm/Kconfig | 13 ++++++++++++-
+ arch/arm/include/asm/mach/map.h | 1 +
+ arch/arm/mach-versatile/Kconfig | 2 +-
+ arch/arm/mach-versatile/versatile.c | 4 ++++
+ 4 files changed, 18 insertions(+), 2 deletions(-)
+
+diff --git a/arch/arm/mach-versatile/versatile.c b/arch/arm/mach-versatile/versatile.c
+index 02ba68abe533..835b51bc597b 100644
+--- a/arch/arm/mach-versatile/versatile.c
++++ b/arch/arm/mach-versatile/versatile.c
+@@ -22,7 +22,11 @@
+ #include <asm/mach/map.h>
+
+ /* macro to get at MMIO space when running virtually */
++#ifdef CONFIG_MMU
+ #define IO_ADDRESS(x) (((x) & 0x0fffffff) + (((x) >> 4) & 0x0f000000) + 0xf0000000)
++#else
++#define IO_ADDRESS(x) (x)
++#endif
+ #define __io_address(n) ((void __iomem __force *)IO_ADDRESS(n))
+
+ /*
+diff --git a/arch/arm/include/asm/mach/map.h b/arch/arm/include/asm/mach/map.h
+index 2b8970d8e5a2..41844ab6aec5 100644
+--- a/arch/arm/include/asm/mach/map.h
++++ b/arch/arm/include/asm/mach/map.h
+@@ -60,6 +60,7 @@ extern int ioremap_page(unsigned long virt, unsigned long phys,
+ #else
+ #define iotable_init(map,num) do { } while (0)
+ #define vm_reserve_area_early(a,s,c) do { } while (0)
++#define debug_ll_io_init() do { } while (0)
+ #endif
+
+ #endif
+diff --git a/arch/arm/Kconfig b/arch/arm/Kconfig
+index e24a9820e12f..342e1efa583a 100644
+--- a/arch/arm/Kconfig
++++ b/arch/arm/Kconfig
+@@ -307,12 +307,23 @@ config MMU
+ Select if you want MMU-based virtualised addressing space
+ support by paged memory management. If unsure, say 'Y'.
+
++choice
++ prompt "ARM system type"
++ depends on !MMU
++ default ARM_SINGLE_ARMV7M
++
+ config ARM_SINGLE_ARMV7M
+- def_bool !MMU
++ bool "ARMv7-M based platforms (Cortex-M0/M3/M4)"
+ select ARM_NVIC
+ select CPU_V7M
+ select NO_IOPORT_MAP
+
++config ARM_SINGLE_ARM926
++ bool "ARM926 based platforms"
++ select CPU_ARM926T
++
++endchoice
++
+ config ARCH_MMAP_RND_BITS_MIN
+ default 8
+
+diff --git a/arch/arm/mach-versatile/Kconfig b/arch/arm/mach-versatile/Kconfig
+index b1519b4dc03a..2f1bf95daeb0 100644
+--- a/arch/arm/mach-versatile/Kconfig
++++ b/arch/arm/mach-versatile/Kconfig
+@@ -1,7 +1,7 @@
+ # SPDX-License-Identifier: GPL-2.0
+ config ARCH_VERSATILE
+ bool "ARM Ltd. Versatile family"
+- depends on ARCH_MULTI_V5
++ depends on ARCH_MULTI_V5 || ARM_SINGLE_ARM926
+ depends on CPU_LITTLE_ENDIAN
+ select ARM_AMBA
+ select ARM_TIMER_SP804
+--
+2.25.1
diff --git a/target/linux/patches/6.6.30/hppa-cross-compile.patch b/target/linux/patches/6.6.30/hppa-cross-compile.patch
new file mode 100644
index 000000000..51c24fff2
--- /dev/null
+++ b/target/linux/patches/6.6.30/hppa-cross-compile.patch
@@ -0,0 +1,12 @@
+diff -Nur linux-6.6.22.orig/arch/parisc/Makefile linux-6.6.22/arch/parisc/Makefile
+--- linux-6.6.22.orig/arch/parisc/Makefile 2024-03-15 19:25:07.000000000 +0100
++++ linux-6.6.22/arch/parisc/Makefile 2024-04-16 03:57:37.515308996 +0200
+@@ -41,7 +41,7 @@
+
+ # Set default 32 bits cross compilers for vdso
+ CC_ARCHES_32 = hppa hppa2.0 hppa1.1
+-CC_SUFFIXES = linux linux-gnu unknown-linux-gnu suse-linux
++CC_SUFFIXES = linux linux-gnu unknown-linux-gnu suse-linux openadk-linux-uclibc
+ CROSS32_COMPILE := $(call cc-cross-prefix, \
+ $(foreach a,$(CC_ARCHES_32), \
+ $(foreach s,$(CC_SUFFIXES),$(a)-$(s)-)))
diff --git a/target/linux/patches/6.6.30/macsonic.patch b/target/linux/patches/6.6.30/macsonic.patch
new file mode 100644
index 000000000..51e76113b
--- /dev/null
+++ b/target/linux/patches/6.6.30/macsonic.patch
@@ -0,0 +1,11 @@
+diff -Nur linux-6.6.22.orig/drivers/net/ethernet/natsemi/Kconfig linux-6.6.22/drivers/net/ethernet/natsemi/Kconfig
+--- linux-6.6.22.orig/drivers/net/ethernet/natsemi/Kconfig 2024-03-15 19:25:07.000000000 +0100
++++ linux-6.6.22/drivers/net/ethernet/natsemi/Kconfig 2024-04-16 10:16:50.352443898 +0200
+@@ -19,6 +19,7 @@
+ config MACSONIC
+ tristate "Macintosh SONIC based ethernet (onboard, NuBus, LC, CS)"
+ depends on MAC
++ select BITREVERSE
+ help
+ Support for NatSemi SONIC based Ethernet devices. This includes
+ the onboard Ethernet in many Quadras as well as some LC-PDS,
diff --git a/target/linux/patches/6.6.30/riscv-flat.patch b/target/linux/patches/6.6.30/riscv-flat.patch
new file mode 100644
index 000000000..6d26c638f
--- /dev/null
+++ b/target/linux/patches/6.6.30/riscv-flat.patch
@@ -0,0 +1,19 @@
+diff -Nur linux-6.6.22.orig/fs/binfmt_flat.c linux-6.6.22/fs/binfmt_flat.c
+--- linux-6.6.22.orig/fs/binfmt_flat.c 2024-03-15 19:25:07.000000000 +0100
++++ linux-6.6.22/fs/binfmt_flat.c 2024-04-17 15:41:29.292461687 +0200
+@@ -879,6 +879,7 @@
+ if (res < 0)
+ return res;
+
++#ifndef CONFIG_BINFMT_FLAT_NO_DATA_START_OFFSET
+ /* Update data segment pointers for all libraries */
+ for (i = 0; i < MAX_SHARED_LIBS; i++) {
+ if (!libinfo.lib_list[i].loaded)
+@@ -893,6 +894,7 @@
+ return -EFAULT;
+ }
+ }
++#endif
+
+ set_binfmt(&flat_format);
+
diff --git a/target/linux/patches/b6bfece0d9ddf21e1526fead81340ef02f98f6ad/defconfig.patch b/target/linux/patches/b6bfece0d9ddf21e1526fead81340ef02f98f6ad/defconfig.patch
new file mode 100644
index 000000000..77025e98c
--- /dev/null
+++ b/target/linux/patches/b6bfece0d9ddf21e1526fead81340ef02f98f6ad/defconfig.patch
@@ -0,0 +1,18 @@
+diff -Nur linux-b6bfece0d9ddf21e1526fead81340ef02f98f6ad.orig/arch/arm/configs/bcm2711_defconfig linux-b6bfece0d9ddf21e1526fead81340ef02f98f6ad/arch/arm/configs/bcm2711_defconfig
+--- linux-b6bfece0d9ddf21e1526fead81340ef02f98f6ad.orig/arch/arm/configs/bcm2711_defconfig 2023-10-18 16:11:33.000000000 +0200
++++ linux-b6bfece0d9ddf21e1526fead81340ef02f98f6ad/arch/arm/configs/bcm2711_defconfig 2023-10-21 10:11:00.896240933 +0200
+@@ -1,5 +1,3 @@
+-CONFIG_LOCALVERSION="-v7l"
+-# CONFIG_LOCALVERSION_AUTO is not set
+ CONFIG_SYSVIPC=y
+ CONFIG_POSIX_MQUEUE=y
+ CONFIG_GENERIC_IRQ_DEBUGFS=y
+@@ -62,7 +60,7 @@
+ CONFIG_MODULE_UNLOAD=y
+ CONFIG_MODVERSIONS=y
+ CONFIG_MODULE_SRCVERSION_ALL=y
+-CONFIG_MODULE_COMPRESS_XZ=y
++CONFIG_MODULE_COMPRESS_NONE=y
+ CONFIG_BLK_DEV_THROTTLING=y
+ CONFIG_PARTITION_ADVANCED=y
+ CONFIG_MAC_PARTITION=y
diff --git a/target/linux/patches/d5066442e39dd9bf4ba6431ffb3f99e3d5085d3f/defconfig.patch b/target/linux/patches/d5066442e39dd9bf4ba6431ffb3f99e3d5085d3f/defconfig.patch
new file mode 100644
index 000000000..581c80b5d
--- /dev/null
+++ b/target/linux/patches/d5066442e39dd9bf4ba6431ffb3f99e3d5085d3f/defconfig.patch
@@ -0,0 +1,54 @@
+diff -Nur linux-d5066442e39dd9bf4ba6431ffb3f99e3d5085d3f.orig/arch/arm/configs/bcm2711_defconfig linux-d5066442e39dd9bf4ba6431ffb3f99e3d5085d3f/arch/arm/configs/bcm2711_defconfig
+--- linux-d5066442e39dd9bf4ba6431ffb3f99e3d5085d3f.orig/arch/arm/configs/bcm2711_defconfig 2024-01-04 18:44:08.000000000 +0100
++++ linux-d5066442e39dd9bf4ba6431ffb3f99e3d5085d3f/arch/arm/configs/bcm2711_defconfig 2024-02-23 03:20:17.274662945 +0100
+@@ -1,4 +1,4 @@
+-CONFIG_LOCALVERSION="-v7l"
++CONFIG_LOCALVERSION=""
+ # CONFIG_LOCALVERSION_AUTO is not set
+ CONFIG_SYSVIPC=y
+ CONFIG_POSIX_MQUEUE=y
+@@ -62,7 +62,7 @@
+ CONFIG_MODULE_UNLOAD=y
+ CONFIG_MODVERSIONS=y
+ CONFIG_MODULE_SRCVERSION_ALL=y
+-CONFIG_MODULE_COMPRESS_XZ=y
++CONFIG_MODULE_COMPRESS_NONE=y
+ CONFIG_BLK_DEV_THROTTLING=y
+ CONFIG_PARTITION_ADVANCED=y
+ CONFIG_MAC_PARTITION=y
+diff -Nur linux-d5066442e39dd9bf4ba6431ffb3f99e3d5085d3f.orig/arch/arm64/configs/bcm2711_defconfig linux-d5066442e39dd9bf4ba6431ffb3f99e3d5085d3f/arch/arm64/configs/bcm2711_defconfig
+--- linux-d5066442e39dd9bf4ba6431ffb3f99e3d5085d3f.orig/arch/arm64/configs/bcm2711_defconfig 2024-01-04 18:44:09.000000000 +0100
++++ linux-d5066442e39dd9bf4ba6431ffb3f99e3d5085d3f/arch/arm64/configs/bcm2711_defconfig 2024-02-23 03:18:12.395539339 +0100
+@@ -1,4 +1,4 @@
+-CONFIG_LOCALVERSION="-v8"
++CONFIG_LOCALVERSION=""
+ # CONFIG_LOCALVERSION_AUTO is not set
+ CONFIG_SYSVIPC=y
+ CONFIG_POSIX_MQUEUE=y
+@@ -69,7 +69,7 @@
+ CONFIG_MODULE_UNLOAD=y
+ CONFIG_MODVERSIONS=y
+ CONFIG_MODULE_SRCVERSION_ALL=y
+-CONFIG_MODULE_COMPRESS_XZ=y
++CONFIG_MODULE_COMPRESS_NONE=y
+ CONFIG_BLK_DEV_THROTTLING=y
+ CONFIG_PARTITION_ADVANCED=y
+ CONFIG_MAC_PARTITION=y
+diff -Nur linux-d5066442e39dd9bf4ba6431ffb3f99e3d5085d3f.orig/arch/arm64/configs/bcm2712_defconfig linux-d5066442e39dd9bf4ba6431ffb3f99e3d5085d3f/arch/arm64/configs/bcm2712_defconfig
+--- linux-d5066442e39dd9bf4ba6431ffb3f99e3d5085d3f.orig/arch/arm64/configs/bcm2712_defconfig 2024-01-04 18:44:09.000000000 +0100
++++ linux-d5066442e39dd9bf4ba6431ffb3f99e3d5085d3f/arch/arm64/configs/bcm2712_defconfig 2024-02-23 03:18:12.395539339 +0100
+@@ -1,4 +1,4 @@
+-CONFIG_LOCALVERSION="-v8-16k"
++CONFIG_LOCALVERSION=""
+ # CONFIG_LOCALVERSION_AUTO is not set
+ CONFIG_SYSVIPC=y
+ CONFIG_POSIX_MQUEUE=y
+@@ -72,7 +72,7 @@
+ CONFIG_MODULE_UNLOAD=y
+ CONFIG_MODVERSIONS=y
+ CONFIG_MODULE_SRCVERSION_ALL=y
+-CONFIG_MODULE_COMPRESS_XZ=y
++CONFIG_MODULE_COMPRESS_NONE=y
+ CONFIG_BLK_DEV_THROTTLING=y
+ CONFIG_PARTITION_ADVANCED=y
+ CONFIG_MAC_PARTITION=y
diff --git a/target/linux/patches/eb06d31da3e2025a2e578d8de9843e24b68137a6/defconfig.patch b/target/linux/patches/eb06d31da3e2025a2e578d8de9843e24b68137a6/defconfig.patch
new file mode 100644
index 000000000..17e1d1811
--- /dev/null
+++ b/target/linux/patches/eb06d31da3e2025a2e578d8de9843e24b68137a6/defconfig.patch
@@ -0,0 +1,36 @@
+diff -Nur linux-d5066442e39dd9bf4ba6431ffb3f99e3d5085d3f.orig/arch/arm64/configs/bcm2711_defconfig linux-d5066442e39dd9bf4ba6431ffb3f99e3d5085d3f/arch/arm64/configs/bcm2711_defconfig
+--- linux-d5066442e39dd9bf4ba6431ffb3f99e3d5085d3f.orig/arch/arm64/configs/bcm2711_defconfig 2024-01-04 18:44:09.000000000 +0100
++++ linux-d5066442e39dd9bf4ba6431ffb3f99e3d5085d3f/arch/arm64/configs/bcm2711_defconfig 2024-01-06 09:20:53.075282937 +0100
+@@ -1,4 +1,4 @@
+-CONFIG_LOCALVERSION="-v8"
++CONFIG_LOCALVERSION=""
+ # CONFIG_LOCALVERSION_AUTO is not set
+ CONFIG_SYSVIPC=y
+ CONFIG_POSIX_MQUEUE=y
+@@ -69,7 +69,7 @@
+ CONFIG_MODULE_UNLOAD=y
+ CONFIG_MODVERSIONS=y
+ CONFIG_MODULE_SRCVERSION_ALL=y
+-CONFIG_MODULE_COMPRESS_XZ=y
++CONFIG_MODULE_COMPRESS_NONE=y
+ CONFIG_BLK_DEV_THROTTLING=y
+ CONFIG_PARTITION_ADVANCED=y
+ CONFIG_MAC_PARTITION=y
+diff -Nur linux-d5066442e39dd9bf4ba6431ffb3f99e3d5085d3f.orig/arch/arm64/configs/bcm2712_defconfig linux-d5066442e39dd9bf4ba6431ffb3f99e3d5085d3f/arch/arm64/configs/bcm2712_defconfig
+--- linux-d5066442e39dd9bf4ba6431ffb3f99e3d5085d3f.orig/arch/arm64/configs/bcm2712_defconfig 2024-01-04 18:44:09.000000000 +0100
++++ linux-d5066442e39dd9bf4ba6431ffb3f99e3d5085d3f/arch/arm64/configs/bcm2712_defconfig 2024-01-06 09:20:34.328388717 +0100
+@@ -1,4 +1,4 @@
+-CONFIG_LOCALVERSION="-v8-16k"
++CONFIG_LOCALVERSION=""
+ # CONFIG_LOCALVERSION_AUTO is not set
+ CONFIG_SYSVIPC=y
+ CONFIG_POSIX_MQUEUE=y
+@@ -72,7 +72,7 @@
+ CONFIG_MODULE_UNLOAD=y
+ CONFIG_MODVERSIONS=y
+ CONFIG_MODULE_SRCVERSION_ALL=y
+-CONFIG_MODULE_COMPRESS_XZ=y
++CONFIG_MODULE_COMPRESS_NONE=y
+ CONFIG_BLK_DEV_THROTTLING=y
+ CONFIG_PARTITION_ADVANCED=y
+ CONFIG_MAC_PARTITION=y