Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit 6298591

Browse files
committedJul 12, 2024
recipes-bsp/u-boot/u-boot/*: updated context lines to fix fuzz
``` devtool modify u-boot devtool finish --force-patch-refresh u-boot /build/../repo ```
1 parent 8748183 commit 6298591

3 files changed

+12
-20
lines changed
 
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
From fcb1a1b6be155873ca84b4be66eeb6e98fea038d Mon Sep 17 00:00:00 2001
1+
From 4d57fe8c8cac9e9919f407ee23613289d3807982 Mon Sep 17 00:00:00 2001
22
From: Cezary Sobczak <cezary.sobczak@3mdeb.com>
33
Date: Thu, 14 Jan 2021 10:24:55 +0100
44
Subject: [PATCH 1/2] orangepi_zero_defconfig-lower-DRAM_CLK-to-408
@@ -11,18 +11,15 @@ Signed-off-by: Tymoteusz Burak <tymoteusz.burak@3mdeb.com>
1111
1 file changed, 1 insertion(+), 1 deletion(-)
1212

1313
diff --git a/configs/orangepi_zero_defconfig b/configs/orangepi_zero_defconfig
14-
index 998c95d151a5..f2f50a882f61 100644
14+
index f7f3bfbcc4..03463ee7b1 100644
1515
--- a/configs/orangepi_zero_defconfig
1616
+++ b/configs/orangepi_zero_defconfig
17-
@@ -2,7 +2,7 @@ CONFIG_ARM=y
18-
CONFIG_ARCH_SUNXI=y
17+
@@ -3,7 +3,7 @@ CONFIG_ARCH_SUNXI=y
18+
CONFIG_DEFAULT_DEVICE_TREE="sun8i-h2-plus-orangepi-zero"
1919
CONFIG_SPL=y
2020
CONFIG_MACH_SUN8I_H3=y
2121
-CONFIG_DRAM_CLK=624
2222
+CONFIG_DRAM_CLK=408
2323
# CONFIG_VIDEO_DE2 is not set
2424
CONFIG_SPL_SPI_SUNXI=y
25-
CONFIG_DEFAULT_DEVICE_TREE="sun8i-h2-plus-orangepi-zero"
26-
--
27-
2.17.1
28-
25+
# CONFIG_SYS_MALLOC_CLEAR_ON_INIT is not set
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
From 70183d131207d4b25533ecb0366c5d5be3d9b840 Mon Sep 17 00:00:00 2001
1+
From 9e0a29df289242fd8f712a952264b9ade62f932d Mon Sep 17 00:00:00 2001
22
From: Cezary Sobczak <cezary.sobczak@3mdeb.com>
33
Date: Thu, 14 Jan 2021 10:25:18 +0100
44
Subject: [PATCH 2/2] orangepi_zero_defconfig-configure-CLK_FREQ
@@ -11,14 +11,11 @@ Signed-off-by: Tymoteusz Burak <tymoteusz.burak@3mdeb.com>
1111
1 file changed, 1 insertion(+)
1212

1313
diff --git a/configs/orangepi_zero_defconfig b/configs/orangepi_zero_defconfig
14-
index f2f50a882f61..20969e763904 100644
14+
index 03463ee7b1..d1386efa31 100644
1515
--- a/configs/orangepi_zero_defconfig
1616
+++ b/configs/orangepi_zero_defconfig
17-
@@ -11,3 +11,4 @@ CONFIG_CONSOLE_MUX=y
18-
CONFIG_SUN8I_EMAC=y
17+
@@ -14,3 +14,4 @@ CONFIG_SUN8I_EMAC=y
18+
CONFIG_SPI=y
1919
CONFIG_USB_EHCI_HCD=y
2020
CONFIG_USB_OHCI_HCD=y
2121
+CONFIG_SYS_CLK_FREQ=480000000
22-
--
23-
2.17.1
24-

‎recipes-bsp/u-boot/u-boot/0004-sun8i-disable-Vendor-Parameter-Protection.patch

+3-5
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
From 292f2a586d87589f3f5b4411fd698b8b89d1d6ac Mon Sep 17 00:00:00 2001
1+
From 67fe3b8fddf9cf3e0d28e2cde77f590902cf0d7f Mon Sep 17 00:00:00 2001
22
From: Tymoteusz Burak <tymoteusz.burak@3mdeb.com>
33
Date: Tue, 2 Jul 2024 15:04:33 +0000
44
Subject: [PATCH] sun8i: disable Vendor Parameter Protection
@@ -18,12 +18,10 @@ index b6cd8d39a8..b1beaf90a7 100644
1818
@@ -8,6 +8,9 @@
1919
#ifndef __CONFIG_H
2020
#define __CONFIG_H
21-
21+
2222
+/* Allow for manual overwriting environment variables like ethaddr */
2323
+#define CONFIG_ENV_OVERWRITE 1
2424
+
2525
#include <configs/sunxi-common.h>
26-
26+
2727
#endif /* __CONFIG_H */
28-
--
29-
2.39.2

0 commit comments

Comments
 (0)
Please sign in to comment.