Initial installation method, Special redboot commands – Comtrol eCos User Manual

Page 263

Advertising
background image

Chapter 5. Installation and Testing

Initial Installation Method

The Solution Engine ships with the Hitachi boot monitor in EPROM which allows for initial programming of
RedBoot:

1. Set switch SW4-1 to ON [boot from EPROM]

2. Connect a serial cable to CN1 (SCI) and power up the board.

3. After the boot monitor banner, invoke the flash download/program command:

Ready

>

fl

4. The monitor should now ask for input:

Flash ROM data copy to RAM

Please Send A S-format Record

At this point copy the RedBoot ROM SREC file to the serial port:

$ cat redboot_SE7709RP_ROM.eprom.srec

>

/dev/ttyS0

Eventually you should see something like

Start Addrs = A1000000

End Addrs = A1xxxxxx

Transfer complete

from the monitor.

5. Set switch SW4-1 to OFF [boot from flash] and reboot the board. You should now see the RedBoot banner.

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 SE77x9 are:

-b <

addr>

Parameter block address. This is normally the first page of the kernel image and defaults to 0x8c101000

-i <

addr>

Start address of initrd image

-j <

size>

Size of initrd image

-c

"args"

Kernel arguments string

-m <

flags>

Mount rdonly flags. If set to a non-zero value the root partition will be mounted read-only.

-f <

flags>

RAM disk flags. Should normally be 0x4000

159

Advertising