From: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
To: buildroot@busybox.net
Subject: [Buildroot] [PATCH 1/1] package/linuxptp: remove hardcoded interface from config to args
Date: Thu, 21 May 2020 15:36:19 +0200 [thread overview]
Message-ID: <20200521153619.5466d4e6@windsurf.home> (raw)
In-Reply-To: <20200520051647.18530-1-heiko.thiery@gmail.com>
Hello Heiko,
On Wed, 20 May 2020 07:16:48 +0200
Heiko Thiery <heiko.thiery@gmail.com> wrote:
> Interface configuration is hard coded in the config file. This will
> throw an error when this interace (eth0) is not present.
>
> This patch removes the interface to be used from the config and appends it
> to the PTP4L_ARGS. With this the custom arguments can be set via
> /etc/defaults/ptp4l.
Well, you can also just as well provide your custom linuxptp.cfg in a
rootfs overlay, no?
Also, your change to linuxptp.cfg kind of breaks what is explained in
linuxptp.cfg:
# By default synchronize time in slave-only mode using UDP and hardware time
# stamps on eth0. If the difference to master is >1.0 second correct by
# stepping the clock instead of adjusting the frequency.
Thomas
--
Thomas Petazzoni, CTO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com
next prev parent reply other threads:[~2020-05-21 13:36 UTC|newest]
Thread overview: 16+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-05-20 5:16 [Buildroot] [PATCH 1/1] package/linuxptp: remove hardcoded interface from config to args Heiko Thiery
2020-05-20 6:26 ` Michael Walle
2020-05-21 13:36 ` Thomas Petazzoni [this message]
2020-05-21 20:52 ` Heiko Thiery
2020-05-25 7:40 ` Thomas Petazzoni
2020-05-25 9:10 ` Heiko Thiery
2020-05-21 21:21 ` Michael Walle
2020-05-25 9:06 ` Heiko Thiery
2020-05-27 6:51 ` Heiko Thiery
2020-06-15 11:35 ` Heiko Thiery
2020-06-16 19:07 ` Vladimir Oltean
2020-06-18 15:02 ` Heiko Thiery
2020-06-18 16:09 ` Michael Walle
2020-06-18 17:00 ` Vladimir Oltean
2020-06-18 21:20 ` Michael Walle
2020-06-27 18:51 ` Vladimir Oltean
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=20200521153619.5466d4e6@windsurf.home \
--to=thomas.petazzoni@bootlin.com \
--cc=buildroot@busybox.net \
/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