|
I have my custom hardware in house and my new bootstrap (tests all hardware before jumping to U-Boot) runs great. However, U-Boot is getting an occasional crc error on the environment read from serial flash (even though the bootstrap, splash screen, and U-boot) all come from the same serial flash and all are good. After the Kernel is loaded from NFS, it gets a crc error during decompression.
So, in order to troubleshoot this properly, I need to get into U-Boot with my ICE debugger. I can get in but everything is messed up because the code is optimized by some compiler setting so variables are gone and the program counter hops around almost unusable.
Has anyone found where in the multitude of makefiles where I can turn off optimizer and make sure all debug information is included in the U-Boot build?
Thanks, Gary
P.S. The crc errors would lead me to believe I have a DDR config problem on my target hardware but the DDR passes all of my RAM tests and my splash screen looks perfect....
|