Skip to contentSkip to conversation

printf question - board at91rm9200

U-Boot-Users CG 2 participants 2 messages Apr 21, 2004

lore
Share & tools
lore

CG

author
#0 lore raw

Hello,

I think that's not really important for you, but I really don't know where printf() function is declared in u-boot 1.0.0?

I see everywhere that printf is called in many and many functions, but I really don't know how the string is sent through the debug serial port?

Anybody can tell how does it work?

The same question for input function like getc...

Regards

#1 lore raw
Quoted 3 lines · In message <015101c427e1$b7b45470$6b01a8c0@cc> you wrote:

I think that's not really important for you, but I really don't know where printf() function is declared in u-boot 1.0.0?

See include/common.h

Quoted 6 lines

I see everywhere that printf is called in many and many functions, but I really don't know how the string is sent through the debug serial port?

Anybody can tell how does it work?

The same question for input function like getc...

Please learn to use tools. Start with "man grep".

Best regards,

Wolfgang Denk

Signature · 4 lines
Software Engineering:  Embedded and Realtime Systems,  Embedded Linux
Phone: (+49)-8142-4596-87  Fax: (+49)-8142-4596-88  Email: wd at denx.de
One possible reason that things aren't going  according  to  plan  is
that there never was a plan in the first place.