diff options
author | Nick Foster <nick@nerdnetworks.org> | 2010-08-18 14:49:52 -0700 |
---|---|---|
committer | Nick Foster <nick@nerdnetworks.org> | 2010-08-18 14:49:52 -0700 |
commit | 769b565dbdc3fa1bb0891d4dcdbb74695f1dc875 (patch) | |
tree | 32ec8c11dd8894a2a6c45f002aab204521bd7948 /firmware/microblaze/Makefile.common | |
parent | 2da87fa5082c507d324dce743d63667a6d21fd80 (diff) | |
parent | 42547a0be8e52758d340fd1eba51a2dd5274a652 (diff) | |
download | uhd-769b565dbdc3fa1bb0891d4dcdbb74695f1dc875.tar.gz uhd-769b565dbdc3fa1bb0891d4dcdbb74695f1dc875.tar.bz2 uhd-769b565dbdc3fa1bb0891d4dcdbb74695f1dc875.zip |
Merge branch 'usrp2p_udpfw' of ettus.sourcerepo.com:ettus/uhdpriv into usrp2p
Diffstat (limited to 'firmware/microblaze/Makefile.common')
-rw-r--r-- | firmware/microblaze/Makefile.common | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/firmware/microblaze/Makefile.common b/firmware/microblaze/Makefile.common index ceb6a553a..4e726edab 100644 --- a/firmware/microblaze/Makefile.common +++ b/firmware/microblaze/Makefile.common @@ -59,8 +59,13 @@ COMMON_LFLAGS = \ ######################################################################## # Common stuff for building top level microblaze images ######################################################################## +#we use COMMON_IHX_ARGS to relocate the reset and interrupt vectors to +#just below the start of code. upon creating the BIN, any leading padding +#is thrown out, so the .bin file is valid for uploading to USRP2P. this +#does not affect USRP2 because the USRP2 already starts at 0x0000, and +#because the relocate_args are not defined for USRP2's Makefile.am. .elf.bin: - $(MB_OBJCOPY) -O binary $< $@ + $(MB_OBJCOPY) -O binary $(RELOCATE_ARGS) $< $@ .elf.dump: $(MB_OBJDUMP) -DSC $< > $@ @@ -69,7 +74,7 @@ COMMON_LFLAGS = \ $(HEXDUMP) -v -e'1/1 "%.2X\n"' $< > $@ .elf.ihx: - $(MB_OBJCOPY) -O ihex $(COMMON_IHX_ARGS) $< $@ + $(MB_OBJCOPY) -O ihex $(RELOCATE_ARGS) $< $@ _generated_from_elf = \ $(noinst_PROGRAMS:.elf=.map) \ |