Bootloader examines the

 

 

bootstring in the boot

 

 

ROM

 

 

Determines

Yes

Loads image

if the boot string

 

from Flash 1

is dev1

 

to RAM

No

 

 

Determines

Yes

Loads image

if the boot String

from Flash 2

is dev2

 

to RAM

No

 

 

Boot into

 

Begins

zmon bootloader

 

execution of

 

 

RAM 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

Page 85
Image 85
Znyx Networks bh5700 manual Boot Flow Chart