forked from openwrt/openwrt
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge remote-tracking branch 'upstream/master'
- Loading branch information
Showing
2,587 changed files
with
324,054 additions
and
329,716 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
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.15 = .158 | ||
LINUX_KERNEL_HASH-5.15.158 = f9071c83a4fd8b80af026b48cfc1869bfa25883f9148b92b5dc1e1e1e26dd5c6 | ||
LINUX_VERSION-5.15 = .161 | ||
LINUX_KERNEL_HASH-5.15.161 = d629f78680dc4b65e3d78b61406fb7757b960c83c206e63ad8c2606b3e3c474c |
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 = .93 | ||
LINUX_KERNEL_HASH-6.1.93 = df31af2ef5923d61fadd68bfd991f50f2e42a913895eb4b03214ee78f8720bcf | ||
LINUX_VERSION-6.1 = .95 | ||
LINUX_KERNEL_HASH-6.1.95 = 2960f0aa1d75665f39114ad3c272a999c54796e553a2355d0379f5188d14dfbd |
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 = .33 | ||
LINUX_KERNEL_HASH-6.6.33 = a13ebc20dc2a75722699949af74aa86a4ce5d544d6daaa6a7de4e8c81b40de97 | ||
LINUX_VERSION-6.6 = .35 | ||
LINUX_KERNEL_HASH-6.6.35 = fce3ee728712ed063aa8c14a8756c8ff8c7a46ba3827f61d2b04a73c7cf5dd9e |
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
49 changes: 49 additions & 0 deletions
49
package/base-files/files/etc/uci-defaults/11_network-migrate-bridges
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,49 @@ | ||
. /lib/functions.sh | ||
|
||
migrate_ports() { | ||
local config="$1" | ||
local type ports ifname | ||
|
||
config_get type "$config" type | ||
[ "$type" != "bridge" ] && return | ||
|
||
config_get ports "$config" ports | ||
[ -n "$ports" ] && return | ||
|
||
config_get ifname "$config" ifname | ||
[ -z "$ifname" ] && return | ||
|
||
for port in $ifname; do | ||
uci add_list network.$config.ports="$port" | ||
done | ||
uci delete network.$config.ifname | ||
} | ||
|
||
migrate_bridge() { | ||
local config="$1" | ||
local type ifname | ||
|
||
config_get type "$config" type | ||
[ "$type" != "bridge" ] && return | ||
|
||
config_get ifname "$config" ifname | ||
|
||
uci -q batch <<-EOF | ||
add network device | ||
set network.@device[-1].name='br-$config' | ||
set network.@device[-1].type='bridge' | ||
EOF | ||
for port in $ifname; do | ||
uci add_list network.@device[-1].ports="$port" | ||
done | ||
|
||
uci -q batch <<-EOF | ||
delete network.$config.type | ||
delete network.$config.ifname | ||
set network.$config.device='br-$config' | ||
EOF | ||
} | ||
|
||
config_load network | ||
config_foreach migrate_ports device | ||
config_foreach migrate_bridge interface |
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
38 changes: 38 additions & 0 deletions
38
package/boot/uboot-mvebu/patches/100-mvebu-armada-8k-respect-CONFIG_DISTRO_DEFAULTS.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,38 @@ | ||
From a322b1cbb3f3e606d33a11fd18df20811e5c16f2 Mon Sep 17 00:00:00 2001 | ||
From: Robert Marko <[email protected]> | ||
Date: Fri, 21 Jun 2024 11:41:30 +0200 | ||
Subject: [PATCH 1/3] mvebu: armada-8k: respect CONFIG_DISTRO_DEFAULTS | ||
|
||
Currently, Armada 8k config header is setting boot devices and including | ||
<config_distro_bootcmd.h> regardless of the CONFIG_DISTRO_DEFAULTS being | ||
enabled or not, thus populating the environment for distro boot even on | ||
devices that have no need for it. | ||
|
||
So, lets simply respect the value of CONFIG_DISTRO_DEFAULTS. | ||
|
||
Signed-off-by: Robert Marko <[email protected]> | ||
--- | ||
include/configs/mvebu_armada-8k.h | 5 ++++- | ||
1 file changed, 4 insertions(+), 1 deletion(-) | ||
|
||
--- a/include/configs/mvebu_armada-8k.h | ||
+++ b/include/configs/mvebu_armada-8k.h | ||
@@ -30,7 +30,7 @@ | ||
/* | ||
* PCI configuration | ||
*/ | ||
- | ||
+#ifdef CONFIG_DISTRO_DEFAULTS | ||
#define BOOT_TARGET_DEVICES(func) \ | ||
func(MMC, mmc, 1) \ | ||
func(MMC, mmc, 0) \ | ||
@@ -40,6 +40,9 @@ | ||
func(DHCP, dhcp, na) | ||
|
||
#include <config_distro_bootcmd.h> | ||
+#else | ||
+#define BOOTENV | ||
+#endif | ||
|
||
#define CFG_EXTRA_ENV_SETTINGS \ | ||
"scriptaddr=0x6d00000\0" \ |
Oops, something went wrong.