Skip to contentSkip to conversation

serial debug during init

U-Boot-Users William Oppermann 2 participants 2 messages Dec 11, 2006

lore
Share & tools
lore
#0 lore raw

My target is a PPC 440 Spe processor.

In the ./lib_ppc/board.c file there is a debug function to dump serial status during the init process.

I presume there is some compile option to activate this feature!

Can someone point me in the right direction please?

regards,

WO

--
No virus found in this outgoing message.
Checked by AVG Free Edition.
Version: 7.1.409 / Virus Database: 268.15.15/581 - Release Date: 09/12/2006 -------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.denx.de/pipermail/u-boot/attachments/20061211/725658eb/attachment.htm

#1 lore raw

Dear William,

Quoted 5 lines · in message <[email protected]> you wrote:

In the ./lib_ppc/board.c file there is a debug function to dump serial status during the init process.

I presume there is some compile option to activate this feature!

Please feel free to remove the '#' which comments out the "-DDEBUG" part in the definition of DBGFLAGS in "config.mk". But note that this might turn on much mnore debug output than you are interested in. Adding a "#define DEBUG" before the first #include line in the file(s) you want to get debug output from is probably less noisy.

Best regards,

Wolfgang Denk

Signature · 4 lines
Software Engineering:  Embedded and Realtime Systems,  Embedded Linux
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
All men should freely use those seven words which have the  power  to
make any marriage run smoothly: You know dear, you may be right.