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


Building Redboot for the Gateworks Avila GW2348

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


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 if ecosconfig fails to find it such as:
    sudo ln -s /usr/lib/

Step-by-Step Instructions for building redboot

  1. Download redboot from Gateworks SVN
    svn co
  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

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 appropriate bootloader binary from the images directory to your target:
    • rb-526.bin - bootloader that sets machine id to 526 - AVILA (this is most likely what you want)
    • rb-245.bin - bootloader that sets machine id to 245 - IXDP425 (some people use this for historical reasons)

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