Wolfgang Denk wrote:
In message <[EMAIL PROTECTED]> you wrote:
  
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 
    

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.
  
       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.
Cheers,
Mark
It may be worth to try and run latest code...

Best regards,

Wolfgang Denk

  
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
U-Boot-Users mailing list
U-Boot-Users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/u-boot-users

Reply via email to