[U-Boot-Users] serial debug during init

Wolfgang Denk wd at denx.de
Mon Dec 11 22:11:46 CET 2006


Dear William,

in message <HBEJJCJKELFDJDFGMGGHEECADGAA.wo at mpstor.com> 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

-- 
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.




More information about the U-Boot mailing list