Starting up a new board with a PXA270, the console output from
printf calls in board.c contains garbage, whereas puts works fine.
It appears the vsprintf call in printf works correctly, but printf's
local char buffer has a few alternate correct characters at its
very beginning followed by junk.

Everything else seems to work correctly: this SDRAM area can be written 
to with a debugger.   But test functions (similar to printf) that copy a
string parameter to a local buffer and then call puts also produce garbage.

Buffers initialized (i.e., char t [12] = "Testing...";) in these 
functions will print (with puts) ONLY if their size is <= 32.  Their 
contents become garbage when other data are copied to them, regardless 
of size.

I haven't yet tried to start a ramdisk or image; without correct output
from printf or the debug () macro it would be futile.

Thanks for any ideas.

JP

-------------------------------------------------------------------------
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
[email protected]
https://lists.sourceforge.net/lists/listinfo/u-boot-users

Reply via email to