Patchwork [meta-fsl-demo] add qoriq customized packagegroups and images

login
register
mail settings
Submitter Ting Liu
Date July 23, 2014, 9:28 a.m.
Message ID <1406107717-19828-3-git-send-email-ting.liu@freescale.com>
Download mbox | patch
Permalink /patch/76475/
State Superseded
Headers show

Comments

Ting Liu - July 23, 2014, 9:28 a.m.
From: Ting Liu <ting.liu@freescale.com>

Signed-off-by: Ting Liu <ting.liu@freescale.com>
---
 recipes-fsl/images/fsl-image-networking-full.bb    |  37 ++++++
 recipes-fsl/images/fsl-image-networking.bb         | 113 ++++++++++++++++++
 .../packagegroups/packagegroup-qoriq-core.bb       | 108 +++++++++++++++++
 .../packagegroups/packagegroup-qoriq-extend.bb     | 129 +++++++++++++++++++++
 .../packagegroups/packagegroup-qoriq-monitor.bb    |  20 ++++
 .../packagegroups/packagegroup-qoriq-x11.bb        |  15 +++
 6 files changed, 422 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-qoriq-core.bb
 create mode 100644 recipes-fsl/packagegroups/packagegroup-qoriq-extend.bb
 create mode 100644 recipes-fsl/packagegroups/packagegroup-qoriq-monitor.bb
 create mode 100644 recipes-fsl/packagegroups/packagegroup-qoriq-x11.bb
Daiane Angolini - July 23, 2014, 2:25 p.m.
On Wed, Jul 23, 2014 at 6:28 AM,  <ting.liu@freescale.com> wrote:
> From: Ting Liu <ting.liu@freescale.com>
>
> Signed-off-by: Ting Liu <ting.liu@freescale.com>
> ---

Please, add DESCRIPTION and/or SUMMARY for all PACKAGEGROUP and IMAGE

And Please, summarize in commit log what you are adding and what is
the purpose of this


Daiane

>  recipes-fsl/images/fsl-image-networking-full.bb    |  37 ++++++
>  recipes-fsl/images/fsl-image-networking.bb         | 113 ++++++++++++++++++
>  .../packagegroups/packagegroup-qoriq-core.bb       | 108 +++++++++++++++++
>  .../packagegroups/packagegroup-qoriq-extend.bb     | 129 +++++++++++++++++++++
>  .../packagegroups/packagegroup-qoriq-monitor.bb    |  20 ++++
>  .../packagegroups/packagegroup-qoriq-x11.bb        |  15 +++
>  6 files changed, 422 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-qoriq-core.bb
>  create mode 100644 recipes-fsl/packagegroups/packagegroup-qoriq-extend.bb
>  create mode 100644 recipes-fsl/packagegroups/packagegroup-qoriq-monitor.bb
>  create mode 100644 recipes-fsl/packagegroups/packagegroup-qoriq-x11.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..12dd9fb
> --- /dev/null
> +++ b/recipes-fsl/images/fsl-image-networking-full.bb
> @@ -0,0 +1,37 @@
> +# This image extends fsl-image-networking with additional
> +# opensouce packages
> +
> +# copy the manifest and the license text for each package to image
> +COPY_LIC_MANIFEST = "1"
> +COPY_LIC_DIRS = "1"
> +
> +require recipes-fsl/images/fsl-image-networking.bb
> +
> +MACHINE_SPECIFIC = ""
> +MACHINE_SPECIFIC_p1022ds = " packagegroup-qoriq-x11"
> +MACHINE_SPECIFIC_t1042rdb = " packagegroup-qoriq-x11"
> +MACHINE_SPECIFIC_t1042rdb-64b = " packagegroup-qoriq-x11"
> +
> +IMAGE_INSTALL += " \
> +    packagegroup-core-buildessential \
> +    packagegroup-core-eclipse-debug \
> +    packagegroup-core-full-cmdline \
> +    packagegroup-core-nfs-server \
> +    packagegroup-core-tools-debug \
> +    packagegroup-qoriq-core \
> +    packagegroup-qoriq-extend \
> +    packagegroup-qoriq-monitor \
> +    ${@multilib_pkg_extend(d, "binutils")} \
> +    ${@multilib_pkg_extend(d, "cpp")} \
> +    ${@multilib_pkg_extend(d, "eglibc-dev")} \
> +    ${@multilib_pkg_extend(d, "eglibc-utils")} \
> +    ${@multilib_pkg_extend(d, "g++")} \
> +    ${@multilib_pkg_extend(d, "gcc")} \
> +    ${@multilib_pkg_extend(d, "ldd")} \
> +    ${@multilib_pkg_extend(d, "libgcc")} \
> +    ${@multilib_pkg_extend(d, "libgcc-dev")} \
> +    ${@multilib_pkg_extend(d, "valgrind")} \
> +    ${MACHINE_SPECIFIC} \
> +"
> +
> +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..e758bc1
> --- /dev/null
> +++ b/recipes-fsl/images/fsl-image-networking.bb
> @@ -0,0 +1,113 @@
> +DESCRIPTION = "A console-only image that includes Freescale's \
> +networking packages and core opensource packages."
> +
> +IMAGE_LINGUAS = " "
> +
> +LICENSE = "MIT"
> +
> +inherit core-image
> +
> +IMAGE_FSTYPES = "tar.gz ext2.gz ext2.gz.u-boot"
> +
> +# pkgs to be built but not installed into rootfs
> +DEPLOY_PKGS = " \
> +    fm-ucode \
> +    hv-cfg \
> +    rcw \
> +    hypervisor \
> +"
> +DEPLOY_PKGS_e500v2 = ""
> +
> +EXTRA_IMAGEDEPENDS_append = " ${DEPLOY_PKGS}"
> +EXTRA_IMAGEDEPENDS_append_p1021rdb = " qe-ucode"
> +EXTRA_IMAGEDEPENDS_append_p1023rdb = " fm-ucode"
> +EXTRA_IMAGEDEPENDS_append_p1025twr = " qe-ucode"
> +EXTRA_IMAGEDEPENDS_append_t1040rdb = " qe-ucode"
> +EXTRA_IMAGEDEPENDS_append_t1040rdb-64b = " qe-ucode"
> +EXTRA_IMAGEDEPENDS_append_t2080rdb = " cs4315-firmware-image"
> +EXTRA_IMAGEDEPENDS_append_t2080rdb-64b = " cs4315-firmware-image"
> +EXTRA_IMAGEDEPENDS_append_t4240rdb = " cs4315-firmware-image"
> +EXTRA_IMAGEDEPENDS_append_t4240rdb-64b = " cs4315-firmware-image"
> +
> +# exclude pkgs that not supported by some boards
> +EXTRA_IMAGEDEPENDS_remove_b4420qds = "hv-cfg"
> +EXTRA_IMAGEDEPENDS_remove_b4420qds-64b = "hv-cfg"
> +EXTRA_IMAGEDEPENDS_remove_t1042rdb = "hv-cfg"
> +EXTRA_IMAGEDEPENDS_remove_t1042rdb-64b = "hv-cfg"
> +EXTRA_IMAGEDEPENDS_remove_t4160qds = "hv-cfg rcw"
> +EXTRA_IMAGEDEPENDS_remove_t4160qds-64b = "hv-cfg rcw"
> +
> +# special trick for e6500 to include 64bit hypervisor
> +EXTRA_IMAGEDEPENDS_remove_e6500 = " \
> +    hypervisor \
> +"
> +EXTRA_IMAGEDEPENDS_append_e6500 = " \
> +    ${@base_conditional("TCMODE", "external-fsl", "hypervisor", "lib64-hypervisor", d)} \
> +"
> +
> +COMMON_PKGS = " \
> +        fmc \
> +        qoriq-debug \
> +        usdpaa \
> +"
> +COMMON_PKGS_e500v2 = ""
> +
> +# pkgs to be installed into rootfs
> +IMAGE_INSTALL = " \
> +    packagegroup-core-boot \
> +    ${ROOTFS_PKGMANAGE_BOOTSTRAP} \
> +    packagegroup-core-ssh-dropbear \
> +    packagegroup-qoriq-core \
> +    ${COMMON_PKGS} \
> +    asf \
> +    eth-config \
> +    mux-server \
> +"
> +
> +# pkgs to be installed for each core
> +IMAGE_INSTALL_append_e500v2 = " \
> +    boot-format \
> +    boot-format-config \
> +    testfloat \
> +"
> +IMAGE_INSTALL_append_e6500-64b = " \
> +        ceetm \
> +"
> +
> +# pkgs to be installed for each board
> +IMAGE_INSTALL_append_b4420qds = " \
> +        ipc-modules-multi \
> +        ipc-modules-single \
> +        ipc-ust \
> +"
> +IMAGE_INSTALL_append_b4860qds = " \
> +        ipc-modules-multi \
> +        ipc-modules-single \
> +        ipc-ust \
> +"
> +IMAGE_INSTALL_append_c293pcie = " \
> +        pkc-firmware \
> +        skmm-ep \
> +"
> +IMAGE_INSTALL_append_p1023rdb = " \
> +        fmc \
> +"
> +IMAGE_INSTALL_append_p4080ds = " \
> +        pkc-host \
> +        skmm-ep \
> +        skmm-host \
> +"
> +IMAGE_INSTALL_append_t1040rdb = " \
> +        ceetm \
> +        uio-seville \
> +"
> +IMAGE_INSTALL_append_t1040rdb-64b = " \
> +        ceetm \
> +        uio-seville \
> +"
> +IMAGE_INSTALL_append_t4240qds = " \
> +        pkc-host \
> +        skmm-ep \
> +        skmm-host \
> +"
> +
> diff --git a/recipes-fsl/packagegroups/packagegroup-qoriq-core.bb b/recipes-fsl/packagegroups/packagegroup-qoriq-core.bb
> new file mode 100644
> index 0000000..42c61ff
> --- /dev/null
> +++ b/recipes-fsl/packagegroups/packagegroup-qoriq-core.bb
> @@ -0,0 +1,108 @@
> +SUMMARY = "core packagegroup for qoriq"
> +LICENSE = "MIT"
> +
> +inherit packagegroup
> +
> +PROVIDES = "${PACKAGES}"
> +
> +PACKAGES = "\
> +    packagegroup-qoriq-core \
> +    packagegroup-qoriq-core-misc \
> +    packagegroup-qoriq-distro \
> +    packagegroup-qoriq-machine \
> +    ${@base_contains('DISTRO_FEATURES', 'benchmark', 'packagegroup-qoriq-core-benchmark', '',d)} \
> +    ${@base_contains('DISTRO_FEATURES', 'ext2', 'packagegroup-qoriq-core-ext2', '',d)} \
> +    ${@base_contains('DISTRO_FEATURES', 'mtd', 'packagegroup-qoriq-core-mtd', '',d)} \
> +    ${@base_contains('DISTRO_FEATURES', 'vfat', 'packagegroup-qoriq-core-vfat', '',d)} \
> +"
> +
> +RDEPENDS_packagegroup-qoriq-core = "\
> +    packagegroup-qoriq-core-misc \
> +    packagegroup-qoriq-distro \
> +    packagegroup-qoriq-machine \
> +    ${@base_contains('DISTRO_FEATURES', 'benchmark', 'packagegroup-qoriq-core-benchmark', '',d)} \
> +    ${@base_contains('DISTRO_FEATURES', 'ext2', 'packagegroup-qoriq-core-ext2', '',d)} \
> +    ${@base_contains('DISTRO_FEATURES', 'mtd', 'packagegroup-qoriq-core-mtd', '',d)} \
> +    ${@base_contains('DISTRO_FEATURES', 'vfat', 'packagegroup-qoriq-core-vfat', '',d)} \
> +"
> +
> +DEPENDS_packagegroup-qoriq-distro = "${DISTRO_EXTRA_DEPENDS}"
> +RDEPENDS_packagegroup-qoriq-distro = "${DISTRO_EXTRA_RDEPENDS}"
> +RRECOMMENDS_packagegroup-qoriq-distro = "${DISTRO_EXTRA_RRECOMMENDS}"
> +RDEPENDS_packagegroup-qoriq-machine = "${MACHINE_EXTRA_RDEPENDS}"
> +RRECOMMENDS_packagegroup-qoriq-machine = "${MACHINE_EXTRA_RRECOMMENDS}"
> +
> +RDEPENDS_packagegroup-qoriq-core-ext2 = "\
> +    hdparm \
> +    e2fsprogs \
> +    e2fsprogs-badblocks \
> +    e2fsprogs-e2fsck \
> +    e2fsprogs-mke2fs \
> +    e2fsprogs-tune2fs \
> +"
> +
> +RDEPENDS_packagegroup-qoriq-core-misc = "\
> +    bash \
> +    coreutils \
> +    elfutils \
> +    ethtool \
> +    file \
> +    iproute2 \
> +    iproute2-tc \
> +    iptables \
> +    iputils \
> +    kernel-modules \
> +    kmod \
> +    mdadm \
> +    net-tools \
> +    pkgconfig \
> +    procps \
> +    psmisc \
> +    sysfsutils \
> +    sysklogd \
> +    sysstat \
> +    util-linux \
> +"
> +
> +RDEPENDS_packagegroup-qoriq-core-mtd = "\
> +    mtd-utils \
> +    mtd-utils-jffs2 \
> +    mtd-utils-ubifs \
> +"
> +
> +RRECOMMENDS_packagegroup-qoriq-core-benchmark = "\
> +    iperf \
> +    iozone3 \
> +    lmbench \
> +    netperf \
> +"
> +
> +RRECOMMENDS_packagegroup-qoriq-core-misc = "\
> +    bridge-utils \
> +    i2c-tools \
> +    inetutils \
> +    inetutils-ping \
> +    inetutils-ping6 \
> +    inetutils-hostname \
> +    inetutils-ifconfig \
> +    inetutils-logger \
> +    inetutils-traceroute \
> +    inetutils-syslogd \
> +    inetutils-ftp \
> +    inetutils-ftpd \
> +    inetutils-tftp \
> +    inetutils-tftpd \
> +    inetutils-telnet \
> +    inetutils-telnetd \
> +    inetutils-inetd \
> +    inetutils-rsh \
> +    inetutils-rshd \
> +    ipsec-tools \
> +    libhugetlbfs \
> +    lmsensors-sensors \
> +    tcpdump \
> +"
> +
> +RRECOMMENDS_packagegroup-qoriq-core-vfat = "\
> +    dosfstools \
> +"
> diff --git a/recipes-fsl/packagegroups/packagegroup-qoriq-extend.bb b/recipes-fsl/packagegroups/packagegroup-qoriq-extend.bb
> new file mode 100644
> index 0000000..e45b718
> --- /dev/null
> +++ b/recipes-fsl/packagegroups/packagegroup-qoriq-extend.bb
> @@ -0,0 +1,129 @@
> +SUMMARY = "extend packagegroup for qoriq"
> +LICENSE = "MIT"
> +
> +inherit packagegroup
> +
> +PROVIDES = "${PACKAGES}"
> +
> +PACKAGES = "\
> +    packagegroup-qoriq-extend \
> +    ${@base_contains('DISTRO_FEATURES', 'alsa', 'packagegroup-qoriq-extend-alsa', '',d)} \
> +    ${@base_contains('DISTRO_FEATURES', 'perl', 'packagegroup-qoriq-extend-perl', '',d)} \
> +    ${@base_contains('DISTRO_FEATURES', 'ppp', 'packagegroup-qoriq-extend-ppp', '',d)} \
> +    ${@base_contains('DISTRO_FEATURES', 'python', 'packagegroup-qoriq-extend-python', '',d)} \
> +    ${@base_contains('DISTRO_FEATURES', 'usbhost', 'packagegroup-qoriq-extend-usbhost', '',d)} \
> +    ${@base_contains('DISTRO_FEATURES', 'virtualization', 'packagegroup-qoriq-extend-virtualization', '',d)} \
> +    ${@base_contains('DISTRO_FEATURES', 'db', 'packagegroup-qoriq-extend-db', '',d)} \
> +    ${@base_contains('DISTRO_FEATURES', 'benchmark', 'packagegroup-qoriq-extend-benchmark', '',d)} \
> +    packagegroup-qoriq-extend-misc \
> +"
> +
> +RDEPENDS_packagegroup-qoriq-extend = "\
> +    ${@base_contains('DISTRO_FEATURES', 'alsa', 'packagegroup-qoriq-extend-alsa', '',d)} \
> +    ${@base_contains('DISTRO_FEATURES', 'perl', 'packagegroup-qoriq-extend-perl', '',d)} \
> +    ${@base_contains('DISTRO_FEATURES', 'ppp', 'packagegroup-qoriq-extend-ppp', '',d)} \
> +    ${@base_contains('DISTRO_FEATURES', 'python', 'packagegroup-qoriq-extend-python', '',d)} \
> +    ${@base_contains('DISTRO_FEATURES', 'usbhost', 'packagegroup-qoriq-extend-usbhost', '',d)} \
> +    ${@base_contains('DISTRO_FEATURES', 'virtualization', 'packagegroup-qoriq-extend-virtualization', '',d)} \
> +    ${@base_contains('DISTRO_FEATURES', 'db', 'packagegroup-qoriq-extend-db', '',d)} \
> +    ${@base_contains('DISTRO_FEATURES', 'benchmark', 'packagegroup-qoriq-extend-benchmark', '',d)} \
> +    packagegroup-qoriq-extend-misc \
> +"
> +
> +RDEPENDS_packagegroup-qoriq-extend-alsa = "\
> +    alsa-utils \
> +"
> +
> +RDEPENDS_packagegroup-qoriq-extend-perl = "\
> +    perl \
> +    perl-misc \
> +    perl-modules \
> +    perl-module-re \
> +    perl-pod \
> +"
> +
> +RDEPENDS_packagegroup-qoriq-extend-ppp = "\
> +    ppp \
> +    ppp-dialin \
> +"
> +
> +RDEPENDS_packagegroup-qoriq-extend-python = "\
> +    python \
> +    python-misc \
> +    python-modules \
> +"
> +
> +RDEPENDS_packagegroup-qoriq-extend-usbhost = "\
> +    usbutils \
> +    usbutils-ids \
> +"
> +
> +RDEPENDS_packagegroup-qoriq-extend-virtualization += "\
> +    qemu \
> +"
> +RRECOMMENDS_packagegroup-qoriq-extend-virtualization += "\
> +    lxc \
> +    libvirt \
> +    libvirt-libvirtd \
> +    libvirt-virsh \
> +"
> +
> +RDEPENDS_packagegroup-qoriq-extend-db = "\
> +    db \
> +    sqlite3 \
> +"
> +
> +RDEPENDS_packagegroup-qoriq-extend-misc = "\
> +    bind \
> +    bison \
> +    ccache \
> +    chkconfig \
> +    curl \
> +    dhcp-client \
> +    diffstat \
> +    dtc \
> +    gettext-runtime \
> +    git \
> +    intltool \
> +    lsb \
> +    lsbinitscripts \
> +    lsbtest \
> +    lsof \
> +    man \
> +    man-pages \
> +    mdadm \
> +    oprofile \
> +    parted \
> +    perf \
> +    quilt \
> +    rpm \
> +    rt-tests \
> +    subversion \
> +    tcl \
> +    u-boot-mkimage \
> +    unzip \
> +    valgrind \
> +    watchdog \
> +    which \
> +    xinetd \
> +    xz  \
> +    zip \
> +"
> +RRECOMMENDS_packagegroup-qoriq-extend-misc = "\
> +    debianutils \
> +    libnfnetlink \
> +    ptpd \
> +    rng-tools \
> +    rp-pppoe \
> +    samba \
> +    strongswan \
> +    wget \
> +"
> +
> +RDEPENDS_packagegroup-qoriq-extend-benchmark = "\
> +"
> +RRECOMMENDS_packagegroup-qoriq-extend-benchmark = "\
> +    bonnie++ \
> +    dbench \
> +    tiobench \
> +"
> diff --git a/recipes-fsl/packagegroups/packagegroup-qoriq-monitor.bb b/recipes-fsl/packagegroups/packagegroup-qoriq-monitor.bb
> new file mode 100644
> index 0000000..d24234d
> --- /dev/null
> +++ b/recipes-fsl/packagegroups/packagegroup-qoriq-monitor.bb
> @@ -0,0 +1,20 @@
> +SUMMARY = "qoriq monitor pkgs"
> +LICENSE = "MIT"
> +
> +inherit packagegroup
> +
> +RDEPENDS_packagegroup-qoriq-monitor = "\
> +    coreutils \
> +    cronie \
> +    bc \
> +    lighttpd \
> +    lighttpd-module-cgi \
> +    lmsensors-sensors \
> +    cairo \
> +    cairo-dev \
> +    rrdtool \
> +    liberation-fonts \
> +    make \
> +    web-sysmon \
> +"
> +
> diff --git a/recipes-fsl/packagegroups/packagegroup-qoriq-x11.bb b/recipes-fsl/packagegroups/packagegroup-qoriq-x11.bb
> new file mode 100644
> index 0000000..5c78c8a
> --- /dev/null
> +++ b/recipes-fsl/packagegroups/packagegroup-qoriq-x11.bb
> @@ -0,0 +1,15 @@
> +SUMMARY = "qoriq x11 pkgs"
> +LICENSE = "MIT"
> +
> +inherit packagegroup
> +
> +XSERVER ?= ""
> +
> +RDEPENDS_packagegroup-qoriq-x11 = "\
> +    twm \
> +    ${XSERVER} \
> +    x11-common \
> +    xclock \
> +    xterm \
> +"
> +
> --
> 1.8.3.2
>
> --
> _______________________________________________
> meta-freescale mailing list
> meta-freescale@yoctoproject.org
> https://lists.yoctoproject.org/listinfo/meta-freescale

Patch

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..12dd9fb
--- /dev/null
+++ b/recipes-fsl/images/fsl-image-networking-full.bb
@@ -0,0 +1,37 @@ 
+# This image extends fsl-image-networking with additional
+# opensouce packages
+
+# copy the manifest and the license text for each package to image
+COPY_LIC_MANIFEST = "1"
+COPY_LIC_DIRS = "1"
+
+require recipes-fsl/images/fsl-image-networking.bb
+
+MACHINE_SPECIFIC = ""
+MACHINE_SPECIFIC_p1022ds = " packagegroup-qoriq-x11"
+MACHINE_SPECIFIC_t1042rdb = " packagegroup-qoriq-x11"
+MACHINE_SPECIFIC_t1042rdb-64b = " packagegroup-qoriq-x11"
+
+IMAGE_INSTALL += " \
+    packagegroup-core-buildessential \
+    packagegroup-core-eclipse-debug \
+    packagegroup-core-full-cmdline \
+    packagegroup-core-nfs-server \
+    packagegroup-core-tools-debug \
+    packagegroup-qoriq-core \
+    packagegroup-qoriq-extend \
+    packagegroup-qoriq-monitor \
+    ${@multilib_pkg_extend(d, "binutils")} \
+    ${@multilib_pkg_extend(d, "cpp")} \
+    ${@multilib_pkg_extend(d, "eglibc-dev")} \
+    ${@multilib_pkg_extend(d, "eglibc-utils")} \
+    ${@multilib_pkg_extend(d, "g++")} \
+    ${@multilib_pkg_extend(d, "gcc")} \
+    ${@multilib_pkg_extend(d, "ldd")} \
+    ${@multilib_pkg_extend(d, "libgcc")} \
+    ${@multilib_pkg_extend(d, "libgcc-dev")} \
+    ${@multilib_pkg_extend(d, "valgrind")} \
+    ${MACHINE_SPECIFIC} \
+"
+
+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..e758bc1
--- /dev/null
+++ b/recipes-fsl/images/fsl-image-networking.bb
@@ -0,0 +1,113 @@ 
+DESCRIPTION = "A console-only image that includes Freescale's \
+networking packages and core opensource packages."
+
+IMAGE_LINGUAS = " "
+
+LICENSE = "MIT"
+
+inherit core-image
+
+IMAGE_FSTYPES = "tar.gz ext2.gz ext2.gz.u-boot"
+
+# pkgs to be built but not installed into rootfs
+DEPLOY_PKGS = " \
+    fm-ucode \
+    hv-cfg \
+    rcw \
+    hypervisor \
+"
+DEPLOY_PKGS_e500v2 = ""
+
+EXTRA_IMAGEDEPENDS_append = " ${DEPLOY_PKGS}"
+EXTRA_IMAGEDEPENDS_append_p1021rdb = " qe-ucode"
+EXTRA_IMAGEDEPENDS_append_p1023rdb = " fm-ucode"
+EXTRA_IMAGEDEPENDS_append_p1025twr = " qe-ucode"
+EXTRA_IMAGEDEPENDS_append_t1040rdb = " qe-ucode"
+EXTRA_IMAGEDEPENDS_append_t1040rdb-64b = " qe-ucode"
+EXTRA_IMAGEDEPENDS_append_t2080rdb = " cs4315-firmware-image"
+EXTRA_IMAGEDEPENDS_append_t2080rdb-64b = " cs4315-firmware-image"
+EXTRA_IMAGEDEPENDS_append_t4240rdb = " cs4315-firmware-image"
+EXTRA_IMAGEDEPENDS_append_t4240rdb-64b = " cs4315-firmware-image"
+
+# exclude pkgs that not supported by some boards
+EXTRA_IMAGEDEPENDS_remove_b4420qds = "hv-cfg"
+EXTRA_IMAGEDEPENDS_remove_b4420qds-64b = "hv-cfg"
+EXTRA_IMAGEDEPENDS_remove_t1042rdb = "hv-cfg"
+EXTRA_IMAGEDEPENDS_remove_t1042rdb-64b = "hv-cfg"
+EXTRA_IMAGEDEPENDS_remove_t4160qds = "hv-cfg rcw"
+EXTRA_IMAGEDEPENDS_remove_t4160qds-64b = "hv-cfg rcw"
+
+# special trick for e6500 to include 64bit hypervisor
+EXTRA_IMAGEDEPENDS_remove_e6500 = " \
+    hypervisor \
+"
+EXTRA_IMAGEDEPENDS_append_e6500 = " \
+    ${@base_conditional("TCMODE", "external-fsl", "hypervisor", "lib64-hypervisor", d)} \
+"
+
+COMMON_PKGS = " \
+        fmc \
+        qoriq-debug \
+        usdpaa \
+"
+COMMON_PKGS_e500v2 = ""
+
+# pkgs to be installed into rootfs
+IMAGE_INSTALL = " \
+    packagegroup-core-boot \
+    ${ROOTFS_PKGMANAGE_BOOTSTRAP} \
+    packagegroup-core-ssh-dropbear \
+    packagegroup-qoriq-core \
+    ${COMMON_PKGS} \
+    asf \
+    eth-config \
+    mux-server \
+"
+
+# pkgs to be installed for each core
+IMAGE_INSTALL_append_e500v2 = " \
+    boot-format \
+    boot-format-config \
+    testfloat \
+"
+IMAGE_INSTALL_append_e6500-64b = " \
+        ceetm \
+"
+
+# pkgs to be installed for each board
+IMAGE_INSTALL_append_b4420qds = " \
+        ipc-modules-multi \
+        ipc-modules-single \
+        ipc-ust \
+"
+IMAGE_INSTALL_append_b4860qds = " \
+        ipc-modules-multi \
+        ipc-modules-single \
+        ipc-ust \
+"
+IMAGE_INSTALL_append_c293pcie = " \
+        pkc-firmware \
+        skmm-ep \
+"
+IMAGE_INSTALL_append_p1023rdb = " \
+        fmc \
+"
+IMAGE_INSTALL_append_p4080ds = " \
+        pkc-host \
+        skmm-ep \
+        skmm-host \
+"
+IMAGE_INSTALL_append_t1040rdb = " \
+        ceetm \
+        uio-seville \
+"
+IMAGE_INSTALL_append_t1040rdb-64b = " \
+        ceetm \
+        uio-seville \
+"
+IMAGE_INSTALL_append_t4240qds = " \
+        pkc-host \
+        skmm-ep \
+        skmm-host \
+"
+
diff --git a/recipes-fsl/packagegroups/packagegroup-qoriq-core.bb b/recipes-fsl/packagegroups/packagegroup-qoriq-core.bb
new file mode 100644
index 0000000..42c61ff
--- /dev/null
+++ b/recipes-fsl/packagegroups/packagegroup-qoriq-core.bb
@@ -0,0 +1,108 @@ 
+SUMMARY = "core packagegroup for qoriq"
+LICENSE = "MIT"
+
+inherit packagegroup
+
+PROVIDES = "${PACKAGES}"
+
+PACKAGES = "\
+    packagegroup-qoriq-core \
+    packagegroup-qoriq-core-misc \
+    packagegroup-qoriq-distro \
+    packagegroup-qoriq-machine \
+    ${@base_contains('DISTRO_FEATURES', 'benchmark', 'packagegroup-qoriq-core-benchmark', '',d)} \
+    ${@base_contains('DISTRO_FEATURES', 'ext2', 'packagegroup-qoriq-core-ext2', '',d)} \
+    ${@base_contains('DISTRO_FEATURES', 'mtd', 'packagegroup-qoriq-core-mtd', '',d)} \
+    ${@base_contains('DISTRO_FEATURES', 'vfat', 'packagegroup-qoriq-core-vfat', '',d)} \
+"
+
+RDEPENDS_packagegroup-qoriq-core = "\
+    packagegroup-qoriq-core-misc \
+    packagegroup-qoriq-distro \
+    packagegroup-qoriq-machine \
+    ${@base_contains('DISTRO_FEATURES', 'benchmark', 'packagegroup-qoriq-core-benchmark', '',d)} \
+    ${@base_contains('DISTRO_FEATURES', 'ext2', 'packagegroup-qoriq-core-ext2', '',d)} \
+    ${@base_contains('DISTRO_FEATURES', 'mtd', 'packagegroup-qoriq-core-mtd', '',d)} \
+    ${@base_contains('DISTRO_FEATURES', 'vfat', 'packagegroup-qoriq-core-vfat', '',d)} \
+"
+
+DEPENDS_packagegroup-qoriq-distro = "${DISTRO_EXTRA_DEPENDS}"
+RDEPENDS_packagegroup-qoriq-distro = "${DISTRO_EXTRA_RDEPENDS}"
+RRECOMMENDS_packagegroup-qoriq-distro = "${DISTRO_EXTRA_RRECOMMENDS}"
+RDEPENDS_packagegroup-qoriq-machine = "${MACHINE_EXTRA_RDEPENDS}"
+RRECOMMENDS_packagegroup-qoriq-machine = "${MACHINE_EXTRA_RRECOMMENDS}"
+
+RDEPENDS_packagegroup-qoriq-core-ext2 = "\
+    hdparm \
+    e2fsprogs \
+    e2fsprogs-badblocks \
+    e2fsprogs-e2fsck \
+    e2fsprogs-mke2fs \
+    e2fsprogs-tune2fs \
+"
+
+RDEPENDS_packagegroup-qoriq-core-misc = "\
+    bash \
+    coreutils \
+    elfutils \
+    ethtool \
+    file \
+    iproute2 \
+    iproute2-tc \
+    iptables \
+    iputils \
+    kernel-modules \
+    kmod \
+    mdadm \
+    net-tools \
+    pkgconfig \
+    procps \
+    psmisc \
+    sysfsutils \
+    sysklogd \
+    sysstat \
+    util-linux \
+"
+
+RDEPENDS_packagegroup-qoriq-core-mtd = "\
+    mtd-utils \
+    mtd-utils-jffs2 \
+    mtd-utils-ubifs \
+"
+
+RRECOMMENDS_packagegroup-qoriq-core-benchmark = "\
+    iperf \
+    iozone3 \
+    lmbench \
+    netperf \
+"
+
+RRECOMMENDS_packagegroup-qoriq-core-misc = "\
+    bridge-utils \
+    i2c-tools \
+    inetutils \
+    inetutils-ping \
+    inetutils-ping6 \
+    inetutils-hostname \
+    inetutils-ifconfig \
+    inetutils-logger \
+    inetutils-traceroute \
+    inetutils-syslogd \
+    inetutils-ftp \
+    inetutils-ftpd \
+    inetutils-tftp \
+    inetutils-tftpd \
+    inetutils-telnet \
+    inetutils-telnetd \
+    inetutils-inetd \
+    inetutils-rsh \
+    inetutils-rshd \
+    ipsec-tools \
+    libhugetlbfs \
+    lmsensors-sensors \
+    tcpdump \
+"
+
+RRECOMMENDS_packagegroup-qoriq-core-vfat = "\
+    dosfstools \
+"
diff --git a/recipes-fsl/packagegroups/packagegroup-qoriq-extend.bb b/recipes-fsl/packagegroups/packagegroup-qoriq-extend.bb
new file mode 100644
index 0000000..e45b718
--- /dev/null
+++ b/recipes-fsl/packagegroups/packagegroup-qoriq-extend.bb
@@ -0,0 +1,129 @@ 
+SUMMARY = "extend packagegroup for qoriq"
+LICENSE = "MIT"
+
+inherit packagegroup
+
+PROVIDES = "${PACKAGES}"
+
+PACKAGES = "\
+    packagegroup-qoriq-extend \
+    ${@base_contains('DISTRO_FEATURES', 'alsa', 'packagegroup-qoriq-extend-alsa', '',d)} \
+    ${@base_contains('DISTRO_FEATURES', 'perl', 'packagegroup-qoriq-extend-perl', '',d)} \
+    ${@base_contains('DISTRO_FEATURES', 'ppp', 'packagegroup-qoriq-extend-ppp', '',d)} \
+    ${@base_contains('DISTRO_FEATURES', 'python', 'packagegroup-qoriq-extend-python', '',d)} \
+    ${@base_contains('DISTRO_FEATURES', 'usbhost', 'packagegroup-qoriq-extend-usbhost', '',d)} \
+    ${@base_contains('DISTRO_FEATURES', 'virtualization', 'packagegroup-qoriq-extend-virtualization', '',d)} \
+    ${@base_contains('DISTRO_FEATURES', 'db', 'packagegroup-qoriq-extend-db', '',d)} \
+    ${@base_contains('DISTRO_FEATURES', 'benchmark', 'packagegroup-qoriq-extend-benchmark', '',d)} \
+    packagegroup-qoriq-extend-misc \
+"
+
+RDEPENDS_packagegroup-qoriq-extend = "\
+    ${@base_contains('DISTRO_FEATURES', 'alsa', 'packagegroup-qoriq-extend-alsa', '',d)} \
+    ${@base_contains('DISTRO_FEATURES', 'perl', 'packagegroup-qoriq-extend-perl', '',d)} \
+    ${@base_contains('DISTRO_FEATURES', 'ppp', 'packagegroup-qoriq-extend-ppp', '',d)} \
+    ${@base_contains('DISTRO_FEATURES', 'python', 'packagegroup-qoriq-extend-python', '',d)} \
+    ${@base_contains('DISTRO_FEATURES', 'usbhost', 'packagegroup-qoriq-extend-usbhost', '',d)} \
+    ${@base_contains('DISTRO_FEATURES', 'virtualization', 'packagegroup-qoriq-extend-virtualization', '',d)} \
+    ${@base_contains('DISTRO_FEATURES', 'db', 'packagegroup-qoriq-extend-db', '',d)} \
+    ${@base_contains('DISTRO_FEATURES', 'benchmark', 'packagegroup-qoriq-extend-benchmark', '',d)} \
+    packagegroup-qoriq-extend-misc \
+"
+
+RDEPENDS_packagegroup-qoriq-extend-alsa = "\
+    alsa-utils \
+"
+
+RDEPENDS_packagegroup-qoriq-extend-perl = "\
+    perl \
+    perl-misc \
+    perl-modules \
+    perl-module-re \
+    perl-pod \
+"
+
+RDEPENDS_packagegroup-qoriq-extend-ppp = "\
+    ppp \
+    ppp-dialin \
+"
+
+RDEPENDS_packagegroup-qoriq-extend-python = "\
+    python \
+    python-misc \
+    python-modules \
+"
+
+RDEPENDS_packagegroup-qoriq-extend-usbhost = "\
+    usbutils \
+    usbutils-ids \
+"
+
+RDEPENDS_packagegroup-qoriq-extend-virtualization += "\
+    qemu \
+"
+RRECOMMENDS_packagegroup-qoriq-extend-virtualization += "\
+    lxc \
+    libvirt \
+    libvirt-libvirtd \
+    libvirt-virsh \
+"
+
+RDEPENDS_packagegroup-qoriq-extend-db = "\
+    db \
+    sqlite3 \
+"
+
+RDEPENDS_packagegroup-qoriq-extend-misc = "\
+    bind \
+    bison \
+    ccache \
+    chkconfig \
+    curl \
+    dhcp-client \
+    diffstat \
+    dtc \
+    gettext-runtime \
+    git \
+    intltool \
+    lsb \
+    lsbinitscripts \
+    lsbtest \
+    lsof \
+    man \
+    man-pages \
+    mdadm \
+    oprofile \
+    parted \
+    perf \
+    quilt \
+    rpm \
+    rt-tests \
+    subversion \
+    tcl \
+    u-boot-mkimage \
+    unzip \
+    valgrind \
+    watchdog \
+    which \
+    xinetd \
+    xz  \
+    zip \
+"
+RRECOMMENDS_packagegroup-qoriq-extend-misc = "\
+    debianutils \
+    libnfnetlink \
+    ptpd \
+    rng-tools \
+    rp-pppoe \
+    samba \
+    strongswan \
+    wget \
+"
+
+RDEPENDS_packagegroup-qoriq-extend-benchmark = "\
+"
+RRECOMMENDS_packagegroup-qoriq-extend-benchmark = "\
+    bonnie++ \
+    dbench \
+    tiobench \
+"
diff --git a/recipes-fsl/packagegroups/packagegroup-qoriq-monitor.bb b/recipes-fsl/packagegroups/packagegroup-qoriq-monitor.bb
new file mode 100644
index 0000000..d24234d
--- /dev/null
+++ b/recipes-fsl/packagegroups/packagegroup-qoriq-monitor.bb
@@ -0,0 +1,20 @@ 
+SUMMARY = "qoriq monitor pkgs"
+LICENSE = "MIT"
+
+inherit packagegroup
+
+RDEPENDS_packagegroup-qoriq-monitor = "\
+    coreutils \
+    cronie \
+    bc \
+    lighttpd \
+    lighttpd-module-cgi \
+    lmsensors-sensors \
+    cairo \
+    cairo-dev \
+    rrdtool \
+    liberation-fonts \
+    make \
+    web-sysmon \
+"
+
diff --git a/recipes-fsl/packagegroups/packagegroup-qoriq-x11.bb b/recipes-fsl/packagegroups/packagegroup-qoriq-x11.bb
new file mode 100644
index 0000000..5c78c8a
--- /dev/null
+++ b/recipes-fsl/packagegroups/packagegroup-qoriq-x11.bb
@@ -0,0 +1,15 @@ 
+SUMMARY = "qoriq x11 pkgs"
+LICENSE = "MIT"
+
+inherit packagegroup
+
+XSERVER ?= ""
+
+RDEPENDS_packagegroup-qoriq-x11 = "\
+    twm \
+    ${XSERVER} \
+    x11-common \
+    xclock \
+    xterm \
+"
+