| Name | Modified | Size | Downloads / Week |
|---|---|---|---|
| ENS3060-eCOS-Redistribution.zip | 2013-03-16 | 58.4 MB | |
| readme.txt | 2013-03-16 | 2.9 kB | |
| Totals: 2 Items | 58.4 MB | 0 |
Installation, Build and Download
VCORE-III (MIPS)
GNU Tools
The software is built using GNU and eCos tools.
http://ecos.sourceware.org/build-toolchain.html for how to roll your own.Use tool chain for MIPS processor(mipsisa32-elf)
For both VCORE-II and VCORE-III based chips the TCL shell is required when compiling the eCos operating system.
The availability of TCL can be checked by issuing the 'which tclsh' command,
and verifying that a working binary is found. If the TCL shell is not available, please consult you Linux documentation for instructions on how to install the package containing tclsh
For VCORE-III based chips.
To test whether the compiler works correctly, issue the following command:
$ mipsisa32-elf-gcc --version
The output should be equivalent to:
mipsisa32-elf-gcc (eCosCentric GNU tools 4.3.2-sw) 4.3.2
Copyright (C) 2008 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
Build RedBoot
The boot loader, RedBoot is a part of eCos and can be built as described below. The build is done in the normal source tree. It is recommended to clean out the build directory initially by the make clobber command. The boot loader is subject to the same platform configuration selection as the build in the previous section.
$ cd <destination-directory>/build
$ make clobber
$ make redboot
After compiling the RedBoot images are in the obj directory. The .bin image is the ROM version, which can be programmed into the (boot) flash, whereas the .elf version is the RAM version, which can be run directly from RAM. The latter image requires that the DDR memory system in the system has been initialized, and the ELF image has been loaded appropriately into the RAM normally done by a JTAG probe.
$ ls -l obj/redboot*.{bin,elf}
-rwxr-xr-x 1 lpovlsen epdeng 114496 Aug 30 09:46 obj/redboot.bin
-rwxr-xr-x 1 lpovlsen epdeng 430287 Aug 30 09:46 obj/redboot-
ram.elf
Cleaning builds
A build can be clean at 3 different levels using make in /build. The levels are
make mrproper - Removes all object files + config.mk files (complete clean)
make clobber Removes all object files
make clean Removes all object files except eCos files.
Downloading RedBoot
Using JTAG Probe
The RedBoot image (redboot.bin or redboot.elf) may be downloaded using a JTAG
probe. Please refer to your JTAG probe vendor for instructions on this.
Using RedBoot
If the switch already has a RedBoot image running, an updated version may be downloaded via XMODEM over the serial port and stored to flash:
For VCORE-III based chips
RedBoot> load -b 0x80040000 -r redboot
[Now send redboot.bin via Xmodem]
RedBoot> fis wr -b 0x80040000 -l 0x40000 f 0x40000000