[meta-freescale] [meta-fsl-demo][PATCH] add fsl qoriq demo packagegroup/image
b28495 at freescale.com
b28495 at freescale.com
Tue Dec 22 00:40:22 PST 2015
From: Ting Liu <ting.liu at freescale.com>
Signed-off-by: Ting Liu <ting.liu at freescale.com>
---
recipes-fsl/images/fsl-image-networking-full.bb | 24 ++++++
recipes-fsl/images/fsl-image-networking.bb | 14 ++++
.../packagegroups/packagegroup-fsl-qoriq-core.bb | 92 ++++++++++++++++++++++
.../packagegroup-fsl-qoriq-extended.bb | 41 ++++++++++
.../packagegroup-fsl-tools-networking-core.bb | 50 ++++++++++++
.../packagegroup-fsl-tools-networking-extended.bb | 31 ++++++++
.../packagegroup-fsl-tools-virtualization.bb | 19 +++++
7 files changed, 271 insertions(+)
create mode 100644 recipes-fsl/images/fsl-image-networking-full.bb
create mode 100644 recipes-fsl/images/fsl-image-networking.bb
create mode 100644 recipes-fsl/packagegroups/packagegroup-fsl-qoriq-core.bb
create mode 100644 recipes-fsl/packagegroups/packagegroup-fsl-qoriq-extended.bb
create mode 100644 recipes-fsl/packagegroups/packagegroup-fsl-tools-networking-core.bb
create mode 100644 recipes-fsl/packagegroups/packagegroup-fsl-tools-networking-extended.bb
create mode 100644 recipes-fsl/packagegroups/packagegroup-fsl-tools-virtualization.bb
diff --git a/recipes-fsl/images/fsl-image-networking-full.bb b/recipes-fsl/images/fsl-image-networking-full.bb
new file mode 100644
index 0000000..e20841e
--- /dev/null
+++ b/recipes-fsl/images/fsl-image-networking-full.bb
@@ -0,0 +1,24 @@
+require fsl-image-networking.bb
+
+SUMMARY = "Large image to be used for development and evaluation"
+DESCRIPTION = "Large image which includes all the tested tools and \
+Freescale-specific packages. It is a full Linux system rather than \
+an embedded system for development and evaluation tasks."
+
+LICENSE = "MIT"
+
+# copy the manifest and the license text for each package to image
+COPY_LIC_MANIFEST = "1"
+
+IMAGE_INSTALL_append = " \
+ packagegroup-core-buildessential \
+ packagegroup-core-eclipse-debug \
+ packagegroup-core-full-cmdline \
+ packagegroup-core-nfs-server \
+ packagegroup-core-tools-debug \
+ packagegroup-fsl-qoriq-extended \
+ packagegroup-fsl-tools-networking-extended \
+ packagegroup-fsl-tools-virtualization \
+"
+
+IMAGE_FSTYPES = "tar.gz"
diff --git a/recipes-fsl/images/fsl-image-networking.bb b/recipes-fsl/images/fsl-image-networking.bb
new file mode 100644
index 0000000..936cd92
--- /dev/null
+++ b/recipes-fsl/images/fsl-image-networking.bb
@@ -0,0 +1,14 @@
+require recipes-core/images/core-image-minimal.bb
+
+SUMMARY = "Small image to be used for evaluating the Freescale socs"
+DESCRIPTION = "Small image which includes some helpful tools and \
+Freescale-specific packages. It is much more embedded-oriented \
+than fsl-image-full to evaluate the Freescale socs."
+
+LICENSE = "MIT"
+
+IMAGE_INSTALL_append = " \
+ packagegroup-fsl-qoriq-core \
+ packagegroup-fsl-tools-benchmark \
+ packagegroup-fsl-tools-networking-core \
+"
diff --git a/recipes-fsl/packagegroups/packagegroup-fsl-qoriq-core.bb b/recipes-fsl/packagegroups/packagegroup-fsl-qoriq-core.bb
new file mode 100644
index 0000000..54989fe
--- /dev/null
+++ b/recipes-fsl/packagegroups/packagegroup-fsl-qoriq-core.bb
@@ -0,0 +1,92 @@
+# Copyright (C) 2015 Freescale Semiconductor
+# Released under the MIT license (see COPYING.MIT for the terms)
+
+DESCRIPTION = "The core set of packages useful for evaluating the FSL \
+QorIQ targets in the context of a file system image that is much more \
+embedded-oriented with most commonly-used function supported."
+SUMMARY = "FSL Community Package group - qoriq (core)"
+LICENSE = "MIT"
+LIC_FILES_CHKSUM = "file://${COREBASE}/LICENSE;md5=3f40d7994397109285ec7b81fdeb3b58 \
+ file://${COREBASE}/meta/COPYING.MIT;md5=3da9cfbcb788c80a0384361b4de20420"
+
+inherit packagegroup
+
+PACKAGES = "${PN}"
+
+RDEPENDS_${PN} = " \
+ coreutils \
+ elfutils \
+ e2fsprogs \
+ e2fsprogs-badblocks \
+ e2fsprogs-e2fsck \
+ e2fsprogs-tune2fs \
+ file \
+ i2c-tools \
+ kmod \
+ libhugetlbfs \
+ lmsensors-sensors \
+ memtester \
+ minicom \
+ pkgconfig \
+ python-subprocess \
+ python-datetime \
+ python-json \
+ procps \
+ psmisc \
+ sysfsutils \
+ sysklogd \
+ sysstat \
+"
+
+QORIQPKGS = " \
+ apptrk \
+ eth-config \
+ usdpaa-apps \
+ hypervisor-partman \
+"
+QORIQPKGS_e500v2 = "apptrk testfloat"
+QORIQPKGS_ls102xa = ""
+QORIQPKGS_append_e6500-64b = " kernel-module-ceetm"
+# e6500 only support 64bit hypervisor
+QORIQPKGS_remove_e6500 = "hypervisor-partman"
+QORIQPKGS_append_e6500 = " lib64-hypervisor-partman"
+
+RDEPENDS_${PN}_append = "\
+ kernel-module-asf \
+ merge-files \
+ ${QORIQPKGS} \
+"
+# NOTE: Remove the conditional pkc-host inclusion and all traces of c29x_pkc
+# DISTRO_FEATURE if pkc-host no longer requires customized cryptodev patches
+RDEPENDS_${PN}_append = "\
+ ${@base_contains('DISTRO_FEATURES', 'c29x_pkc', 'kernel-module-pkc-host', '', d)} \
+"
+RDEPENDS_${PN}_append_c293pcie = " skmm-ep"
+RDEPENDS_${PN}_append_p1023rdb = " fmc eth-config"
+RDEPENDS_${PN}_append_b4860qds = "\
+ ipc-ust \
+ kernel-module-ipc-multi \
+ kernel-module-ipc-single \
+"
+RDEPENDS_${PN}_append_b4420qds = "\
+ ipc-ust \
+ kernel-module-ipc-multi \
+ kernel-module-ipc-single \
+"
+RDEPENDS_${PN}_append_p4080ds = "\
+ kernel-module-skmm-host \
+ skmm-ep \
+"
+RDEPENDS_${PN}_append_t4240qds = "\
+ kernel-module-skmm-host \
+ skmm-ep \
+"
+RDEPENDS_${PN}_append_t1040 = " \
+ kernel-module-ar \
+ kernel-module-ceetm \
+ kernel-module-uio-seville \
+"
+RDEPENDS_${PN}_append_t1042 = " \
+ kernel-module-ar \
+ kernel-module-ceetm \
+"
diff --git a/recipes-fsl/packagegroups/packagegroup-fsl-qoriq-extended.bb b/recipes-fsl/packagegroups/packagegroup-fsl-qoriq-extended.bb
new file mode 100644
index 0000000..0d8611f
--- /dev/null
+++ b/recipes-fsl/packagegroups/packagegroup-fsl-qoriq-extended.bb
@@ -0,0 +1,41 @@
+# Copyright (C) 2015 Freescale Semiconductor
+# Released under the MIT license (see COPYING.MIT for the terms)
+
+DESCRIPTION = "The extended set of packages useful for evaluating the FSL \
+QorIQ targets in the context of a file system image that is full-featured"
+SUMMARY = "FSL Community Package group - qoriq (extended)"
+LICENSE = "MIT"
+LIC_FILES_CHKSUM = "file://${COREBASE}/LICENSE;md5=3f40d7994397109285ec7b81fdeb3b58 \
+ file://${COREBASE}/meta/COPYING.MIT;md5=3da9cfbcb788c80a0384361b4de20420"
+
+inherit packagegroup
+
+PACKAGES = "${PN}"
+
+RDEPENDS_${PN} = " \
+ bc \
+ chkconfig \
+ cronie \
+ db \
+ debianutils \
+ dtc \
+ lsof \
+ man \
+ man-pages \
+ oprofile \
+ parted \
+ perf \
+ rng-tools \
+ rt-tests \
+ sqlite3 \
+ strongswan \
+ texinfo \
+ u-boot-mkimage \
+ unzip \
+ usbutils \
+ usbutils-ids \
+ watchdog \
+ which \
+ xz \
+ zip \
+"
diff --git a/recipes-fsl/packagegroups/packagegroup-fsl-tools-networking-core.bb b/recipes-fsl/packagegroups/packagegroup-fsl-tools-networking-core.bb
new file mode 100644
index 0000000..5bdb10c
--- /dev/null
+++ b/recipes-fsl/packagegroups/packagegroup-fsl-tools-networking-core.bb
@@ -0,0 +1,50 @@
+# Copyright (C) 2015 Freescale Semiconductor
+# Released under the MIT license (see COPYING.MIT for the terms)
+
+DESCRIPTION = "The core set of networking packages useful for evaluating \
+the FSL targets in the context of a file system image that is much more \
+embedded-oriented with most commonly-used function supported."
+SUMMARY = "FSL Community Package group - tools/networking (core)"
+LICENSE = "MIT"
+LIC_FILES_CHKSUM = "file://${COREBASE}/LICENSE;md5=3f40d7994397109285ec7b81fdeb3b58 \
+ file://${COREBASE}/meta/COPYING.MIT;md5=3da9cfbcb788c80a0384361b4de20420"
+
+inherit packagegroup
+
+PACKAGES = "${PN} ${PN}-server"
+
+RDEPENDS_${PN} = " \
+ bridge-utils \
+ ethtool \
+ iproute2 \
+ iproute2-tc \
+ iptables \
+ iputils \
+ inetutils \
+ inetutils-ftp \
+ inetutils-hostname \
+ inetutils-ifconfig \
+ inetutils-logger \
+ inetutils-ping \
+ inetutils-ping6 \
+ inetutils-rsh \
+ inetutils-syslogd \
+ inetutils-telnet \
+ inetutils-tftp \
+ inetutils-traceroute \
+ ipsec-tools \
+ net-tools \
+ tcpdump \
+"
+
+RDEPENDS_${PN}-server = " \
+ inetutils-inetd \
+ inetutils-ftpd \
+ inetutils-rshd \
+ inetutils-tftpd \
+ inetutils-telnetd \
+"
+
+RDEPENDS_${PN}_append_qoriq = "\
+ ${PN}-server \
+"
diff --git a/recipes-fsl/packagegroups/packagegroup-fsl-tools-networking-extended.bb b/recipes-fsl/packagegroups/packagegroup-fsl-tools-networking-extended.bb
new file mode 100644
index 0000000..079acd6
--- /dev/null
+++ b/recipes-fsl/packagegroups/packagegroup-fsl-tools-networking-extended.bb
@@ -0,0 +1,31 @@
+# Copyright (C) 2015 Freescale Semiconductor
+# Released under the MIT license (see COPYING.MIT for the terms)
+
+DESCRIPTION = "The extended set of networking packages useful for evaluating \
+the FSL targets in the context of a file system image that is full-featured"
+SUMMARY = "FSL Community Package group - tools/networking (extended)"
+LICENSE = "MIT"
+LIC_FILES_CHKSUM = "file://${COREBASE}/LICENSE;md5=3f40d7994397109285ec7b81fdeb3b58 \
+ file://${COREBASE}/meta/COPYING.MIT;md5=3da9cfbcb788c80a0384361b4de20420"
+
+inherit packagegroup
+
+PACKAGES = "${PN}"
+
+RDEPENDS_${PN} = " \
+ bind \
+ curl \
+ dhcp-client \
+ libnfnetlink \
+ linuxptp \
+ ntpdate \
+ ppp \
+ ppp-dialin \
+ ptpd \
+ resolvconf \
+ rp-pppoe \
+ rsync \
+ samba \
+ wget \
+ xinetd \
+"
diff --git a/recipes-fsl/packagegroups/packagegroup-fsl-tools-virtualization.bb b/recipes-fsl/packagegroups/packagegroup-fsl-tools-virtualization.bb
new file mode 100644
index 0000000..c489f22
--- /dev/null
+++ b/recipes-fsl/packagegroups/packagegroup-fsl-tools-virtualization.bb
@@ -0,0 +1,19 @@
+# Copyright (C) 2015 Freescale Semiconductor
+# Released under the MIT license (see COPYING.MIT for the terms)
+
+SUMMARY = "FSL Community Package group - tools/vitualization"
+LICENSE = "MIT"
+LIC_FILES_CHKSUM = "file://${COREBASE}/LICENSE;md5=3f40d7994397109285ec7b81fdeb3b58 \
+ file://${COREBASE}/meta/COPYING.MIT;md5=3da9cfbcb788c80a0384361b4de20420"
+
+inherit packagegroup
+
+PACKAGES = "${PN}"
+
+RDEPENDS_${PN} = " \
+ libvirt \
+ libvirt-libvirtd \
+ libvirt-virsh \
+ lxc \
+ qemu \
+"
--
1.9.2
More information about the meta-freescale
mailing list