aboutsummaryrefslogtreecommitdiffstats
path: root/patch/bk7231_ota.ld.patch
diff options
context:
space:
mode:
Diffstat (limited to 'patch/bk7231_ota.ld.patch')
-rw-r--r--patch/bk7231_ota.ld.patch17
1 files changed, 17 insertions, 0 deletions
diff --git a/patch/bk7231_ota.ld.patch b/patch/bk7231_ota.ld.patch
new file mode 100644
index 0000000..b964716
--- /dev/null
+++ b/patch/bk7231_ota.ld.patch
@@ -0,0 +1,17 @@
+--- sdk/build/bk7231_ota.ld 2021-08-16 11:59:34.000000000 -0500
++++ ../sdk/build/bk7231_ota.ld 2023-07-10 17:35:30.075799603 -0500
+@@ -37,6 +37,7 @@
+ OUTPUT_FORMAT("elf32-littlearm", "elf32-littlearm", "elf32-littlearm")
+ OUTPUT_ARCH(arm)
+ ENTRY(_vector_start);
++_bootloader_world_flag = 0x00400000;
+ _vector_start = ORIGIN(flash);
+
+ SECTIONS
+@@ -121,4 +122,4 @@
+ libc.a
+ libm.a
+ libnosys.a
+- )
+\ No newline at end of file
++ )