[Avila] fail over mechanism strategy (Avila IXP425 ) - need suggestion

Bhanu Prakash Adhikari bhanua at aztecsoft.com
Thu Feb 22 06:02:28 EST 2007


Folks,

I'm working on a fail over mechanism on Avila board with IXP425
processor.

I have a CF with linux image and ramdisk. The board boots fine with CF
image.

Details -

1. Avila GW2348
2. IXP 425
3. RedBoot 2.02
4. Linux 2.6.18	(in CF)
5. SnapGear 3.4.0  =0D

My new requirement is to have a robust fail over mechanism - for example
- when the CF card or the image it has got corrupted for some reason, I
must have a light thin version (may be uClinux or snapgear) of image
should be loaded on the board and continue working with the new
(uClinux/snapgear) image. With the thin image the CF will be rewritten
or reformatted with new image.

My strategy is to have uClinux/snapgear image on the inbuilt flash and
would be invoked when CF is corrupted.

My questions -=0D

1. Suggest me whether I'm on the right direction or not?
2. Can I achieve this by any means through Redboot commands?=0D
3. I find ramdisk must be loaded at 0x00800000 to get properly mounted.
Is it possible to change the location? If so, how can I do that? 4. Can
I have ramdisk for uClinux loaded and written at different location
other than this (0x00800000)?=0D

5. I feel the need of patching redboot with the required logic -=0D

a)	if (CF image =3D=3D corrupt)
	{
		Load uClinux from inbuilt flash
	}

	Or=0D

b)	if (CF image not booted)
	{
		Load uClinux from inbuilt flash=0D
	}

       Do we have any watchdog timer in IXP or in redboot to achieve
this?

Awaiting for your valuable inputs,

Thanks in advance,
Bhanu Prakash A

The information contained in, or attached to, this e-mail, contains=
 confidential information and is intended solely for the use of the=
 individual or entity to whom they are addressed and is subject to legal=
 privilege. If you have received this e-mail in error you should notify the=
 sender immediately by reply e-mail, delete the message from your system=
 and notify your system manager. Please do not copy it for any purpose, or=
 disclose its contents to any other person. The views or opinions presented=
 in this e-mail are solely those of the author and do not necessarily=
 represent those of the company. The recipient should check this e-mail and=
 any attachments for the presence of viruses. The company accepts no=
 liability for any damage caused, directly or indirectly, by any virus=
 transmitted in this email.

www.aztecsoft.com





More information about the Avila mailing list