mail archive of the barebox mailing list
 help / color / mirror / Atom feed
From: zzs <zzs213@126.com>
To: barebox <barebox@lists.infradead.org>
Subject: howto write to serial port
Date: Wed, 13 Nov 2013 10:09:07 +0800	[thread overview]
Message-ID: <20131113020907.GA18280@greatfirst.com> (raw)

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

             reply	other threads:[~2013-11-13  2:09 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-11-13  2:09 zzs [this message]
2013-11-13  9:45 ` Jean-Christophe PLAGNIOL-VILLARD

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20131113020907.GA18280@greatfirst.com \
    --to=zzs213@126.com \
    --cc=barebox@lists.infradead.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox