Superh/sh3(sh7729) hitachi hs7729pci, Overview, Initial installation method – Comtrol eCos User Manual

Page 265: Special redboot commands

Advertising
background image

Chapter 5. Installation and Testing

SuperH/SH3(SH7729) Hitachi HS7729PCI

Overview

RedBoot uses the COM1 and COM2 serial ports (and the debug port on the motherboard). The default serial port
settings are 38400,8,N,1. Ethernet is also supported using a D-Link DFE-530TX PCI plugin card. Management of
onboard flash is also supported.

The following RedBoot configurations are supported:

Configuration

Mode

Description

File

ROM

[ROM]

RedBoot running from the
board’s flash boot sector.

redboot_ROM.ecm

RAM

[RAM]

RedBoot running from
RAM with RedBoot in the
flash boot sector.

redboot_RAM.ecm

Initial Installation Method

A ROM mode RedBoot image must be programmed into the two EPROMs. Two files with a split version of the
ROM mode image is provided: it is also possible to recreate these from the

redboot.bin

file, but requires the

split_word.c program in

hal/sh/hs7729pci/VERSION /misc

to be built and executed with the

redboot.bin

filename as sole argument.

After doing this it is advised that another ROM mode image of RedBoot is programmed into the on-board flash,
and that copy be used for booting the board. This allows for software programmed updates of RedBoot instead of
having to reprogram the EPROMs.

1. Program the EPROMs with RedBoot. The .lo image should go in socket M1 and the .hi image in socket M2.

2. Set switch SW1-6 to ON [boot from EPROM]

3. Follow the instructions under Flash management for updating the flash copy of RedBoot, but force the flash

destination address with

-f 0x80400000

due to setting of the SW1-6 switch.

4. Set switch SW1-6 to OFF [boot from flash] and reboot the board. You should now see the RedBoot banner. At

this time you may want to issue the command fis init to initialize the flash table with the correct addresses.

Special RedBoot Commands

The exec command which allows the loading and execution of Linux kernels is supported for this board (see

the

Section called Executing Programs from RedBoot in Chapter 2

). The exec parameters used for the HS7729PCI are:

161

Advertising