Znyx Networks bh5700 User Manual

Page 85

Advertising
background image

Figure 6.2: Boot Flow Chart

Under normal circumstances, the booting up process follows the process outlined in Figure 6.2.
During boot up, the zmon bootloader reads the device bootstring to locate and validate the
correct application image to load. The bootstring command is in the following format:

boot : X | [<options>] X represents the device value 0, 1 or 2

The boot process opens and uncompresses the initrd image onto the RAM disk. Then zmon
begins booting the Linux image. After Linux boots, the init process executes the
/etc/init.d/rcS script which, in turn, executes /etc/rcZ.d/rc (see Figure 6.3: Init Script

Flow). The /etc/rcZ.d/rc script runs S* files in /etc/rcZ.d, with the start parameter. The S*
files are the switch configuration files (for example,

S50layer2).

Ethernet Switch Blade User's Guide

release 3.2.2j

page 85

Bootloader examines the

bootstring in the boot

ROM

Determines

if the boot string

is dev1

Loads image

from Flash 1

to RAM

Yes

No

Boot into

zmon bootloader

No

Yes

Determines

if the boot String

is dev2

Loads image

from Flash 2

to RAM

Begins

execution of

RAM image

Advertising