[Avila] RedBoot partition corrupted with bad image;

Bhanu Prakash Adhikari bhanua at aztecsoft.com
Mon Mar 5 08:37:05 EST 2007


My redboot partition got corrupted with my experiments to load custom
build redboot.

I copied the RedBoot image from Linux using /dev/mtd0. The bad part is
that the two boards I have, got RedBoot partition screwed.

1.	How can I make my board come alive?

2.	My board allows loading through http, tftp, and serial but not
from disk. I tried to load RedBoot using xmodem but got strange
characters. Ethernet was also not accessible as the NPE drivers were not
properly integrated with RedBoot. How can I successfully load the
redboot (ROM/RAM images) using serial, since I don't have JTAG?

4.	I tried to load SnapGear image on the board through xmodem so
that I can manipulate mtd0; but failed to load snapgear image.

SETUP -=0D

Avila GW2348-4-A
16MB Flash
IXP425
RedBoot 2.02
SnapGear 3.4.0

LOGS
-------
-------

---------------------------------------
SNAPGEAR Loading=0D
---------------------------------------

RedBoot> load -m xmodem -r -b 0x1600000

CC=06Raw file loaded 0x01600000-0x01706e37, assumed entry at 0x01600000

xyzModem - CRC mode, 8413(SOH)/0(STX)/0(CAN) packets, 2 retries

RedBoot> load -m xmodem -r -b 0x800000

CC=06Raw file loaded 0x00800000-0x00a4b987, assumed entry at 0x00800000

xyzModem - CRC mode, 18804(SOH)/0(STX)/0(CAN) packets, 2 retries

RedBoot> go -n 0x1600000

$T0a0f:fffffffe;0d:ffffffff;#58$T0a0f:fffffffe;0d:ffffffff;#58$T0a0f:fff
ffffe;0d
:ffffffff;#58$T0a0f:fffffffe;0d:ffffffff;#58$T0a0f:fffffffe;0d:ffffffff;
#58$T0a0
f:fffffffe;0d:ffffffff;#58$T0a0f:fffffffe;0d:ffffffff;#58$T0a0f:fffffffe
;0d:ffff
ffff;#58$T0a0f:fffffffe;0d:ffffffff;#58$T0a0f:fffffffe;0d:ffffffff;#58$T
0a0f:fff
ffffe;0d:ffffffff;#58$T0a0f:fffffffe;0d:ffffffff;#58$T0a0f:fffffffe;0d:f
fffffff;
#58$T0a0f:fffffffe;0d:ffffffff;#58$T0a0f:fffffffe;0d:ffffffff;#58$T0a0f:
fffffffe
;0d:ffffffff;#58$T0a0f:fffffffe;0d:ffffffff;#58$T0a0f:fffffffe;0d:ffffff
ff;#58$T
0a0f:fffffffe;0d:ffffffff;#58$T0a0f:fffffffe;0d:ffffffff;#58$T0a0f:fffff
ffe;0d:f
fffffff;#58$T0a0f:fffffffe;0d:ffffffff;#58

---------------------------------------
REDBOOT Loading=0D
---------------------------------------

RedBoot> load -r -b 0x00020000 -m xmodem

CCC=06Raw file loaded 0x00020000-0x0006d6d7, assumed entry at 0x00020000

xyzModem - CRC mode, 2478(SOH)/0(STX)/0(CAN) packets, 3 retries

RedBoot> go -n 0x20000

$T0a0f:fffffffe;0d:ffffffff;#58

---------------------------------------
BOARD Logs=0D
---------------------------------------

RedBoot> version

RedBoot(tm) bootstrap and debug environment [ROM]

Non-certified release, version UNKNOWN - built 02:13:17, Mar  2 2007

Platform: IXDP425 Development Platform (XScale) BE

Copyright (C) 2000, 2001, 2002, 2003, 2004 Red Hat, Inc.

Copyright (C) 2003, 2004, 2005, 2006 eCosCentric Limited

RAM: 0x00000000-0x10000000, [0x00017440-0x0ffd1000] available

FLASH: 0x50000000 - 0x51000000, 128 blocks of 0x00020000 bytes each.

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