This is the mail archive of the
ecos-discuss@sources.redhat.com
mailing list for the eCos project.
RE: Redboots CRC checking
- From: Gary Thomas <gary at mlbassoc dot com>
- To: Winkler Andreas <andreas dot aw dot winkler at siemens dot com>
- Cc: eCos Discussion <ecos-discuss at ecos dot sourceware dot org>
- Date: Fri, 28 May 2004 07:51:50 -0600
- Subject: RE: [ECOS] Redboots CRC checking
- Organization: MLB Associates
- References: <BCB494E8B7BF2D40B56D1164C67BC2A801B168BF@kher443a.ww004.siemens.net>
Please copy the eCos discussion list so that all may benefit. Private
email is only available with a support contract from MLB Associates.
On Fri, 2004-05-28 at 01:34, Winkler Andreas wrote:
> > I've applied the attached patch, so this should now work as expected.
>
> Hi Gary,
>
> after applying the patch i rebuilt Redboot and tried it.
> But it doesn't work.
> So i looked into the patch. The concerned file should be
> pachages/hal/arm/arch/current/src/redboot_linux_exec.c.
> There i find an addon
> if (entry == (unsigned long)NO_MEMORY) {
> diag_printf("Can't execute Linux - invalid entry address\n");
> return;
> }
> For me this doesn't look like a CRC check.
> Or did I make a mistake in building Redboot?
No - the "fis load" command will set 'entry_address' to 'NO_MEMORY' if
there is a CRC error. This code should catch that and cause the 'exec'
command to fail. Of course, it can only do this if you do not specify
an entry point address.
Exactly what does it do? Perhaps you could print the value of 'entry'
when it gets to this point.
--
Gary Thomas <gary@mlbassoc.com>
MLB Associates
--
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss