[ECOS] RedBoot partition corrupted with bad image
Gary Thomas
gary@mlbassoc.com
Mon Mar 5 13:48:00 GMT 2007
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
More information about the Ecos-discuss
mailing list