public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
* [U-Boot] how to make debug() print information
@ 2009-08-07  9:59 fluke56512
  2009-08-13  5:12 ` Mike Frysinger
  0 siblings, 1 reply; 2+ messages in thread
From: fluke56512 @ 2009-08-07  9:59 UTC (permalink / raw)
  To: u-boot

Hi everyone~
I am a beginner for u-boot~
I am using 1.3.4 version
now I want to "debug()"  print out information.
I see in /tools/Mkimage.h  have:
"
#define MKIMAGE_DEBUG
#ifdef MKIMAGE_DEBUG
#define debug(fmt,args...) printf (fmt ,##args)
#else
#define debug(fmt,args...)
#endif /* MKIMAGE_DEBUG */
"
how can I do?
thanks~

2009-08-07 



fluke56512 

^ permalink raw reply	[flat|nested] 2+ messages in thread

* [U-Boot] how to make debug() print information
  2009-08-07  9:59 [U-Boot] how to make debug() print information fluke56512
@ 2009-08-13  5:12 ` Mike Frysinger
  0 siblings, 0 replies; 2+ messages in thread
From: Mike Frysinger @ 2009-08-13  5:12 UTC (permalink / raw)
  To: u-boot

On Friday 07 August 2009 05:59:11 fluke56512 wrote:
> Hi everyone~
> I am a beginner for u-boot~
> I am using 1.3.4 version

time to upgrade

> now I want to "debug()"  print out information.

so use it and add "#define DEBUG" to the top of the file before any #include

> I see in /tools/Mkimage.h  have:

dont look at that
-mike
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 836 bytes
Desc: This is a digitally signed message part.
Url : http://lists.denx.de/pipermail/u-boot/attachments/20090813/60b37ca7/attachment.pgp 

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2009-08-13  5:12 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-08-07  9:59 [U-Boot] how to make debug() print information fluke56512
2009-08-13  5:12 ` Mike Frysinger

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox