All of lore.kernel.org
 help / color / mirror / Atom feed
* [meta-processor-sdk][PATCH 1/2] linux-libc-headers: use latest processor-sdk-linux
@ 2018-03-22 13:58 Jacob Stiffler
  2018-03-22 13:58 ` [meta-processor-sdk][PATCH 2/2] linuxptp: update to latest TI fork Jacob Stiffler
  2018-03-23  2:11 ` [meta-processor-sdk][PATCH 1/2] linux-libc-headers: use latest processor-sdk-linux Stiffler, Jacob
  0 siblings, 2 replies; 3+ messages in thread
From: Jacob Stiffler @ 2018-03-22 13:58 UTC (permalink / raw)
  To: meta-arago

* This is needed for ptp_clock.h change

Signed-off-by: Jacob Stiffler <j-stiffler@ti.com>
---
 recipes-kernel/linux-libc-headers/linux-libc-headers_4.9.bb | 12 ++++++++++++
 1 file changed, 12 insertions(+)
 create mode 100644 recipes-kernel/linux-libc-headers/linux-libc-headers_4.9.bb

diff --git a/recipes-kernel/linux-libc-headers/linux-libc-headers_4.9.bb b/recipes-kernel/linux-libc-headers/linux-libc-headers_4.9.bb
new file mode 100644
index 0000000..7b9ba65
--- /dev/null
+++ b/recipes-kernel/linux-libc-headers/linux-libc-headers_4.9.bb
@@ -0,0 +1,12 @@
+require recipes-kernel/linux-libc-headers/linux-libc-headers.inc
+
+PR_append = ".tisdk0"
+
+BRANCH = "processor-sdk-linux-04.03.00"
+SRCREV = "b84a80dbbb9901f550a6bff7acbb956f7f18c515"
+
+KERNEL_GIT_URI = "git://git.ti.com/processor-sdk/processor-sdk-linux.git"
+KERNEL_GIT_PROTOCOL = "git"
+SRC_URI = "${KERNEL_GIT_URI};protocol=${KERNEL_GIT_PROTOCOL};branch=${BRANCH}"
+
+S = "${WORKDIR}/git"
-- 
2.7.4



^ permalink raw reply related	[flat|nested] 3+ messages in thread

* [meta-processor-sdk][PATCH 2/2] linuxptp: update to latest TI fork
  2018-03-22 13:58 [meta-processor-sdk][PATCH 1/2] linux-libc-headers: use latest processor-sdk-linux Jacob Stiffler
@ 2018-03-22 13:58 ` Jacob Stiffler
  2018-03-23  2:11 ` [meta-processor-sdk][PATCH 1/2] linux-libc-headers: use latest processor-sdk-linux Stiffler, Jacob
  1 sibling, 0 replies; 3+ messages in thread
From: Jacob Stiffler @ 2018-03-22 13:58 UTC (permalink / raw)
  To: meta-arago

Signed-off-by: Jacob Stiffler <j-stiffler@ti.com>
---
 .../linuxptp/change-pr_warn-to-pr_warning.patch      | 20 ++++++++++++++++++++
 recipes-connectivity/linuxptp/linuxptp_%.bbappend    |  9 ++++++---
 2 files changed, 26 insertions(+), 3 deletions(-)
 create mode 100644 recipes-connectivity/linuxptp/linuxptp/change-pr_warn-to-pr_warning.patch

diff --git a/recipes-connectivity/linuxptp/linuxptp/change-pr_warn-to-pr_warning.patch b/recipes-connectivity/linuxptp/linuxptp/change-pr_warn-to-pr_warning.patch
new file mode 100644
index 0000000..faa19ff
--- /dev/null
+++ b/recipes-connectivity/linuxptp/linuxptp/change-pr_warn-to-pr_warning.patch
@@ -0,0 +1,20 @@
+diff --git a/phc2sys.c b/phc2sys.c
+index e3aec67..9a36668 100644
+--- a/phc2sys.c
++++ b/phc2sys.c
+@@ -607,13 +607,13 @@ static void enable_pps_output(clockid_t src, int enable)
+ static void set_pps_offset(clockid_t src, int offset)
+ {
+ 	if (!phc_has_pps(src)) {
+-		pr_warn("src clk %d does not have pps", src);
++		pr_warning("src clk %d does not have pps", src);
+ 		return;
+ 	}
+ 
+ 	pr_info("set_pps_offset(%d): offset = %d", src, offset);
+ 	if (ioctl(CLOCKID_TO_FD(src), PTP_PPS_OFFSET, offset) < 0)
+-		pr_warn("failed to set PPS offset");
++		pr_warning("failed to set PPS offset");
+ }
+ 
+ static int read_pps(int fd, int64_t *offset, uint64_t *ts)
diff --git a/recipes-connectivity/linuxptp/linuxptp_%.bbappend b/recipes-connectivity/linuxptp/linuxptp_%.bbappend
index 5990e08..3637427 100644
--- a/recipes-connectivity/linuxptp/linuxptp_%.bbappend
+++ b/recipes-connectivity/linuxptp/linuxptp_%.bbappend
@@ -1,11 +1,14 @@
-PR_append = ".tisdk1"
+PR_append = ".tisdk2"
 PV = "1.8+"
 
+FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:"
+
 BRANCH = "ti-linuxptp-release"
 SRC_URI = "git://git.ti.com/processor-sdk/linuxptp.git;protocol=git;branch=${BRANCH} \
-           file://build-Allow-CC-and-prefix-to-be-overriden.patch"
+           file://build-Allow-CC-and-prefix-to-be-overriden.patch \
+           file://change-pr_warn-to-pr_warning.patch"
 
-SRCREV = "15de3319fadb0c49b085cb7ea83ca5ecd398f75a"
+SRCREV = "19abd3664ded04f57e7d3a0daf9831cc373715f7"
 
 S = "${WORKDIR}/git"
 
-- 
2.7.4



^ permalink raw reply related	[flat|nested] 3+ messages in thread

* Re: [meta-processor-sdk][PATCH 1/2] linux-libc-headers: use latest processor-sdk-linux
  2018-03-22 13:58 [meta-processor-sdk][PATCH 1/2] linux-libc-headers: use latest processor-sdk-linux Jacob Stiffler
  2018-03-22 13:58 ` [meta-processor-sdk][PATCH 2/2] linuxptp: update to latest TI fork Jacob Stiffler
@ 2018-03-23  2:11 ` Stiffler, Jacob
  1 sibling, 0 replies; 3+ messages in thread
From: Stiffler, Jacob @ 2018-03-23  2:11 UTC (permalink / raw)
  To: meta-arago

NAK.

The ptp_clock.h change is minimal and we can avoid the change here by duplicating in linuxptp.

> -----Original Message-----
> From: Stiffler, Jacob
> Sent: Thursday, March 22, 2018 9:58 AM
> To: meta-arago@arago-project.org
> Cc: Ruei, Eric; Chengalvala, Vivek; Stiffler, Jacob
> Subject: [meta-processor-sdk][PATCH 1/2] linux-libc-headers: use latest
> processor-sdk-linux
> 
> * This is needed for ptp_clock.h change
> 
> Signed-off-by: Jacob Stiffler <j-stiffler@ti.com>
> ---
>  recipes-kernel/linux-libc-headers/linux-libc-headers_4.9.bb | 12
> ++++++++++++
>  1 file changed, 12 insertions(+)
>  create mode 100644 recipes-kernel/linux-libc-headers/linux-libc-
> headers_4.9.bb
> 
> diff --git a/recipes-kernel/linux-libc-headers/linux-libc-headers_4.9.bb
> b/recipes-kernel/linux-libc-headers/linux-libc-headers_4.9.bb
> new file mode 100644
> index 0000000..7b9ba65
> --- /dev/null
> +++ b/recipes-kernel/linux-libc-headers/linux-libc-headers_4.9.bb
> @@ -0,0 +1,12 @@
> +require recipes-kernel/linux-libc-headers/linux-libc-headers.inc
> +
> +PR_append = ".tisdk0"
> +
> +BRANCH = "processor-sdk-linux-04.03.00"
> +SRCREV = "b84a80dbbb9901f550a6bff7acbb956f7f18c515"
> +
> +KERNEL_GIT_URI = "git://git.ti.com/processor-sdk/processor-sdk-linux.git"
> +KERNEL_GIT_PROTOCOL = "git"
> +SRC_URI =
> "${KERNEL_GIT_URI};protocol=${KERNEL_GIT_PROTOCOL};branch=${BRANCH
> }"
> +
> +S = "${WORKDIR}/git"
> --
> 2.7.4



^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2018-03-23  2:11 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-03-22 13:58 [meta-processor-sdk][PATCH 1/2] linux-libc-headers: use latest processor-sdk-linux Jacob Stiffler
2018-03-22 13:58 ` [meta-processor-sdk][PATCH 2/2] linuxptp: update to latest TI fork Jacob Stiffler
2018-03-23  2:11 ` [meta-processor-sdk][PATCH 1/2] linux-libc-headers: use latest processor-sdk-linux Stiffler, Jacob

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.