forked from coolsnowwolf/lede
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[bot] AutoMerging: merge all upstream's changes:
* https://github.com/coolsnowwolf/lede: elfutils: fix build with GCC 12/13 x86: 6.6: Activate CONFIG_FB_DEVICE kernel: Add CONFIG_FB_DEVICE to kmod-fb ramips: add support for JDCloud RE-CP-02 ramips: gl-mt1300: downclock SPI to 50MHz build: introduce PKG_BUILD_FLAGS ramips: add support for OpenFi 5Pro (coolsnowwolf#12196) hostapd: fix mbo module build kernel: bump 6.6 to 6.6.32 (coolsnowwolf#12186) kernel: bump 6.1 to 6.1.92 (coolsnowwolf#12187) mtd: spi-nor: add support for Winbond W25Q512 mvebu: add support for QNAP QHora-321/322 with commo image base-files: add legacy-sdcard sysupgrade support kernel: bump 5.4 to 5.4.277 (coolsnowwolf#12191) kernel: bump 5.10 to 5.10.218 (coolsnowwolf#12190) kernel: bump 5.15 to 5.15.160 (coolsnowwolf#12188)
- Loading branch information
Showing
35 changed files
with
1,555 additions
and
29 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,2 @@ | ||
LINUX_VERSION-5.10 = .217 | ||
LINUX_KERNEL_HASH-5.10.217 = c52bc1ffc396c11bce335c9ee5cd55fe4213cbc1fb4026ff62bb90c864c61f62 | ||
LINUX_VERSION-5.10 = .218 | ||
LINUX_KERNEL_HASH-5.10.218 = 9c36b243e8c3ec1d5963366618f336710b84340bf95be2037b26c452392cb2d6 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,2 @@ | ||
LINUX_VERSION-5.15 = .159 | ||
LINUX_KERNEL_HASH-5.15.159 = 3478fe50225e9c88e09cf114f38e3fb71e82d9fdcc356aa1257d721199b341c5 | ||
LINUX_VERSION-5.15 = .160 | ||
LINUX_KERNEL_HASH-5.15.160 = f41e718e33b88f269a6b6a7653e5e9824c4ba541f6ffe5bf26ecc37c540a1b05 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,2 @@ | ||
LINUX_VERSION-5.4 = .276 | ||
LINUX_KERNEL_HASH-5.4.276 = e2712ebd4421ffa5b25a366659ecfbe1b45a444027ee2fe57369676453e86e07 | ||
LINUX_VERSION-5.4 = .277 | ||
LINUX_KERNEL_HASH-5.4.277 = 7e1f5b28588e49ddfd18e7772476e4e8b52bdc9c3e19beafcbb7c103e6c01f51 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,2 @@ | ||
LINUX_VERSION-6.1 = .91 | ||
LINUX_KERNEL_HASH-6.1.91 = 880ace63ca2291b8b639e9bd862cc828649d3e1e00ccfee5861473debd2e4dec | ||
LINUX_VERSION-6.1 = .92 | ||
LINUX_KERNEL_HASH-6.1.92 = 9019f427bfdc9ced5bc954d760d37ac08c0cdffb45ad28087fc45a73e64336c9 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,2 @@ | ||
LINUX_VERSION-6.6 = .31 | ||
LINUX_KERNEL_HASH-6.6.31 = d6ecff966f8c95ec4cb3bb303904f757b7de6a6bcfef0d0771cb852158e61c20 | ||
LINUX_VERSION-6.6 = .32 | ||
LINUX_KERNEL_HASH-6.6.32 = aaa824eaf07f61911d22b75ff090a403c3dd0bd73e23933e0bba8b5971436ce1 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,91 @@ | ||
legacy_sdcard_check_image() { | ||
local file="$1" | ||
local diskdev partdev diff | ||
|
||
export_bootdevice && export_partdevice diskdev 0 || { | ||
v "Unable to determine upgrade device" | ||
return 1 | ||
} | ||
|
||
get_partitions "/dev/$diskdev" bootdisk | ||
|
||
v "Extract boot sector from the image" | ||
get_image_dd "$1" of=/tmp/image.bs count=1 bs=512b | ||
|
||
get_partitions /tmp/image.bs image | ||
|
||
#compare tables | ||
diff="$(grep -F -x -v -f /tmp/partmap.bootdisk /tmp/partmap.image)" | ||
|
||
rm -f /tmp/image.bs /tmp/partmap.bootdisk /tmp/partmap.image | ||
|
||
if [ -n "$diff" ]; then | ||
v "Partition layout has changed. Full image will be written." | ||
ask_bool 0 "Abort" && exit 1 | ||
return 0 | ||
fi | ||
} | ||
|
||
legacy_sdcard_do_upgrade() { | ||
local board=$(board_name) | ||
local diskdev partdev diff | ||
|
||
export_bootdevice && export_partdevice diskdev 0 || { | ||
v "Unable to determine upgrade device" | ||
return 1 | ||
} | ||
|
||
sync | ||
|
||
if [ "$UPGRADE_OPT_SAVE_PARTITIONS" = "1" ]; then | ||
get_partitions "/dev/$diskdev" bootdisk | ||
|
||
v "Extract boot sector from the image" | ||
get_image_dd "$1" of=/tmp/image.bs count=1 bs=512b | ||
|
||
get_partitions /tmp/image.bs image | ||
|
||
#compare tables | ||
diff="$(grep -F -x -v -f /tmp/partmap.bootdisk /tmp/partmap.image)" | ||
else | ||
diff=1 | ||
fi | ||
|
||
if [ -n "$diff" ]; then | ||
get_image_dd "$1" of="/dev/$diskdev" bs=4096 conv=fsync | ||
|
||
# Separate removal and addtion is necessary; otherwise, partition 1 | ||
# will be missing if it overlaps with the old partition 2 | ||
partx -d - "/dev/$diskdev" | ||
partx -a - "/dev/$diskdev" | ||
else | ||
v "Writing bootloader to /dev/$diskdev" | ||
get_image_dd "$1" of="$diskdev" bs=512 skip=1 seek=1 count=2048 conv=fsync | ||
#iterate over each partition from the image and write it to the boot disk | ||
while read part start size; do | ||
if export_partdevice partdev $part; then | ||
v "Writing image to /dev/$partdev..." | ||
get_image_dd "$1" of="/dev/$partdev" ibs="512" obs=1M skip="$start" count="$size" conv=fsync | ||
else | ||
v "Unable to find partition $part device, skipped." | ||
fi | ||
done < /tmp/partmap.image | ||
|
||
v "Writing new UUID to /dev/$diskdev..." | ||
get_image_dd "$1" of="/dev/$diskdev" bs=1 skip=440 count=4 seek=440 conv=fsync | ||
fi | ||
|
||
sleep 1 | ||
} | ||
|
||
legacy_sdcard_copy_config() { | ||
local partdev | ||
|
||
if export_partdevice partdev 1; then | ||
mkdir -p /boot | ||
[ -f /boot/kernel.img ] || mount -o rw,noatime /dev/$partdev /boot | ||
cp -af "$UPGRADE_BACKUP" "/boot/$BACKUP_FILE" | ||
sync | ||
umount /boot | ||
fi | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
10 changes: 10 additions & 0 deletions
10
package/network/services/hostapd/patches/993-fix-mbo-module-build.patch
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
--- a/wpa_supplicant/Makefile | ||
+++ b/wpa_supplicant/Makefile | ||
@@ -339,6 +339,7 @@ | ||
|
||
ifdef CONFIG_MBO | ||
CONFIG_WNM=y | ||
+NEED_GAS=y | ||
endif | ||
|
||
ifdef CONFIG_WNM |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
8 changes: 1 addition & 7 deletions
8
target/linux/generic/pending-6.6/990-add-missing-dependency-on-CRYPTO_SIG.patch
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,16 +1,10 @@ | ||
diff --git a/crypto/asymmetric_keys/Kconfig b/crypto/asymmetric_keys/Kconfig | ||
index 59ec726b7c77..3f089abd6fc9 100644 | ||
--- a/crypto/asymmetric_keys/Kconfig | ||
+++ b/crypto/asymmetric_keys/Kconfig | ||
@@ -13,10 +13,11 @@ if ASYMMETRIC_KEY_TYPE | ||
config ASYMMETRIC_PUBLIC_KEY_SUBTYPE | ||
tristate "Asymmetric public-key crypto algorithm subtype" | ||
@@ -15,6 +15,7 @@ config ASYMMETRIC_PUBLIC_KEY_SUBTYPE | ||
select MPILIB | ||
select CRYPTO_HASH_INFO | ||
select CRYPTO_AKCIPHER | ||
+ select CRYPTO_SIG | ||
select CRYPTO_HASH | ||
help | ||
This option provides support for asymmetric public key type handling. | ||
If signature generation and/or verification are to be used, | ||
appropriate hash algorithms (such as SHA-1) must be available. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.