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
committerMartin Braun <martin.braun@ettus.com>2019-04-11 15:21:53 -0700
commitc1e0e7329615806516d9ec3391a3fbf9e3a08852 (patch)
tree5c9d4c6e69a7e61a2cf8bd3f6fdd201b56ebff3a /firmware/fx3/b200/fx3_mem_map.patch
parent3642ac013e9b7eaf7d454790c6a1c7387b0238c4 (diff)
downloaduhd-c1e0e7329615806516d9ec3391a3fbf9e3a08852.tar.gz
uhd-c1e0e7329615806516d9ec3391a3fbf9e3a08852.tar.bz2
uhd-c1e0e7329615806516d9ec3391a3fbf9e3a08852.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 :
+ {
+