Initial installation, Quick download instructions, Malta download format – Comtrol eCos User Manual
Page 252: Additional commands

Chapter 5. Installation and Testing
Initial Installation
RedBoot is installed using the code download facility built into the Malta board. See the Malta User manual for
details, and also the Malta download format in
the Section called Malta download format
.
Quick download instructions
Here are quick start instructions for downloading the prebuilt RedBoot image.
1. Locate the prebuilt files in the bin directory:
deleteall.fl
and
redboot_ROM.fl
.
2. Make sure switch S5-1 is ON. Reset the board and verify that the LED display reads
Flash DL
.
3. Make sure your parallel port is connected to the 1284 port Of the Atlas board.
4. Send the
deleteall.fl
file to the parallel port to erase previous images:
$ cat deleteall.fl >/dev/lp0
When this is complete, the LED display should read
Deleted
.
5. Send the RedBoot image to the board:
$ cat redboot_ROM.fl >/dev/lp0
When this is complete, the LED display should show the last address programmed. This will be something
like:
1fc17000
.
6. Change switch S5-1 to OFF and reset the board. The LED display should read
RedBoot
.
7. Run the RedBoot fis init and fconfig commands to initialize the flash. See
the Section called Flash Image
and
the Section called Persistent State Flash-based Configuration and Control in
for details.
Malta download format
In order to download RedBoot to the Malta board, it must be converted to the Malta download format.
The Atlas/Malta Developer’s Kit CD contains an srecconv.pl utility which requires Perl. This utility is part of
the
yamon/yamon-src-02.00.tar.gz
tarball on the Dev Kit CD. The path in the expanded tarball is
ya-
mon/bin/tools
. To use srecconv to convert the S-record file:
$ cp redboot_ROM.srec redboot_ROM.rec
$ srecconv.pl -ES L -A 29 redboot_ROM
The resulting file is named
redboot_ROM.fl
.
Additional commands
The exec command which allows the loading and execution of Linux kernels, is supported for this architecture (see
the Section called Executing Programs from RedBoot in Chapter 2
). The exec parameters used for MIPS boards
are:
148