From: Alexandre Belloni <alexandre.belloni@bootlin.com>
To: xiaolinkui <xiaolinkui@tj.kylinos.cn>
Cc: a.zummo@towertech.it, linux-rtc@vger.kernel.org
Subject: Re: [PATCH] rtc: Kconfig: change the tristate type to bool
Date: Tue, 24 Mar 2020 10:42:09 +0100 [thread overview]
Message-ID: <20200324094209.GI5504@piout.net> (raw)
In-Reply-To: <336f9aea-d28a-d114-9a0c-a893d9cb9af3@tj.kylinos.cn>
On 24/03/2020 17:33:00+0800, xiaolinkui wrote:
> On 3/23/20 9:43 PM, Alexandre Belloni wrote:
> > On 23/03/2020 20:43:39+0800, xiaolinkui wrote:
> > > If the rtc driver is compiled into a module, hctosys can't
> > > read the rtc clock during system startup.
> > > The dmesg log will have the following information:
> > >
> > > [ 2.286512] hctosys: unable to open rtc device (rtc0)
> > >
> > > So the rtc driver configuration we need cannot be set to m.
> > >
> > Wow, you are not even trying, the solution is to not use hctosys.
> >
> >
> Thank you for your reply. Yes, if we don't use hctosys, we won't have this
> problem. But without hctosys, we cannot get the clock from rtc during
> system startup. Is it wrong for the system time each time the system is
> started for a machine without Internet access?
>
Your userspace can read the RTC and set the system time properly.
--
Alexandre Belloni, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com
prev parent reply other threads:[~2020-03-24 9:42 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-03-23 12:43 [PATCH] rtc: Kconfig: change the tristate type to bool xiaolinkui
2020-03-23 13:43 ` Alexandre Belloni
[not found] ` <336f9aea-d28a-d114-9a0c-a893d9cb9af3@tj.kylinos.cn>
2020-03-24 9:42 ` Alexandre Belloni [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=20200324094209.GI5504@piout.net \
--to=alexandre.belloni@bootlin.com \
--cc=a.zummo@towertech.it \
--cc=linux-rtc@vger.kernel.org \
--cc=xiaolinkui@tj.kylinos.cn \
/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).