wiki:cambria/redboot

Version 1 (modified by trac, 8 months ago) (diff)

--

Building Redboot for the Gateworks Cambria Family

The redboot bootloader is used on the Gateworks IXP4xx (xscale) based products

Prebuilt: http://svn.gateworks.com/cambria/redboot/images/

Pre-Requisites

To build redboot you first need the following pre-requesites:

  • xscale cross toolchain
  • tcl (ecosconfig tool is dynamically linked to it)
    sudo apt-get install tcl8.4
    
  • Note that you may need to create a symlink to libtcl8.4.so if ecosconfig fails to find it such as:
    sudo ln -s libtcl8.4.so.0 /usr/lib/libtcl8.4.so
    

Step-by-Step Instructions for building redboot

  1. Download redboot from Gateworks SVN
    svn co http://svn.gateworks.com/cambria/redboot
    
  1. Configure Path of Toolchain (change the below such that it points to the directory you untarred the toolchain to above:
    export PATH=$PWD/H-i686-pc-linux-gnulibc2.2/bin:$PATH
    
  1. Build redboot
    cd redboot
    make
    

Note: If you are using a 64bit linux host you need to copy the pre-built 64bit ecosconfig tool over:

cp bin/ecosconfig64 bin/ecosconfig
  1. Use a Gateworks jtag adapter to flash the bootloader binary images/rb.bin to your target

See README.Gateworks for information about customizing redboot for your needs