<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
<br>
<br>
Wolfgang Denk wrote:
<blockquote cite="mid:20080222144953.E62F4243AB@gemini.denx.de"
type="cite">
<pre wrap="">In message <a class="moz-txt-link-rfc2396E" href="mailto:47BEDD10.10501@acdstar.com"><47BEDD10.10501@acdstar.com></a> you wrote:
</pre>
<blockquote type="cite">
<pre wrap="">I'm successfully booting from NAND flash on the DaVinci EVM, but my
environment variables fail the CRC. I get the correct CRC when
executing the crc32 command on the relocated memory. This problem
doesn't occur when running same version (U-Boot-1.3.1) with the
MontaVista (EABI GCC 3.4.3) tools rather than ELDK 4.1 (GCC 4.0). Seems
it may stem from the calling interface (EABI vs. ABI?), but casting
</pre>
</blockquote>
<pre wrap=""><!---->
It's IMHO more likely that GCC 4.x has better optimization and
triggers a bug in the code like a missing "volativle" resp. missing or
incorrect use of accessor functions.
</pre>
</blockquote>
Problem also eliminated when using toolchain built from
crosstool-0.43 for arm926ej-s (GCC 4.1.0). This may suggest the bug is
actually in the compiler (or improper switches). I may do an objdump
on each, if I have time. Thanks for the prompt response.<br>
Cheers,<br>
Mark<br>
<blockquote cite="mid:20080222144953.E62F4243AB@gemini.denx.de"
type="cite">
<pre wrap="">
It may be worth to try and run latest code...
Best regards,
Wolfgang Denk
</pre>
</blockquote>
</body>
</html>