Quantcast
Channel: Processors forum - Recent Threads
Viewing all articles
Browse latest Browse all 17527

Rebuilding the Flash and Boot Utils package for a particular platform

$
0
0

Can someone explain me the steps to Rebuild SFH tool on Windows

I have installed

Below is the steps for Rebuilding Flash and Boot Utils

  • For a particular platform, the extracted package will consist of a 'Common' directory and a '<PlatformName>' directory.
  • Open a Cygwin prompt, which is like a Unix/Linux prompt under Windows.
    • If using v2.36 or earlier, add necessary components to path
      export PATH=<arm-compiler-root>/bin:<C6000-Compiler-Root>/bin:$PATH
    • If using v2.40 or later, edit the ARM_TOOLS_PATH, ARM_TOOLS_PREFIX, and DSP_TOOLS_PATH variables in Common/build.mak as needed for your system
  • Enter into the <PlatformName> directory.
cd <PlatformName>
  • Edit device.mak to include only the part number and flash type required, in order to speed up the build process
vim device.mak
  • [Optional] To rebuild only the command-line tools (not the CCS projects), cd into the GNU directory.
cd GNU
  • [Optional] To rebuild only the CCS projects (requires CCS v3), cd into the CCS directory
cd CCS
  • If you're rebuilding everything then stay in the <Platform> directory
  • Run 'make clean' and 'make'.
make clean
make
  • If you wish to clean-up already built components, run 'make clean' from the path you wish to clean.

The Build file that i created is given below.

#############################################################
# Common build definitions for Makefile use                 #
#############################################################
# Taqi Mustafa

ARM_TOOLS_PATH?="C:\CodeSourcery\Sourcery G++\arm-none-linux-gnueabi\"
ARM_TOOLS_PREFIX?=arm-none-gnueabi-

CROSSCOMPILE?=$(ARM_TOOLS_PATH)bin\\$(ARM_TOOLS_PREFIX)
ARM_CROSSCOMPILE=$(CROSSCOMPILE)

DSP_TOOLS_PATH?="C:\Program Files\Texas Instruments\ccsv4\tools\compiler\c6000\"

DSP_LIB_PATH=$(DSP_TOOLS_PATH)lib\\
DSP_CROSSCOMPILE=$(DSP_TOOLS_PATH)bin\\


Viewing all articles
Browse latest Browse all 17527

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>