public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
From: Alexander Sverdlin <alexander.sverdlin@gmail.com>
To: u-boot@lists.denx.de
Subject: [U-Boot] xyz-modem: Change getc timeout loop waiting
Date: Thu, 2 Aug 2018 16:47:19 +0200	[thread overview]
Message-ID: <20180802164719.a66642bea689ec07add06fb8@gmail.com> (raw)
In-Reply-To: <baf6c007-2dc6-b483-2fae-cc852c3b1720@vaisala.com>

Hello Tomas,

On Wed, 1 Aug 2018 09:16:38 +0300
Tomas Melin <tomas.melin@vaisala.com> wrote:

> >> Is the timeout a watchdog timeout or some communication freeze?
> > I suppose, it reports false-positive timeout back to ymodem code.
> > Because all it does is terminating communication gracefully (with 'C'
> > and a bunch of CANs).
> If you are using omap_wdt then check the configured value of the timeout 
> (WDT_HW_TIMEOUT).
> Time the y-modem loading, and if the reset happens just after that 
> configured value, it would indicate that the watchdog is not kicked, for 
> one reason or another.

Yes, I'm using omap_wdt with default 60 seconds timeout, but as I mentioned
already, it's not WDT kicking in, but your patch breaking YMODEM protocol
reporting false timeout back to YMODEM code.

-- 
Alexander Sverdlin.

      reply	other threads:[~2018-08-02 14:47 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-11-21  8:18 [U-Boot] [PATCH] xyz-modem: Change getc timeout loop waiting Tomas Melin
2016-11-29  1:07 ` [U-Boot] " Tom Rini
2018-08-01  0:15 ` Alexander Sverdlin
2018-08-01  5:44   ` Tomas Melin
2018-08-01  5:54     ` Alexander Sverdlin
2018-08-01  6:16       ` Tomas Melin
2018-08-02 14:47         ` Alexander Sverdlin [this message]

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=20180802164719.a66642bea689ec07add06fb8@gmail.com \
    --to=alexander.sverdlin@gmail.com \
    --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