From: Stefan Roese <sr@denx.de>
To: u-boot@lists.denx.de
Subject: [U-Boot-Users] NetConsole tstc problems
Date: Wed, 2 Nov 2005 08:51:57 +0100 [thread overview]
Message-ID: <200511020851.57643.sr@denx.de> (raw)
In-Reply-To: <20051101151924.c9ww4408kw8ososc@secure.uwalumni.com>
Hi Brian,
On Tuesday 01 November 2005 22:19, Brian Prodoehl wrote:
> Has anyone else experienced problems with NetConsole's tstc? In
> particular, defining CONFIG_BOOT_RETRY_TIME makes NetConsole almost
> unusable for me, because then readline() in main.c blocks on tstc and the
> result (for me, at least) is that NetConsole accepts a character every
> second or so.
Depending on your network driver, tstc() can take pretty long. I experienced a
similar problem in sleep() using tstc() via ctrlc(). I solved this problem
using a "better" timeout mechanism with get_timer(). This could probably help
here too.
> For everything that doesn't depend on tstc, NetConsole works
> beautifully for me. I'm just wondering if anyone else has seen problems, or
> if anyone has suggestions on how to make tstc less of a show-stopper
> (something I haven't been able to accomplish).
Take a look at the sleep() fix:
http://www.denx.de/cgi-bin/gitweb.cgi?p=u-boot.git;a=commit;h=c4c13df284cb06156c16ee6aef49b8d23be3fadd
Best regards,
Stefan
next prev parent reply other threads:[~2005-11-02 7:51 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-11-01 21:19 [U-Boot-Users] NetConsole tstc problems Brian Prodoehl
2005-11-02 7:51 ` Stefan Roese [this message]
2005-11-02 7:59 ` Wolfgang Denk
2005-11-02 17:34 ` Brian Prodoehl
2005-11-02 18:10 ` Stefan Roese
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=200511020851.57643.sr@denx.de \
--to=sr@denx.de \
--cc=u-boot@lists.denx.de \
/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