[Buildroot] Update the current date using ntp.

Matthew Weber matthew.weber at rockwellcollins.com
Mon Oct 15 16:57:36 UTC 2018


Oscar,

On Mon, Oct 15, 2018 at 11:48 AM Oscar Gomez Fuente
<oscargomezf at gmail.com> wrote:
>
> Hi everyone,
>
> I'm using ntp from buildroot 2018.02.5 in a Rapberry Pi 3B+ HW
> platform. These are the packages selected from: Target packages ->
> Networking applications
>
> ntp
> ntpd
> ntpdate
>
> The problem is that ntpd takes around 300 seconds to update the
> current date. Is there any way to speed up this process? I have to
> wait until the date is updated before doing my tasks and it is very
> annoying to wait around 300 seconds.
>

By default NTP is going to take a period of time to sync as the clock
will be way out of check > 1000 sec.  Most distros use ntpdate or the
new ntpd -q to get the initial time jammed in and then start ntpd to
maintain.

Matt


More information about the buildroot mailing list