forked from openwrt/openwrt
-
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.
- Loading branch information
Showing
89 changed files
with
4,138 additions
and
6,358 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
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
70 changes: 0 additions & 70 deletions
70
.../boot/uboot-envtools/patches/010-fw_env-fix-reading-NVMEM-device-s-compatible-value.patch
This file was deleted.
Oops, something went wrong.
75 changes: 0 additions & 75 deletions
75
...oot/uboot-envtools/patches/011-fw_env-keep-calling-read-until-whole-flash-block-is-.patch
This file was deleted.
Oops, something went wrong.
49 changes: 0 additions & 49 deletions
49
...e/boot/uboot-envtools/patches/012-fw_env-autodetect-NAND-erase-size-and-env-sectors.patch
This file was deleted.
Oops, something went wrong.
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.