[U-Boot] Debugging u-boot

Kantanu Kumar Mohapatra kantanukumar at gmail.com
Tue Oct 7 08:30:12 CEST 2014


Hi

In reply to this, can anyone please suggest me, how to debug the
fw_printenv code in u-boot?
I am using buildroot-2014.02, which used uboot-tools-2014.01. But I am
having few custom changes in uboot-2010.03, those I want to use, in
tools-2014.01 I can see as of now, the code fails on fw_printenv().

Thanks,
Kantanu

Dear Kantanu,

In message <
20141002235515.0f6337076cc849064921372b9de1c389.ce86d191f7.mailapi at email10.secureserver.net>
you wrote:
>
> I am Kantanu, working for U-Boot related stuff as a freelancer. Can
> you please suggest how to see the u-boot logs. I am using syslog to
> see the logs, but how to get these u-boot stderr logs to syslog?

It is always best to ask such questions on the U-Boot mailing list.

U-Boot does not support a file concept, and thus no file redirection
either. So there is no easy way to "redirect" console output to a log
buffer. You would have to implement such a redirecting driver.

Best regards,

Wolfgang Denk

-- 
DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
"What if" is a trademark of Hewlett Packard, so stop using it in your
sentences without permission, or risk being sued.


More information about the U-Boot mailing list