AM4100
NetBootLoader
ID 36126, Rev. 2.0
Page 5 - 13
P R E L I M I N A R Y
To perform a download from an FTP server, the operator must first login to the FTP server. After
a successful login, the operator then locates the image file required and downloads it to the
data buffer. As with any type of server session, the operator should logout when the session is
finished.
5.4.5.4
Motorola S-Records
The NetBootLoader will also accept Motorola S-Records as an image. The SL command ac-
cepts S1, S2 and S3 records. Operation is terminated by the appropriate S9, S8 or S7 record.
Other types of records are ignored.
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 each record’s address must correspond to the
address where it will be loaded in the data buffer relative to its start. If necessary, the base ad-
dress can be modified with the -o option of the SL command.
The image must start at the absolute address 0x0 and the entry point of the executable PPC
code must be at address 0x0 (FDT enabled) or 0x100 (FDT disabled). If S1 or S2 record input
is preferred, please note that these records only include 16 and 24-bit wide addresses.
For accessing the Motorola S-Records, both the SER0 and SER1 interfaces can be used. The
user specific LED (ULED0) blinks green 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 SER0 and SER1 serial interface parameters can be modified with the PF command.
N o t e . . .
The commands TFTP, GET, and LS use the same data buffer. Therefore if an LS
command is issued after a TFTP or GET command the data buffer will be over-
written. If an LF command follows the LS the NetBootLoader refuses to program
the overwritten data buffer to the NBL Flash memory.
N o t e . . .
If the data buffer is programmed to NBL Flash memory without the -o option (pro-
gram a startable image) the downloaded image is copied to RAM during startup
and is executed there. For this reason images which require to be programmed
must start at the address 0x0.
N o t e . . .
Neither the SL nor LF command can be used to program Motorola S-Records to
RAM areas.
Summary of Contents for AM4100
Page 19: ...AM4100 Introduction ID 36126 Rev 2 0 Page 1 1 Introduction Chapter 1 1 P R E L I M I N A R Y...
Page 57: ...AM4100 Installation ID 36126 Rev 2 0 Page 3 1 Installation Chapter 1 3 P R E L I M I N A R Y...
Page 65: ...AM4100 Configuration ID 36126 Rev 2 0 Page 4 1 Configuration Chapter 1 4 P R E L I M I N A R Y...
Page 89: ...AM4100 NetBootLoader ID 36126 Rev 2 0 Page 5 1 NetBootLoader Chapter 1 5 P R E L I M I N A R Y...