aboutsummaryrefslogtreecommitdiffstats
path: root/firmware/fx3/b200/fx3_mem_map.patch
diff options
context:
space:
mode:
authorMark Meserve <mark.meserve@ni.com>2019-04-11 15:14:37 -0500
committermichael-west <michael.west@ettus.com>2019-05-21 16:08:43 -0700
commit4f57ecab13e37f132c99ec797d412def3f1e2a66 (patch)
tree4789bce38abf657f52a4ebd1dabce720e1e62f68 /firmware/fx3/b200/fx3_mem_map.patch
parent914206e04182d2446de14be29ef886ae7c013641 (diff)
downloaduhd-4f57ecab13e37f132c99ec797d412def3f1e2a66.tar.gz
uhd-4f57ecab13e37f132c99ec797d412def3f1e2a66.tar.bz2
uhd-4f57ecab13e37f132c99ec797d412def3f1e2a66.zip
b200: add custom bootloader
- Adds custom bootloader code - Refactor common functions in firmware and bootloader
Diffstat (limited to 'firmware/fx3/b200/fx3_mem_map.patch')
-rw-r--r--firmware/fx3/b200/fx3_mem_map.patch23
1 files changed, 23 insertions, 0 deletions
diff --git a/firmware/fx3/b200/fx3_mem_map.patch b/firmware/fx3/b200/fx3_mem_map.patch
index 37d704ace..df9ff0e7a 100644
--- a/firmware/fx3/b200/fx3_mem_map.patch
+++ b/firmware/fx3/b200/fx3_mem_map.patch
@@ -66,3 +66,26 @@ diff -ur 1.2.3-orig/common/fx3.ld 1.2.3/common/fx3.ld
+ PROVIDE(__heap_size = __heap_end - __heap_start);
}
+diff -ur 1.2.3-orig/boot_fw/src/cyfx3.ld 1.2.3/boot_fw/src/cyfx3.ld
+--- 1.2.3-orig/boot_fw/src/cyfx3.ld 2019-02-12 16:40:48.000000000 -0800
++++ 1.2.3/boot_fw/src/cyfx3.ld 2019-03-20 14:36:18.992529192 -0700
+@@ -34,12 +34,18 @@
+
+ MEMORY
+ {
++ BLANK : ORIGIN = 0x40070000 LENGTH = 0x0100
+ SYS_MEM : ORIGIN = 0x40078000 LENGTH = 0x7000
+ DATA : ORIGIN = 0x4007F000 LENGTH = 0x1000
+ }
+
+ SECTIONS
+ {
++ . = 0x40070000;
++ .blank :
++ {
++ . += 0x100;
++ } > BLANK
+ . = 0x40078000;
+ .text :
+ {
+