6 updating the netbootloader, 7 updating with an image loaded via an ftp server, 8 uploading a flash area – Kontron VMP3 User Manual

Page 98: Updating the netbootloader - 14, Uploading a flash area - 14, Netbootloader vmp3

Advertising
background image

NetBootLoader

VMP3

Page 5 - 14

© 2005 Kontron Modular Computers GmbH

ID 29230, Rev. 01

29230

.01.UG.VC.050727/091439

P R E L I M I N A R Y

The checksum of every record except end records is checked. Bad records are rejected by the
NetBootLoader. The address range of every record is also checked. Records which fall outside
of the internal buffer are rejected.

The records must be 0-based. This means that it’s address must correspond to the address
where they will be loaded in the data buffer relative to its start. If necessary, the base address
can be modified with the -o option of the “sl” command.

The image must start at the absolute address 0x0 and must contain executable PPC code at
the absolute address 0x100. If S1 or S2 record input is preferred, please note that these
records only include 16 and 24-bit wide addresses. If no switch to another record type is includ-
ed it must be ensured that the code is not larger than the address range covered.

For accessing the Motorola S-Records, both the TERM and SER0 interfaces can be used. The
MC6 (LED1) signal is asserted alternately at a low rate while downloading indicating that the
transfer is in progress. The transfer itself may take several minutes to complete.

Ensure that the XON/XOFF protocol is used on the host side. This is a fixed setting and cannot
be changed. Additionally, ensure that the host does not stop transmission after a number of
lines (e.g. OS-9: use the ‘nopause’ attribute).

The TERM and SER0 serial interface parameters can be modified with the “pf” command.

5.4.6

Updating the NetBootLoader

In addition to programming an application to FLASH, the NetBootLoader itself can be updated.
The new version of the image must be made available via an ftp server.

5.4.7

Updating With an Image Loaded Via an ftp Server

The image is downloaded in the same way as an application image (refer to chapter 5.4.5.3).
The new version of NetBootLoader image is then programmed using the “clone -n” command.

5.4.8

Uploading a FLASH Area

The NetBootLoader also has the possibility to upload certain areas of the FLASH to a host us-
ing the Ethernet port FCC1 (FE). To use this interface this Ethernet port parameters must first
be set and then the operator must gain control of the NetBootLoader and perform an ftp server
login. After a successful login, the operator then stores the FLASH area to be uploaded to the
local data buffer using the “sf” command. Using the “put” command transfers the contents of
the data buffer to the ftp server. As with any type of server session, the operator should logout
when the session is finished.

Note ...

If the data buffer is programmed to FLASH without the -o option (program a start-
able image) the downloaded image is copied to RAM during startup and is exe-
cuted there. For this reason application images which require to be programmed
must start at the address 0x0.

Note ...

Neither the “sl” nor “If” command can be used to program Motorola S-Records to
RAM areas.

Advertising