linux-rtc.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: JH <jupiter.hce@gmail.com>
To: Alexandre Belloni <alexandre.belloni@bootlin.com>
Cc: linux-rtc@vger.kernel.org
Subject: Re: rtc rtc0: Timeout trying to get valid LPSRT Counter read
Date: Sat, 1 Feb 2020 10:36:33 +1100	[thread overview]
Message-ID: <CAA=hcWS3+eACAL5NHUX=Dc1DgbUor=g6mCNGFPK0Qc9-4u9uZQ@mail.gmail.com> (raw)
In-Reply-To: <20200131141324.GD3515@piout.net>

Hi Alexandre,

On 2/1/20, Alexandre Belloni <alexandre.belloni@bootlin.com> wrote:
> On 31/01/2020 16:27:15+1100, JH wrote:
>> Hi Alexandre,
>>
>> On 1/31/20, Alexandre Belloni <alexandre.belloni@bootlin.com> wrote:
>> >> So it was already included in 4.19, I don't need to patch it, that is
>> >> good :-). Sorry I am still not clear how to stop that error message of
>> >> "rtc rtc0: Timeout trying to get valid LPSRT Counter read", the
>> >> message says "To avoid kernel hangs, put in timeouts", I am running
>> >> kernel 4.19.75 on iMX6, where should I put in timeouts?
>> >>
>> >
>> > The patch is adding the timeouts, without them, your kernel would be
>> > freezing. I'd say your issue is the 32k clock.
>>
>> Did you mean that is the issue of the hardware setup IMX6ULL for 32k
>> RTC_XTALI? That is nominal frequency 32.768 kHz for IMX6ULL EVK and
>> customized devices. Change to which frequency (64k?) can fix the
>> problem and remove the error message?
>>
>
> I can't help much more without seeing the schematics of your particular
> board. 32k is the correct frequency but are your sure it is going to the
> RTC? Are you sure you have power on VDD_SNVS_IN? Was there a security
> violation detected?

The XTALI and XTALO is connected to 24 MHz Y501 XTALI Oscillator, the
RTC_XTALI and RTC_XTALO is connected to Y502 32.768KHZ crystal. Don't
know about VDD_SNVS_IN,  The hardware was designed by an experienced
hardware engineers, I am not sure if they could make any silly
mistakes.


Thank you Alexandre,

Kind regards,

- jh

      reply	other threads:[~2020-01-31 23:36 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-01-02  8:40 rtc rtc0: Timeout trying to get valid LPSRT Counter read JH
2020-01-12 11:03 ` Alexandre Belloni
2020-01-30  2:36   ` JH
2020-01-30 10:47     ` Alexandre Belloni
2020-01-30 11:27       ` JH
2020-01-30 14:40         ` Alexandre Belloni
2020-01-31  5:27           ` JH
2020-01-31 14:13             ` Alexandre Belloni
2020-01-31 23:36               ` JH [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='CAA=hcWS3+eACAL5NHUX=Dc1DgbUor=g6mCNGFPK0Qc9-4u9uZQ@mail.gmail.com' \
    --to=jupiter.hce@gmail.com \
    --cc=alexandre.belloni@bootlin.com \
    --cc=linux-rtc@vger.kernel.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;
as well as URLs for NNTP newsgroup(s).