beautypg.com

3 bw, 4 cbl, 5 clone – Kontron NetBootLoader User Manual

Page 19: Clone, Nbl operation netbootloader

background image

ID 1022-8317, Rev. 2.0

NBL Operation

NetBootLoader

Page 11

Refer to the SETCORE command for further information.

When RUN is executed, BL is used in addition to the common bootline from the NBL EEPROM
which was set with “cbl c ”.

The sum of all bootlines (bl and cbl) for one core must not exceed 256 characters. To verify the
status of bootlines, use the FDT_SHOW command.

When no bootline is specified, the bootline 0 from the NBL EEPROM (cbl 0) is used as the boot-
line.

2.7.3

BW

This command is used to display or set the actual boot wait time used by the NetBootLoader
to delay the boot operation before proceeding with the loading and starting of an application. If
this time is set too short it may not be possible to gain access to the NetBootLoader.

The boot wait time value is stored in the boot section of the serial EEPROM. This section is
validated with a CRC code to avoid the setting of random parameters.

To validate an invalid CRC, an operating system utility must be used, or, alternatively, the “-f”
option of the BW command must be issued.

2.7.4

CBL

This command is used to set or display a bootline associated with a particular kernel image or
which is common to all images.

When an image is programmed to NBL Flash memory, it is assigned an ID number (0, 1, 2, or
3). This number is used to identify which image is to be addressed by the command CBL.

In addition, a bootline common to all images may also be defined using the “c” parameter.

The sum of all bootlines (bl and cbl) for one image must not exceed 256 characters. To verify
the status of bootlines, use the FDT_SHOW command.

2.7.5

CLONE

Products which have only one NOR Flash require access to additional Flash memory to sup-
port the CLONE command without the “-n” option. E²Brains require that their carrier boards pro-
vide this functionality if it is to be supported. Other products may or may not provide this
capability with onboard Flash. Refer to the product User Guide for further information or contact
Kontron for assistance.

Note ...

If the CRC of the boot section is not valid, changing the boot wait time will have
no effect because the BW command does not validate an invalid CRC. In this
case, a default timing of 5 seconds is always used.

WARNING!

Using the “bw -f” command to validate invalid entries may adversely impact the
operation of the operating system.