/*
 * (C) Copyright 2007 Tundra Semiconductor Corp.
 * Applications Engineering, www.tundra.com).
 *
 * This is free software; you can redistribute it and/or
 * modify it under the terms of the GNU General Public License as
 * published by the Free Software Foundation; either version 2 of
 * the License, or (at your option) any later version.
 *
 * This program is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.	 See the
 * GNU General Public License for more details.
 *
 * You should have received a copy of the GNU General Public License
 * along with this program; if not, write to the Free Software
 * Foundation, Inc., 59 Temple Place, Suite 330, Boston,
 * MA 02111-1307 USA
 */

Any questions should be directed to
http://www.tundra.com/Support/SupportForm.cfm

HISTORY:
Mar 22, 2007  Jason McKenna, Applications Engineer, Tundra Semiconductor Corp.
              Based on previous version (for Tsi108) by Tim Fairfield (Tundra
              Semiconductor Corp.)

The Tundra U-Boot release supports IBM 750CL + Tundra TSI110.  Tested using
ELDK 4.0 cross compile tools.
 
NOTE: saveenv command will only work if I2C EEPROM (MICROCHIP 24lc16B) is
installed. It is recommended to overwrite defaults with custom MAC and IP
addresses.

To install:

- Unzip this tree
tar -xjvf u-boot1.1.4.tar.bz2

- Configure ELDK 4.0 cross compile tools (your path may be different)
export ARCH=ppc
export CROSS_COMPILE=ppc_7xx-
export PATH=/tools/eldk/4.0/usr/bin:/tools/eldk/4.0/bin:$PATH

- Clean, configure and make:
make distclean
make tsi110evb_config  
make all




Below is an example build session:


bash-2.05b$  make distclean
find . -type f \
\( -name 'core' -o -name '*.bak' -o -name '*~' \
-o -name '*.o'  -o -name '*.a'  \) -print \
| xargs rm -f
rm -f examples/hello_world examples/timer \
      examples/eepro100_eeprom examples/sched \
      examples/mem_to_mem_idma2intr examples/82559_eeprom \
      examples/test_burst
rm -f tools/img2srec tools/mkimage tools/envcrc tools/gen_eth_addr
rm -f tools/mpc86x_clk tools/ncb
rm -f tools/easylogo/easylogo tools/bmp_logo
rm -f tools/gdb/astest tools/gdb/gdbcont tools/gdb/gdbsend
rm -f tools/env/fw_printenv tools/env/fw_setenv
rm -f board/cray/L1/bootscript.c board/cray/L1/bootscript.image
rm -f board/trab/trab_fkt board/voiceblue/eeprom
rm -f board/integratorap/u-boot.lds board/integratorcp/u-boot.lds
find . -type f \( -name .depend \
-o -name '*.srec' -o -name '*.bin' -o -name u-boot.img \) \
-print0 \
| xargs -0 rm -f
rm -f cpu/74xx_7xx/start.o *.bak tags TAGS
rm -fr *.*~
rm -f u-boot u-boot.map u-boot.hex u-boot.srec u-boot.bin System.map
rm -f tools/crc32.c tools/environment.c tools/env/crc32.c
rm -f tools/inca-swap-bytes cpu/mpc824x/bedbug_603e.c
rm -f include/asm/proc include/asm/arch include/asm
bash-2.05b$
bash-2.05b$
bash-2.05b$ make tsi110evb_config
Configuring for tsi110evb board...
bash-2.05b$
bash-2.05b$ make all

<<you should see  build process which will take under a minute to complete>>
...
...
...
ppc_74xx-objcopy --gap-fill=0xff -O srec u-boot u-boot.srec
ppc_74xx-objcopy --gap-fill=0xff -O binary u-boot u-boot.bin
bash-2.05b$


Your u-boot images are in the root

bash-2.05b$ ls u* -als
 552 -rwxr-xr-x    1 jmckenna tun        559340 Mar 22 10:32 u-boot
 184 -rwxr-xr-x    1 jmckenna tun        182004 Mar 22 10:32 u-boot.bin
 136 -rw-r--r--    1 jmckenna tun        131428 Mar 22 10:32 u-boot.map
 540 -rwxr-xr-x    1 jmckenna tun        546154 Mar 22 10:32 u-boot.srec
bash-2.05b$

The above output will confirm you have successfully built your image. 
Because of the many configuration/system variables your build process may be
different.  This is meant as a guide only.

