
Dear Virupax SS,
In message OFD81A0F58.8612F8F9-ON652575F6.002D2C08-652575F6.0030964A@lntemsys.com you wrote:
You are correct if i use u-boot 1.3.0 with this 4.3.2 compiler, usb works fine.
Good. Note that U-Boot 1.3.0 is very, very old, too.
we have done a lot of customization on u-boot 1.1.5 and it will take a lot of time to do those changes to the new u-boot 1.3.0.
"new u-boot 1.3.0" is an oxymoron. U-Boot 1.3.0 is nearly two years old.
I hope you will now learn the lesson of what it gives to you to maintain an out-of-tree port. If you had pushed your changes upstream when 1.1.5 was current, you wouldn't have any problems now. I can only hope that you will do this after adapting your code to a recent code base (make sure to use top-of-tree from git for this).
can u please tell me what compiler related change is done in the new u-boot releases so it works with the 4.3.2 GCC compiler.In which part of the code it is done , is it in the makefile.
It makes no sense to attempt to backport that stuff to such an ancient release. Please update your code.
When we used 4.3.2 gcc to compile the u-boot 1.1.5 , ethernet drivers were not working and after making some of the variables volatile , ethernet driver worked fine.
We don't access registers through (volatile) pointers any more for this very reason - today we are using proper accessor functions that make sure compiler optimizations will do no harm.
Just use current code.
Best regards,
Wolfgang Denk