
Hi Remy,
Le jeudi 31 juillet 2008 à 15:24 +0200, Remy Bohmer a écrit :
Hello Stelian and others,
I have made some progress here, and I would like to inform you all:
[...]
I have done a lot of debugging/testing etc. and I noticed that binary deliverables of U-boot for the evaluationkit work properly with USB-storage devices on the AT91SAM9261-EK kit. They were all based on U-boot 1.1.3, 1.1.4, 1.1.5 Atmel versions.
But, I was not able to get a working version when I build such a code tree myself. I use gcc version 4.2.3 (Sourcery G++ Lite 2008q1-126) An hour ago I got the stupid idea to get an older compiler: gcc version 3.4.2 (release) (CodeSourcery ARM Q3D 2004)
FYI, I have been using a CS toolchain here too (2007q3) and had optimisation problems with it (net/net.c:NetReceive() gets miscompiled when using -Os, but behaves correctly when compiled with -O2).
I didn't have any problems with the (older) ELDK 4.1 gcc compiler. Maybe you should try it first.