This is the mail archive of the
ecos-discuss@sourceware.org
mailing list for the eCos project.
RE: RedBoot partition corrupted with bad image
- From: "Bhanu Prakash Adhikari" <bhanua at aztecsoft dot com>
- To: "Gary Thomas" <gary at mlbassoc dot com>
- Cc: <ecos-discuss at sources dot redhat dot com>
- Date: Mon, 5 Mar 2007 19:25:14 +0530
- Subject: RE: [ECOS] RedBoot partition corrupted with bad image
I believe they are not formatted as I get the error without [-r] flag -
(For loading ramdisk)
RedBoot> load -m xmodem -b 0x800000
CCCCUnrecognized image type: 0x1f8b0808
xyzModem - CRC mode, 2(SOH)/0(STX)/0(CAN) packets, 4 retries
RedBoot>
-----Original Message-----
From: ecos-discuss-owner@ecos.sourceware.org
[mailto:ecos-discuss-owner@ecos.sourceware.org] On Behalf Of Gary Thomas
Sent: Monday, March 05, 2007 7:19 PM
To: Bhanu Prakash Adhikari
Cc: ecos-discuss@sources.redhat.com
Subject: Re: [ECOS] RedBoot partition corrupted with bad image
Bhanu Prakash Adhikari wrote:
>
>
> 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 boards 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?
>
>
>
> 3. I tried to load SnapGear image on the board through xmodem so
that
> I can manipulate mtd0; but failed to load snapgear image. What's going
> wrong?
>
>
>
> SETUP -
>
>
>
> Avila GW2348-4-A
>
> 16MB Flash
>
> IXP425
>
> RedBoot 2.02
>
> SnapGear 3.4.0
>
>
>
>
>
>
>
> LOGS
>
> -------
>
> -------
>
>
>
> ---------------------------------------
>
> SNAPGEAR Loading
>
> ---------------------------------------
>
>
>
> RedBoot> load -m xmodem -r -b 0x1600000
>
>
>
> CC_Raw 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_Raw 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
>
> ---------------------------------------
>
>
>
> RedBoot> load -r -b 0x00020000 -m xmodem
>
>
>
> CCC_Raw 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
>
> ---------------------------------------
>
>
>
> 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.
Are you sure that the images you are loading aren't formatted?
e.g. S-record or ELF images? If they are, you should not be
using the raw flag (-r)
--
------------------------------------------------------------
Gary Thomas | Consulting for the
MLB Associates | Embedded world
------------------------------------------------------------
--
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss
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
--
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss