Initial installation, Download instructions – Comtrol eCos User Manual

Page 216

Advertising
background image

Chapter 5. Installation and Testing

The following RedBoot configurations are supported:

Configuration

Mode

Description

File

POST

[ROM]

RedBoot running from the
first free flash block at
0x40000.

redboot_ROM.ecm

RAM

[RAM]

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

redboot_RAM.ecm

Initial Installation

Unlike other targets, the nanoEngine comes equipped with boot firmware which you cannot modify. See chapter
5, "nanoEngine Firmware" of the nanoEngine Hardware Reference Manual (we refer to "July 17, 2000 Rev 0.6")
from Bright Star Engineering.

Because of this, eCos, and therefore Redboot, only supports a special configuration of the ROM mode, starting at
offset 0x40000 in the flash.

Briefly, the POST-configuration RedBoot image lives in flash following the BSE firmware. The BSE firmware is
configured, using its standard bootcmd command, to run RedBoot at startup.

Download Instructions

You can perform the initial load of the POST-configuration RedBoot image into flash using the BSE firmware’s
load command. This will load a binary file, using TFTP, and program it into flash in one operation. Because no
memory management is used in the BSE firmware, flash is mapped from address zero upwards, so the address for
the RedBoot POST image is 0x40000. You must use the binary version of RedBoot for this,

redboot-post.bin

.

This assumes you have set up the other BSE firmware config parameters such that it can communicate over your
network to your TFTP server.

>load redboot-post.bin 40000

loading ... erasing blk at 00040000

erasing blk at 00050000

94168 bytes loaded cksum 00008579

done

>

> set bootcmd "go 40000"

> get

myip = 10.16.19.198

netmask = 255.255.255.0

eth = 0

gateway = 10.16.19.66

serverip = 10.16.19.66

bootcmd = go 40000

>

112

Advertising