Skip to contentSkip to conversation

qemu-qoriq: remove

PATCH New Chunrong Guo 1 participant 4 messages Aug 30, 2017

lore
Share & tools
lore
#0 lore raw

PATCH 1/4 qemu-qoriq: remove

From: Chunrong Guo <[email protected]>

This pkg will not be supported anymore.

---
 conf/machine/include/qoriq-base.inc                |  1 -
 .../qemu/qemu-qoriq/add-ptest-in-makefile.patch    | 29 --------
 recipes-devtools/qemu/qemu-qoriq/run-ptest         |  8 ---
 recipes-devtools/qemu/qemu-qoriq_git.bb            | 84 ----------------------
 4 files changed, 122 deletions(-)
 delete mode 100644 recipes-devtools/qemu/qemu-qoriq/add-ptest-in-makefile.patch
 delete mode 100644 recipes-devtools/qemu/qemu-qoriq/run-ptest
 delete mode 100644 recipes-devtools/qemu/qemu-qoriq_git.bb
conf/machine/include/qoriq-base.inc +0 -1
index 2210cf5..14fe8ce 100644
@@ -6,7 +6,6 @@ PREFERRED_PROVIDER_openssl = "openssl-qoriq"
 PREFERRED_PROVIDER_u-boot ?= "u-boot-qoriq"
 PREFERRED_PROVIDER_virtual/bootloader ?= "u-boot-qoriq"
 PREFERRED_PROVIDER_virtual/kernel ?= "linux-qoriq"
-PREFERRED_PROVIDER_qemu = "qemu-qoriq"
 PREFERRED_VERSION_testfloat = "2a"
 
 SOC_DEFAULT_IMAGE_FSTYPES = "tar.gz ext2.gz.u-boot ext2.gz"
recipes-devtools/qemu/qemu-qoriq/add-ptest-in-makefile.patch deleted +0 -29
deleted file mode 100644
index a99f720..0000000
@@ -1,29 +0,0 @@
-Upstream-Status: Pending
-
-Add subpackage -ptest which runs all unit test cases for qemu.
-
-Signed-off-by: Kai Kang <[email protected]>
----
- tests/Makefile |   10 ++++++++++
- 1 file changed, 10 insertions(+)
-
-diff --git a/tests/Makefile b/tests/Makefile
-index 88f7105..3f40b4b 100644
---- a/tests/Makefile
-+++ b/tests/Makefile
-@@ -405,3 +405,12 @@ all: $(QEMU_IOTESTS_HELPERS-y)
- 
- -include $(wildcard tests/*.d)
- -include $(wildcard tests/libqos/*.d)
-+
-+buildtest-TESTS: $(check-unit-y)
-+
-+runtest-TESTS:
-+	for f in $(check-unit-y); do \
-+		nf=$$(echo $$f | sed 's/tests\//\.\//g'); \
-+		$$nf; \
-+	done
-+
---
-1.7.9.5
-
recipes-devtools/qemu/qemu-qoriq/run-ptest deleted +0 -8
deleted file mode 100644
index f4b8e97..0000000
@@ -1,8 +0,0 @@
-#!/bin/sh
-#
-#This script is used to run qemu test suites
-ptestdir=$(pwd)
-cd tests
-
-export SRC_PATH=$ptestdir
-make -k runtest-TESTS | sed '/: OK/ s/^/PASS: /g'
recipes-devtools/qemu/qemu-qoriq_git.bb deleted +0 -84

84 lines not on this page · raw message

Signature · 1 line
1.9.0
#1 lore raw

PATCH 2/4 dce :add ls1088a support

From: Chunrong Guo <[email protected]>

---
 recipes-dpaa2/dce/dce_git.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
recipes-dpaa2/dce/dce_git.bb +1 -1
index fb38636..0f0b283 100644
@@ -16,4 +16,4 @@ do_install () {
     oe_runmake install DESTDIR=${D}
 }
 
-COMPATIBLE_MACHINE = "(ls2080a|ls2088a)"
+COMPATIBLE_MACHINE = "(ls2080a|ls2088a|ls1088a)"
Signature · 1 line
1.9.0
#2 lore raw

PATCH 3/4 ofp: add ls1088a support

In reply to Chunrong Guo

From: Chunrong Guo <[email protected]>

---
 ...Patch-to-install-ofp-example-applications.patch | 166 ---------------------
 ...ation-issue-with-redefinition-of-a-struct.patch |  19 ---
 recipes-extended/ofp/ofp_git.bb                    |  10 +-
 3 files changed, 4 insertions(+), 191 deletions(-)
 delete mode 100644 recipes-extended/ofp/ofp/0001-Patch-to-install-ofp-example-applications.patch
 delete mode 100644 recipes-extended/ofp/ofp/Fix-compilation-issue-with-redefinition-of-a-struct.patch
recipes-extended/ofp/ofp/0001-Patch-to-install-ofp-example-applications.patch deleted +0 -166
deleted file mode 100644
index 041896a..0000000
@@ -1,166 +0,0 @@
-From 82691546d6125f1d07c4f9faa06475dff94ba567 Mon Sep 17 00:00:00 2001
-From: Nikhil Agarwal <[email protected]>
-Date: Wed, 11 Jan 2017 00:24:07 +0530
-Subject: [PATCH] Patch to install ofp example applications.
-
-Signed-off-by: Nikhil Agarwal <[email protected]>
----
- example/classifier/Makefile.am     | 3 ++-
- example/fpm/Makefile.am            | 3 ++-
- example/fpm_burstmode/Makefile.am  | 3 ++-
- example/ioctl_test/Makefile.am     | 3 ++-
- example/multicast/Makefile.am      | 3 ++-
- example/socket/Makefile.am         | 3 ++-
- example/sysctl/Makefile.am         | 3 ++-
- example/udp_fwd_socket/Makefile.am | 3 ++-
- example/udpecho/Makefile.am        | 3 ++-
- example/webserver/Makefile.am      | 3 ++-
- example/webserver2/Makefile.am     | 3 ++-
- 11 files changed, 22 insertions(+), 11 deletions(-)
-
-diff --git a/example/classifier/Makefile.am b/example/classifier/Makefile.am
-index c54542c..cb4eb31 100644
---- a/example/classifier/Makefile.am
-+++ b/example/classifier/Makefile.am
-@@ -1,6 +1,7 @@
- include $(top_srcdir)/example/Makefile.inc
- 
--noinst_PROGRAMS = classifier 
-+inst_PROGRAMS = classifier
-+instdir=${exec_prefix}/ofp/bin
- classifier_LDFLAGS = $(AM_LDFLAGS) -static
- 
- dist_classifier_SOURCES = classifier_main.c
-diff --git a/example/fpm/Makefile.am b/example/fpm/Makefile.am
-index d04916c..2b459d7 100644
---- a/example/fpm/Makefile.am
-+++ b/example/fpm/Makefile.am
-@@ -1,6 +1,7 @@
- include $(top_srcdir)/example/Makefile.inc
- 
--noinst_PROGRAMS = fpm
-+inst_PROGRAMS = fpm
-+instdir=${exec_prefix}/ofp/bin
- fpm_LDFLAGS = $(AM_LDFLAGS) -static
- 
- dist_fpm_SOURCES = app_main.c \
-diff --git a/example/fpm_burstmode/Makefile.am b/example/fpm_burstmode/Makefile.am
-index 6b7b024..fc8cdfe 100644
---- a/example/fpm_burstmode/Makefile.am
-+++ b/example/fpm_burstmode/Makefile.am
-@@ -1,6 +1,7 @@
- include $(top_srcdir)/example/Makefile.inc
- 
--noinst_PROGRAMS = fpm_burstmode
-+inst_PROGRAMS = fpm_burstmode
-+instdir=${exec_prefix}/ofp/bin
- fpm_burstmode_LDFLAGS = $(AM_LDFLAGS) -static
- 
- dist_fpm_burstmode_SOURCES = app_main.c
-diff --git a/example/ioctl_test/Makefile.am b/example/ioctl_test/Makefile.am
-index d45c4c4..98fd573 100644
---- a/example/ioctl_test/Makefile.am
-+++ b/example/ioctl_test/Makefile.am
-@@ -1,6 +1,7 @@
- include $(top_srcdir)/example/Makefile.inc
- 
--noinst_PROGRAMS = ioctl_test
-+inst_PROGRAMS = ioctl_test
-+instdir=${exec_prefix}/ofp/bin
- 
- ioctl_test_LDFLAGS = $(AM_LDFLAGS) -static
- 
-diff --git a/example/multicast/Makefile.am b/example/multicast/Makefile.am
-index 378aaf3..8476123 100644
---- a/example/multicast/Makefile.am
-+++ b/example/multicast/Makefile.am
-@@ -1,6 +1,7 @@
- include $(top_srcdir)/example/Makefile.inc
- 
--noinst_PROGRAMS = mcast
-+inst_PROGRAMS = mcast
-+instdir=${exec_prefix}/ofp/bin
- 
- mcast_LDFLAGS = $(AM_LDFLAGS) -static
- 
-diff --git a/example/socket/Makefile.am b/example/socket/Makefile.am
-index 9fa2b7d..c296fc2 100644
---- a/example/socket/Makefile.am
-+++ b/example/socket/Makefile.am
-@@ -1,6 +1,7 @@
- include $(top_srcdir)/example/Makefile.inc
- 
--noinst_PROGRAMS = socket
-+inst_PROGRAMS = socket
-+instdir=${exec_prefix}/ofp/bin
- socket_LDFLAGS = $(AM_LDFLAGS) -static
- 
- dist_socket_SOURCES = \
-diff --git a/example/sysctl/Makefile.am b/example/sysctl/Makefile.am
-index 42f3a27..7ef0227 100644
---- a/example/sysctl/Makefile.am
-+++ b/example/sysctl/Makefile.am
-@@ -1,6 +1,7 @@
- include $(top_srcdir)/example/Makefile.inc
- 
--noinst_PROGRAMS = sysctl
-+inst_PROGRAMS = sysctl
-+instdir=${exec_prefix}/ofp/bin
- 
- sysctl_LDFLAGS = $(AM_LDFLAGS) -static
- 
-diff --git a/example/udp_fwd_socket/Makefile.am b/example/udp_fwd_socket/Makefile.am
-index 653fd21..c8ce9ca 100644
---- a/example/udp_fwd_socket/Makefile.am
-+++ b/example/udp_fwd_socket/Makefile.am
-@@ -1,6 +1,7 @@
- include $(top_srcdir)/example/Makefile.inc
- 
--noinst_PROGRAMS = udp_fwd_socket
-+inst_PROGRAMS = udp_fwd_socket
-+instdir=${exec_prefix}/ofp/bin
- 
- udp_fwd_socket_LDFLAGS = $(AM_LDFLAGS) -static
- 
-diff --git a/example/udpecho/Makefile.am b/example/udpecho/Makefile.am
-index e64f2c0..a0c1085 100644
---- a/example/udpecho/Makefile.am
-+++ b/example/udpecho/Makefile.am
-@@ -1,6 +1,7 @@
- include $(top_srcdir)/example/Makefile.inc
- 
--noinst_PROGRAMS = udpecho
-+inst_PROGRAMS = udpecho
-+instdir=${exec_prefix}/ofp/bin
- 
- udpecho_LDFLAGS = $(AM_LDFLAGS) -static
- 
-diff --git a/example/webserver/Makefile.am b/example/webserver/Makefile.am
-index 1dad1b6..230515e 100644
---- a/example/webserver/Makefile.am
-+++ b/example/webserver/Makefile.am
-@@ -1,6 +1,7 @@
- include $(top_srcdir)/example/Makefile.inc
- 
--noinst_PROGRAMS = webserver
-+inst_PROGRAMS = webserver
-+instdir=${exec_prefix}/ofp/bin
- 
- webserver_LDFLAGS = $(AM_LDFLAGS) -static
- 
-diff --git a/example/webserver2/Makefile.am b/example/webserver2/Makefile.am
-index d9f4767..c53a9d2 100644
---- a/example/webserver2/Makefile.am
-+++ b/example/webserver2/Makefile.am
-@@ -1,6 +1,7 @@
- include $(top_srcdir)/example/Makefile.inc
- 
--noinst_PROGRAMS = webserver2
-+inst_PROGRAMS = webserver2
-+instdir=${exec_prefix}/ofp/bin
- 
- webserver2_LDFLAGS = $(AM_LDFLAGS) -static
- 
--- 
-2.9.3
-
recipes-extended/ofp/ofp/Fix-compilation-issue-with-redefinition-of-a-struct.patch deleted +0 -19
deleted file mode 100644
index 4163dc8..0000000
@@ -1,19 +0,0 @@
-ofp_netlink.c: do not include netinet/ip.h
-
-The struct iphdr is defined in netinet/ip.h and in linux/ip.h. The
-backwards compatible ofp_netlink.c is modified to include linux/ip.h.
-
-http://www.openfastpath.org/pipermail/openfastpath/2016-October/001330.html
-
-
---- a/src/ofp_netlink.cold	2017-04-20 16:08:20.942851781 +0800
-+++ b/src/ofp_netlink.c	2017-04-20 16:08:39.222851148 +0800
-@@ -9,7 +9,7 @@
- #include <stdio.h>
- #include <string.h>
- #include <netinet/in.h>
--#include <netinet/ip.h>
-+#include <linux/ip.h>
- #include <linux/netlink.h>
- #include <linux/rtnetlink.h>
- #include <linux/if_arp.h>
recipes-extended/ofp/ofp_git.bb +4 -6
index 1c6757e..b8cb7eb 100644
@@ -6,11 +6,9 @@ SECTION = "console/network"
 LICENSE = "BSD-3-Clause"
 LIC_FILES_CHKSUM = "file://LICENSE;md5=fbe4957c430eed6cc20521d4eb429fae"
 
-SRC_URI = "git://github.com/OpenFastPath/ofp.git;protocol=https \
-           file://0001-Patch-to-install-ofp-example-applications.patch \
-           file://Fix-compilation-issue-with-redefinition-of-a-struct.patch \
-"
-SRCREV = "f7ea51b32450ba45d87aff79504e39fad801e7a7"
+SRC_URI = "git://github.com/qoriq-open-source/ofp.git;nobranch=1"
+
+SRCREV = "fe66f4659f7d356f7aa73a8fb32fcf67c6cf1108"
 
 S = "${WORKDIR}/git"
 
@@ -36,4 +34,4 @@ do_configure () {
 
 FILES_${PN} += "/usr/ofp/bin"
 FILES_${PN}-dbg += "/usr/ofp/bin/.debug"
-COMPATIBLE_MACHINE = "(ls2088a)"
+COMPATIBLE_MACHINE = "(ls2088a|ls1088a)"
Signature · 1 line
1.9.0
#3 lore raw

PATCH 4/4 openssl10: set PREFERRED_VERSION to openssl-qoriq

In reply to Chunrong Guo

From: Chunrong Guo <[email protected]>

fix the following issue:
NOTE: Resolving any missing task queue dependencies
NOTE: multiple providers are available for openssl10 (openssl, openssl-qoriq)
NOTE: consider defining a PREFERRED_PROVIDER entry to match openssl10

---
 conf/machine/include/qoriq-base.inc | 1 +
 1 file changed, 1 insertion(+)
conf/machine/include/qoriq-base.inc +1 -0
index 14fe8ce..562f5d7 100644
@@ -7,6 +7,7 @@ PREFERRED_PROVIDER_u-boot ?= "u-boot-qoriq"
 PREFERRED_PROVIDER_virtual/bootloader ?= "u-boot-qoriq"
 PREFERRED_PROVIDER_virtual/kernel ?= "linux-qoriq"
 PREFERRED_VERSION_testfloat = "2a"
+PREFERRED_PROVIDER_openssl10 = "openssl-qoriq"
 
 SOC_DEFAULT_IMAGE_FSTYPES = "tar.gz ext2.gz.u-boot ext2.gz"
 IMAGE_FSTYPES ?= "${SOC_DEFAULT_IMAGE_FSTYPES}"
Signature · 1 line
1.9.0