
44
Tsi620 Evaluation Board User Manual
60D7000_MA001_03
Intergrated Device Technology
www.idt.com
2.1.3
Installing the PMC Software
The PMC software is pre-installed on the Flash memory of the PMC. Re-installation is only required if
you need to modify the software (see
“Modifying the PMC Software”
).
Installing the software onto the Flash memory of the PMC requires it to be transferred to the card using
a TFTP server. Note that kernels must be in “cuImage” or “compatibility uImage” file format, and that
ramdisks must be in U-Boot image file format. The default images included on the CD are of this
format.
To install the PMC software, complete the following steps:
1. Follow step 1 to 3 in
“Running the Software Using Ramdisk”
to enter the U-boot console.
2. Set the PMC’s IP address to a static value using the
setenv ipaddr
command (example: setenv
ipaddr 192.168.1.6).
3. Set the address of the server to be used by using the
setenv serverip
command (example:
setenv serverip 192.168.1.50).
4. If installing a new Linux kernel, set the name of the kernel file on the TFTP server by using the
setenv kernel
command (for example,
setenv kernel cuImage.mpc834x
). Transfer
the kernel and save it to flash using
run install_kernel
.
5. If installing a new ramdisk, set the name of the image file on the TFTP server by using the
setenv ramdisk
command (for example,
setenv ramdisk ramdisk.img
). Transfer the
file and save it to flash using
run install_ramdisk
.
6. Run
saveenv
to save changed environment variables to flash (this is required to update file
sizes).
2.1.4
Modifying the PMC Software
To modify the PMC software, different steps must be followed depending on which aspect of the PMC
software you wish to modify.
2.1.4.1
Modifying the Linux Kernel
To modify the Linux kernel, unpack the source code from the CD into a directory of your choice. The
kernel may be compiled with ELDK 4.1 software available from DENX (www.denx.de) with the
“ARCH” and “CROSS_COMPILE” environment variables set to “powerpc” and “ppc_82xx-”
respectively. Note that the included Linux kernel source has been modified by IDT to support
additional RapidIO functionality, and to include the rio-dev driver. These modifications can be
distributed to customers or applied to your own custom software under the terms of the GPL. A sample
kernel configuration file which will build the kernel with these features enabled is included in
config.rio in the source directory. This file can be copied to “.config” to build a kernel with identical
functionality to the included precompiled kernel.
Example:
[/root] export ARCH=powerpc
[/root] export CROSS_COMPILE=ppc_82xx-
[/root] tar -xjf linux-2.6.26-rio
[/root] cd linux-2.6.26-rio