mail archive of the barebox mailing list
 help / color / mirror / Atom feed
* howto write to serial port
@ 2013-11-13  2:09 zzs
  2013-11-13  9:45 ` Jean-Christophe PLAGNIOL-VILLARD
  0 siblings, 1 reply; 2+ messages in thread
From: zzs @ 2013-11-13  2:09 UTC (permalink / raw)
  To: barebox

I register a uart, But it does't appeared in /dev.
How can I open it and read/write it.

If I must use cdev->getc() and cdev->putc(). How to
get the cdev pointer which point to my registered uart.

-- 
Best Regards,
zzs



_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox

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

* Re: howto write to serial port
  2013-11-13  2:09 howto write to serial port zzs
@ 2013-11-13  9:45 ` Jean-Christophe PLAGNIOL-VILLARD
  0 siblings, 0 replies; 2+ messages in thread
From: Jean-Christophe PLAGNIOL-VILLARD @ 2013-11-13  9:45 UTC (permalink / raw)
  To: barebox

On 10:09 Wed 13 Nov     , zzs wrote:
> I register a uart, But it does't appeared in /dev.
> How can I open it and read/write it.
> 
> If I must use cdev->getc() and cdev->putc(). How to
> get the cdev pointer which point to my registered uart.

you can check the Animeo IP board for this

Best Regards,
J.
> 
> -- 
> Best Regards,
> zzs
> 
> 
> 
> _______________________________________________
> barebox mailing list
> barebox@lists.infradead.org
> http://lists.infradead.org/mailman/listinfo/barebox

_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox

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

end of thread, other threads:[~2013-11-13  9:43 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-11-13  2:09 howto write to serial port zzs
2013-11-13  9:45 ` Jean-Christophe PLAGNIOL-VILLARD

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