Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
U
u-boot
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
certo
u-boot
Commits
36b22f40
Commit
36b22f40
authored
May 31, 2024
by
Vladimir Bashkirtsev
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixed mender patch
parent
bf2a6032
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
39 additions
and
28 deletions
+39
-28
u-boot-2021.04-mender.patch
u-boot-2021.04-mender.patch
+39
-28
No files found.
u-boot-2021.04-mender.patch
View file @
36b22f40
diff -uNr u-boot-2021.04/configs/odroid-xu3_defconfig u-boot-2021.04-mender/configs/odroid-xu3_defconfig
--- u-boot-2021.04/configs/odroid-xu3_defconfig 2021-04-0
6 00:33:29.000000000 +093
0
+++ u-boot-2021.04-mender/configs/odroid-xu3_defconfig 2024-0
2-29 23:20:52.035511680 +103
0
--- u-boot-2021.04/configs/odroid-xu3_defconfig 2021-04-0
5 15:03:29.000000000 +000
0
+++ u-boot-2021.04-mender/configs/odroid-xu3_defconfig 2024-0
5-30 15:48:59.983798479 +000
0
@@ -4,8 +4,7 @@
CONFIG_SYS_TEXT_BASE=0x43E00000
CONFIG_ARCH_EXYNOS5=y
...
...
@@ -12,8 +12,8 @@ diff -uNr u-boot-2021.04/configs/odroid-xu3_defconfig u-boot-2021.04-mender/conf
CONFIG_DEFAULT_DEVICE_TREE="exynos5422-odroidxu3"
CONFIG_DISTRO_DEFAULTS=y
diff -uNr u-boot-2021.04/configs/p212_defconfig u-boot-2021.04-mender/configs/p212_defconfig
--- u-boot-2021.04/configs/p212_defconfig 2021-04-0
6 00:33:29.000000000 +093
0
+++ u-boot-2021.04-mender/configs/p212_defconfig 2024-0
2-29 23:20:52.037511637 +103
0
--- u-boot-2021.04/configs/p212_defconfig 2021-04-0
5 15:03:29.000000000 +000
0
+++ u-boot-2021.04-mender/configs/p212_defconfig 2024-0
5-30 15:48:59.983798479 +000
0
@@ -2,7 +2,7 @@
CONFIG_ARCH_MESON=y
CONFIG_SYS_TEXT_BASE=0x01000000
...
...
@@ -24,8 +24,8 @@ diff -uNr u-boot-2021.04/configs/p212_defconfig u-boot-2021.04-mender/configs/p2
CONFIG_MESON_GXL=y
CONFIG_DEBUG_UART_BASE=0xc81004c0
diff -uNr u-boot-2021.04/configs/rpi_3_defconfig u-boot-2021.04-mender/configs/rpi_3_defconfig
--- u-boot-2021.04/configs/rpi_3_defconfig 2021-04-0
6 00:33:29.000000000 +093
0
+++ u-boot-2021.04-mender/configs/rpi_3_defconfig 2024-0
2-29 23:20:52.039511595 +103
0
--- u-boot-2021.04/configs/rpi_3_defconfig 2021-04-0
5 15:03:29.000000000 +000
0
+++ u-boot-2021.04-mender/configs/rpi_3_defconfig 2024-0
5-30 15:48:59.983798479 +000
0
@@ -5,7 +5,7 @@
CONFIG_TARGET_RPI_3=y
CONFIG_SYS_MALLOC_F_LEN=0x2000
...
...
@@ -36,8 +36,8 @@ diff -uNr u-boot-2021.04/configs/rpi_3_defconfig u-boot-2021.04-mender/configs/r
CONFIG_DISTRO_DEFAULTS=y
CONFIG_OF_BOARD_SETUP=y
diff -uNr u-boot-2021.04/env/Kconfig u-boot-2021.04-mender/env/Kconfig
--- u-boot-2021.04/env/Kconfig 2021-04-0
6 00:33:29.000000000 +093
0
+++ u-boot-2021.04-mender/env/Kconfig 2024-0
2-29 23:20:52.042511530 +103
0
--- u-boot-2021.04/env/Kconfig 2021-04-0
5 15:03:29.000000000 +000
0
+++ u-boot-2021.04-mender/env/Kconfig 2024-0
5-30 15:48:59.987798557 +000
0
@@ -514,26 +514,14 @@
environment location.
...
...
@@ -96,8 +96,8 @@ diff -uNr u-boot-2021.04/env/Kconfig u-boot-2021.04-mender/env/Kconfig
bool "Create default environment from file"
help
diff -uNr u-boot-2021.04/include/config_mender_defines.h u-boot-2021.04-mender/include/config_mender_defines.h
--- u-boot-2021.04/include/config_mender_defines.h 1970-01-01 0
9:30:00.000000000 +093
0
+++ u-boot-2021.04-mender/include/config_mender_defines.h 2024-0
2-29 23:20:52.044511487 +103
0
--- u-boot-2021.04/include/config_mender_defines.h 1970-01-01 0
0:00:00.000000000 +000
0
+++ u-boot-2021.04-mender/include/config_mender_defines.h 2024-0
5-30 15:48:59.987798557 +000
0
@@ -0,0 +1,17 @@
+/* Shell variables */
+#define MENDER_BOOT_PART_NUMBER 1
...
...
@@ -117,8 +117,8 @@ diff -uNr u-boot-2021.04/include/config_mender_defines.h u-boot-2021.04-mender/i
+/* For sanity checks. */
+#define MENDER_BOOTENV_SIZE 0x20000
diff -uNr u-boot-2021.04/include/config_mender.h u-boot-2021.04-mender/include/config_mender.h
--- u-boot-2021.04/include/config_mender.h 1970-01-01 0
9:30:00.000000000 +093
0
+++ u-boot-2021.04-mender/include/config_mender.h 2024-0
2-29 23:20:52.045511466 +103
0
--- u-boot-2021.04/include/config_mender.h 1970-01-01 0
0:00:00.000000000 +000
0
+++ u-boot-2021.04-mender/include/config_mender.h 2024-0
5-30 15:48:59.987798557 +000
0
@@ -0,0 +1,83 @@
+/*
+ Copyright 2017 Northern.tech AS
...
...
@@ -204,8 +204,8 @@ diff -uNr u-boot-2021.04/include/config_mender.h u-boot-2021.04-mender/include/c
+
+#endif /* HEADER_CONFIG_MENDER_H */
diff -uNr u-boot-2021.04/include/configs/meson64.h u-boot-2021.04-mender/include/configs/meson64.h
--- u-boot-2021.04/include/configs/meson64.h 2021-04-0
6 00:33:29.000000000 +093
0
+++ u-boot-2021.04-mender/include/configs/meson64.h 2024-0
2-29 23:20:52.046511444 +103
0
--- u-boot-2021.04/include/configs/meson64.h 2021-04-0
5 15:03:29.000000000 +000
0
+++ u-boot-2021.04-mender/include/configs/meson64.h 2024-0
5-30 15:48:59.991798635 +000
0
@@ -31,6 +31,8 @@
#define CONFIG_CPU_ARMV8
...
...
@@ -216,8 +216,8 @@ diff -uNr u-boot-2021.04/include/configs/meson64.h u-boot-2021.04-mender/include
#define CONFIG_SYS_MALLOC_LEN (32 << 20)
#define CONFIG_SYS_CBSIZE 1024
diff -uNr u-boot-2021.04/include/configs/odroid_xu3.h u-boot-2021.04-mender/include/configs/odroid_xu3.h
--- u-boot-2021.04/include/configs/odroid_xu3.h 2021-04-0
6 00:33:29.000000000 +093
0
+++ u-boot-2021.04-mender/include/configs/odroid_xu3.h 2024-0
2-29 23:20:52.047511423 +103
0
--- u-boot-2021.04/include/configs/odroid_xu3.h 2021-04-0
5 15:03:29.000000000 +000
0
+++ u-boot-2021.04-mender/include/configs/odroid_xu3.h 2024-0
5-30 15:48:59.991798635 +000
0
@@ -10,6 +10,9 @@
#include <configs/exynos5420-common.h>
#include <configs/exynos5-common.h>
...
...
@@ -229,8 +229,8 @@ diff -uNr u-boot-2021.04/include/configs/odroid_xu3.h u-boot-2021.04-mender/incl
#define CONFIG_SYS_SDRAM_BASE 0x40000000
diff -uNr u-boot-2021.04/include/configs/rpi.h u-boot-2021.04-mender/include/configs/rpi.h
--- u-boot-2021.04/include/configs/rpi.h 2021-04-0
6 00:33:29.000000000 +093
0
+++ u-boot-2021.04-mender/include/configs/rpi.h 2024-0
2-29 23:20:52.048511401 +103
0
--- u-boot-2021.04/include/configs/rpi.h 2021-04-0
5 15:03:29.000000000 +000
0
+++ u-boot-2021.04-mender/include/configs/rpi.h 2024-0
5-30 15:48:59.991798635 +000
0
@@ -95,6 +95,8 @@
#define CONFIG_SYS_CBSIZE 1024
...
...
@@ -240,9 +240,20 @@ diff -uNr u-boot-2021.04/include/configs/rpi.h u-boot-2021.04-mender/include/con
#define CONFIG_SYS_LOAD_ADDR 0x1000000
/* Shell */
diff -uNr u-boot-2021.04/include/configs/sun50i.h u-boot-2021.04-mender/include/configs/sun50i.h
--- u-boot-2021.04/include/configs/sun50i.h 2021-04-05 15:03:29.000000000 +0000
+++ u-boot-2021.04-mender/include/configs/sun50i.h 2024-05-30 15:46:47.521222390 +0000
@@ -23,4 +23,7 @@
*/
#include <configs/sunxi-common.h>
+#define CONFIG_BOOTCOUNT_LIMIT
+#define CONFIG_BOOTCOUNT_ENV
+
#endif /* __CONFIG_H */
diff -uNr u-boot-2021.04/include/configs/sun8i.h u-boot-2021.04-mender/include/configs/sun8i.h
--- u-boot-2021.04/include/configs/sun8i.h 2021-04-0
6 00:33:29.000000000 +093
0
+++ u-boot-2021.04-mender/include/configs/sun8i.h 2024-0
2-29 23:20:52.049511380 +103
0
--- u-boot-2021.04/include/configs/sun8i.h 2021-04-0
5 15:03:29.000000000 +000
0
+++ u-boot-2021.04-mender/include/configs/sun8i.h 2024-0
5-30 15:48:59.995798712 +000
0
@@ -17,4 +17,7 @@
*/
#include <configs/sunxi-common.h>
...
...
@@ -252,8 +263,8 @@ diff -uNr u-boot-2021.04/include/configs/sun8i.h u-boot-2021.04-mender/include/c
+
#endif /* __CONFIG_H */
diff -uNr u-boot-2021.04/include/env_default.h u-boot-2021.04-mender/include/env_default.h
--- u-boot-2021.04/include/env_default.h 2021-04-0
6 00:33:29.000000000 +093
0
+++ u-boot-2021.04-mender/include/env_default.h 2024-0
2-29 23:20:52.051511337 +103
0
--- u-boot-2021.04/include/env_default.h 2021-04-0
5 15:03:29.000000000 +000
0
+++ u-boot-2021.04-mender/include/env_default.h 2024-0
5-30 15:48:59.995798712 +000
0
@@ -10,6 +10,8 @@
#include <env_callback.h>
#include <linux/stringify.h>
...
...
@@ -281,8 +292,8 @@ diff -uNr u-boot-2021.04/include/env_default.h u-boot-2021.04-mender/include/env
#ifdef CONFIG_RAMBOOTCOMMAND
"ramboot=" CONFIG_RAMBOOTCOMMAND "\0"
diff -uNr u-boot-2021.04/include/env_mender.h u-boot-2021.04-mender/include/env_mender.h
--- u-boot-2021.04/include/env_mender.h 1970-01-01 0
9:30:00.000000000 +093
0
+++ u-boot-2021.04-mender/include/env_mender.h 2024-0
2-29 23:20:52.052511315 +103
0
--- u-boot-2021.04/include/env_mender.h 1970-01-01 0
0:00:00.000000000 +000
0
+++ u-boot-2021.04-mender/include/env_mender.h 2024-0
5-30 15:49:00.003798868 +000
0
@@ -0,0 +1,86 @@
+/*
+ Copyright 2017 Northern.tech AS
...
...
@@ -371,8 +382,8 @@ diff -uNr u-boot-2021.04/include/env_mender.h u-boot-2021.04-mender/include/env_
+
+#endif /* HEADER_ENV_MENDER_H */
diff -uNr u-boot-2021.04/scripts/config_whitelist.txt u-boot-2021.04-mender/scripts/config_whitelist.txt
--- u-boot-2021.04/scripts/config_whitelist.txt 2021-04-0
6 00:33:29.000000000 +093
0
+++ u-boot-2021.04-mender/scripts/config_whitelist.txt 2024-0
2-29 23:22:12.573782635 +103
0
--- u-boot-2021.04/scripts/config_whitelist.txt 2021-04-0
5 15:03:29.000000000 +000
0
+++ u-boot-2021.04-mender/scripts/config_whitelist.txt 2024-0
5-30 15:49:00.003798868 +000
0
@@ -2911,6 +2911,8 @@
CONFIG_SYS_MMC_BASE
CONFIG_SYS_MMC_CD_PIN
...
...
@@ -383,8 +394,8 @@ diff -uNr u-boot-2021.04/scripts/config_whitelist.txt u-boot-2021.04-mender/scri
CONFIG_SYS_MMC_MAX_DEVICE
CONFIG_SYS_MMC_U_BOOT_DST
diff -uNr u-boot-2021.04/scripts/Makefile.autoconf u-boot-2021.04-mender/scripts/Makefile.autoconf
--- u-boot-2021.04/scripts/Makefile.autoconf 2021-04-0
6 00:33:29.000000000 +093
0
+++ u-boot-2021.04-mender/scripts/Makefile.autoconf 2024-0
2-29 23:20:52.052511315 +103
0
--- u-boot-2021.04/scripts/Makefile.autoconf 2021-04-0
5 15:03:29.000000000 +000
0
+++ u-boot-2021.04-mender/scripts/Makefile.autoconf 2024-0
5-30 15:49:00.007798946 +000
0
@@ -108,7 +108,8 @@
echo \#include \<configs/$(CONFIG_SYS_CONFIG_NAME).h\>; \
echo \#include \<asm/config.h\>; \
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment