02.03.2014 Views

Tornado

Tornado

Tornado

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

<strong>Tornado</strong> 2.0<br />

User’s Guide<br />

TSFS Boot Configuration<br />

The simplest way to boot a target that is not on a network is over the TSFS (which<br />

does not involve configuring SLIP or PPP). The TSFS can be used to boot a target<br />

connected to the host by one or two serial lines, or a NetROM connection.<br />

! WARNING: The TSFS boot facility is not compatible with WDB agent network<br />

configurations. See 4.6 Configuring the Target-Host Communication Interface, p.137.<br />

To configure a boot program for TSFS, edit the boot line parameters defined by<br />

DEFAULT_BOOT_LINE in config.h (or change the boot parameters at the boot<br />

prompt). The “boot device” parameter must be tsfs, and the file path and name<br />

must be relative to the root of the host file system defined for the target server (see<br />

Configuring Boot Parameters, p.145 and Target-Server Configuration Options, p.76).<br />

Regardless of how you specify the boot line parameters, you must reconfigure (as<br />

described below) and rebuild the boot image.<br />

If two serial lines connect the host and target (one for the target console and one<br />

for WDB communications), config.h must include the lines:<br />

#undef CONSOLE_TTY<br />

#define CONSOLE_TTY 0<br />

#undef WDB_TTY_CHANNEL<br />

#define WDB_TTY_CHANNEL 1<br />

#undef WDB_COMM_TYPE<br />

#define WDB_COMM_TYPE WDB_COMM_SERIAL<br />

#define INCLUDE_TSFS_BOOT<br />

If one serial line connects the host and target, config.h must include the lines:<br />

#undef CONSOLE_TTY<br />

#define CONSOLE_TTY<br />

NONE<br />

#undef WDB_TTY_CHANNEL<br />

#define WDB_TTY_CHANNEL 0<br />

#undef WDB_COMM_TYPE<br />

#define WDB_COMM_TYPE WDB_COMM_SERIAL<br />

#define INCLUDE_TSFS_BOOT<br />

For a NetROM connection, config.h must include the lines:<br />

#undef WDB_COMM_TYPE<br />

#define WDB_COMM_TYPE WDB_COMM_NETROM<br />

#define INCLUDE_TSFS_BOOT<br />

With any of these TSFS configurations, you can also use the target server console<br />

to set the boot parameters by defining the INCLUDE_TSFS_BOOT_VIO_CONSOLE<br />

macro in config.h. This disables the auto-boot mechanism, which might otherwise<br />

boot the target before the target server could to start its virtual I/O mechanism.<br />

146

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!