From: Andrew Lunn <andrew@lunn.ch>
To: Oliver Hartkopp <socketcan@hartkopp.net>
Cc: tbm@cyrius.com, linux-arm-kernel@lists.infradead.org
Subject: Re: TS-219 RTC issue with Debian Buster
Date: Wed, 24 Jul 2019 00:15:18 +0200 [thread overview]
Message-ID: <20190723221518.GB13517@lunn.ch> (raw)
In-Reply-To: <5180dbff-1c84-a0ec-6268-b438831a0a44@hartkopp.net>
On Tue, Jul 23, 2019 at 08:30:45PM +0200, Oliver Hartkopp wrote:
> Sorry for answering myself again ..
>
> After installing the 4.9.0-4-marvell kernel (from old stable Stretch) on my
> Debian Buster system it works like before:
>
> [ 1.101214] mousedev: PS/2 mouse device common for all mice
> [ 2.123021] rtc-mv f1010300.rtc: internal RTC not ticking
> [ 2.128592] i2c /dev entries driver
> [ 2.133933] random: fast init done
> [ 2.137746] rtc-s35390a 0-0030: rtc core: registered rtc-s35390a as rtc0
> [ 2.145186] ledtrig-cpu: registered to indicate activity on CPUs
> [ 2.151518] NET: Registered protocol family 17
> [ 2.156398] registered taskstats version 1
> [ 2.160561] zswap: loaded using pool lzo/zbud
> [ 2.165913] rtc-s35390a 0-0030: setting system clock to 2019-07-23
> 18:16:18 UTC (1563905778)
> [ 2.175514] Freeing unused kernel memory: 296K
So your system has two RTC drivers loading. First rtc-mv tries to
load, but it finds the RTC is not ticking. This often happens with
Kirkwood. Some vendors decided not to use the internal RTC. But the
default device tree has it enabled, so the driver loads. When it pokes
the hardware it discovers the clock is stopped and so the driver fails
the problem.
Later the i2c RTC loads, which does work.
So one step is to change the DT to disable the internal RTC.
You can add:
rtc@10300 {
status = "disabled";
};
Andrew
_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
next prev parent reply other threads:[~2019-07-23 22:15 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-07-23 15:30 TS-219 RTC issue with Debian Buster Oliver Hartkopp
2019-07-23 16:12 ` Andrew Lunn
2019-07-23 17:31 ` Oliver Hartkopp
2019-07-23 17:56 ` Oliver Hartkopp
2019-07-23 18:30 ` Oliver Hartkopp
2019-07-23 19:05 ` Oliver Hartkopp
2019-07-23 22:15 ` Andrew Lunn [this message]
2019-07-23 21:07 ` Russell King - ARM Linux admin
2019-07-23 19:06 ` Uwe Kleine-König
2019-07-23 19:21 ` Oliver Hartkopp
2019-07-23 19:34 ` Uwe Kleine-König
2019-07-23 20:07 ` Oliver Hartkopp
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=20190723221518.GB13517@lunn.ch \
--to=andrew@lunn.ch \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=socketcan@hartkopp.net \
--cc=tbm@cyrius.com \
/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).