This is the mail archive of the
ecos-discuss@sources.redhat.com
mailing list for the eCos project.
Re: [Fwd: How to enable redboots CRC checking]
- From: Gary Thomas <gary at chez-thomas dot org>
- To: Winkler Andreas <andreas dot aw dot winkler at siemens dot com>
- Cc: eCos Discussion <ecos-discuss at ecos dot sourceware dot org>
- Date: Wed, 05 May 2004 04:52:15 -0600
- Subject: Re: [ECOS] [Fwd: How to enable redboots CRC checking]
- References: <4098BE57.9000801@eCosCentric.com>
On Wed, 2004-05-05 at 04:13, Jonathan Larmour wrote:
> This was misaddressed...
The 'fis load' with CRC checking function in RedBoot had suffered some
bitrot (the CDL option changed names, but the code did not). This has
now been repaired, as seen below:
RedBoot> lo -r -b 0x100000 -h 192.168.1.125 test.JFFS2
Using default protocol (TFTP)
Raw file loaded 0x00100000-0x00298483, assumed entry at 0x00100000
RedBoot> fi cr JFFS2
An image named 'JFFS2' exists - continue (y/n)? y
RedBoot> fi lo JFFS2
RedBoot> fi li
Name FLASH addr Mem addr Length Entry point
RedBoot 0xC0000000 0x00100000 0x00080000 0x00100100
JFFS2 0xC0080000 0x00100000 0x00400000 0x00100000
FIS directory 0xC7FFC000 0xC7FFC000 0x00004000 0x00000000
RedBoot> fi wr -f 0xc0080000 -b 0x200000 -l 0x80000
* CAUTION * about to program FLASH
at 0xc0080000..0xc00fffff from 0x00200000 - continue (y/n)? y
RedBoot> fi lo JFFS2
** Warning - checksum failure. stored: 0x78d127ea, computed: 0xf08ba2c8
--
Gary Thomas <gary@chez-thomas.org>
--
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss