diff options
Diffstat (limited to 'recipes-dpaa')
| -rw-r--r-- | recipes-dpaa/eth-config/eth-config_git.bb | 19 | ||||
| -rw-r--r-- | recipes-dpaa/flib/flib_git.bb | 17 | ||||
| -rw-r--r-- | recipes-dpaa/fm-ucode/fm-ucode_git.bb | 48 | ||||
| -rw-r--r-- | recipes-dpaa/fmc/fmc_git.bb | 53 | ||||
| -rw-r--r-- | recipes-dpaa/fmlib/fmlib_git.bb | 45 | ||||
| -rw-r--r-- | recipes-dpaa/usdpaa/usdpaa_git.bb | 51 |
6 files changed, 233 insertions, 0 deletions
diff --git a/recipes-dpaa/eth-config/eth-config_git.bb b/recipes-dpaa/eth-config/eth-config_git.bb new file mode 100644 index 0000000..882fa69 --- /dev/null +++ b/recipes-dpaa/eth-config/eth-config_git.bb | |||
| @@ -0,0 +1,19 @@ | |||
| 1 | DESCRIPTION = "Ethernet Configuration Files" | ||
| 2 | SECTION = "eth-config" | ||
| 3 | LICENSE = "Freescale-EULA" | ||
| 4 | LIC_FILES_CHKSUM = "file://COPYING;md5=ee9cce4f1b396a50469f4dbde064e866" | ||
| 5 | |||
| 6 | PR = "r2" | ||
| 7 | |||
| 8 | SRC_URI = "git://git.freescale.com/ppc/sdk/eth-config.git" | ||
| 9 | SRCREV = "96ac356dbe77948318c3806764f4a68862e30ac4" | ||
| 10 | |||
| 11 | S = "${WORKDIR}/git" | ||
| 12 | |||
| 13 | do_install() { | ||
| 14 | install -d ${D}/etc/fmc/config | ||
| 15 | install -m 644 ${S}/*.xml ${D}/etc/fmc/config | ||
| 16 | install -d ${D}/etc/fmc/config/shared_mac | ||
| 17 | install -m 644 ${S}/shared_mac/*.xml ${D}/etc/fmc/config/shared_mac | ||
| 18 | install -m 644 ${S}/shared_mac/README ${D}/etc/fmc/config/shared_mac | ||
| 19 | } | ||
diff --git a/recipes-dpaa/flib/flib_git.bb b/recipes-dpaa/flib/flib_git.bb new file mode 100644 index 0000000..3f25999 --- /dev/null +++ b/recipes-dpaa/flib/flib_git.bb | |||
| @@ -0,0 +1,17 @@ | |||
| 1 | DESCRIPTION = "Foundation Library" | ||
| 2 | SECTION = "flib" | ||
| 3 | LICENSE = "BSD & GPLv2" | ||
| 4 | LIC_FILES_CHKSUM = "file://COPYING;md5=3f16fa8e677e45af3127c5c4bafc3c00" | ||
| 5 | |||
| 6 | SRC_URI = "git://git.freescale.com/ppc/sdk/flib.git;nobranch=1" | ||
| 7 | SRCREV = "bb6162efa0767fc515c87a51191a9edba4750426" | ||
| 8 | SRCREV_t2080qds = "64a3233ae426f36119268381c62100b02f7fe7e1" | ||
| 9 | SRCREV_t2080qds-64b = "64a3233ae426f36119268381c62100b02f7fe7e1" | ||
| 10 | |||
| 11 | S = "${WORKDIR}/git" | ||
| 12 | |||
| 13 | do_install(){ | ||
| 14 | oe_runmake install DESTDIR=${D} | ||
| 15 | } | ||
| 16 | |||
| 17 | ALLOW_EMPTY_${PN} = "1" | ||
diff --git a/recipes-dpaa/fm-ucode/fm-ucode_git.bb b/recipes-dpaa/fm-ucode/fm-ucode_git.bb new file mode 100644 index 0000000..3840e23 --- /dev/null +++ b/recipes-dpaa/fm-ucode/fm-ucode_git.bb | |||
| @@ -0,0 +1,48 @@ | |||
| 1 | DESCRIPTION = "Fman microcode binary" | ||
| 2 | SECTION = "fm-ucode" | ||
| 3 | LICENSE = "Freescale-EULA" | ||
| 4 | LIC_FILES_CHKSUM = "file://EULA;md5=60037ccba533a5995e8d1a838d85799c" | ||
| 5 | |||
| 6 | PR = "r1" | ||
| 7 | |||
| 8 | COMPATIBLE_MACHINE = "(p1023rdb|p2041rdb|p3041ds|p4080ds|p5020ds|p5040ds|p5020ds-64b|p5040ds-64b|b4420qds|b4420qds-64b|b4860qds|b4860qds-64b|t4160qds|t4160qds-64b|t2080qds|t2080qds-64b|t4240qds|t4240qds-64b)" | ||
| 9 | inherit deploy | ||
| 10 | |||
| 11 | SRC_URI = "git://git.freescale.com/ppc/sdk/fm-ucode.git;nobranch=1" | ||
| 12 | SRCREV = "c8fe73d734ed733f39c80aa3a8f167808ba3913c" | ||
| 13 | |||
| 14 | S = "${WORKDIR}/git" | ||
| 15 | |||
| 16 | ALLOW_EMPTY_${PN} = "1" | ||
| 17 | do_install () { | ||
| 18 | case ${MACHINE} in | ||
| 19 | b4420qds|b4420qds-64b|b4860qds|b4860qds-64b) UCODE=b4860qds;; | ||
| 20 | t4240qds|t4240qds-64b|t4160qds|t4160qds-64b) UCODE=t4240qds;; | ||
| 21 | p5020ds|p5020ds-64b) UCODE=p5020ds;; | ||
| 22 | p5040ds|p5040ds-64b) UCODE=p5040ds;; | ||
| 23 | t2080qds|t2080qds-64b) UCODE=t2080qds;; | ||
| 24 | *) UCODE=${MACHINE};; | ||
| 25 | esac | ||
| 26 | UCODE=`echo $UCODE | sed -e 's,[a-zA-Z]*$,,'` | ||
| 27 | install -d ${D}/boot | ||
| 28 | install -m 644 fsl_fman_ucode_${UCODE}*.bin ${D}/boot/ | ||
| 29 | } | ||
| 30 | |||
| 31 | do_deploy () { | ||
| 32 | case ${MACHINE} in | ||
| 33 | b4420qds|b4420qds-64b|b4860qds|b4860qds-64b) UCODE=b4860qds;; | ||
| 34 | t4240qds|t4240qds-64b|t4160qds|t4160qds-64b) UCODE=t4240qds;; | ||
| 35 | p5020ds|p5020ds-64b) UCODE=p5020ds;; | ||
| 36 | p5040ds|p5040ds-64b) UCODE=p5040ds;; | ||
| 37 | t2080qds|t2080qds-64b) UCODE=t2080qds;; | ||
| 38 | *) UCODE=${MACHINE};; | ||
| 39 | esac | ||
| 40 | UCODE=`echo $UCODE | sed -e 's,[a-zA-Z]*$,,'` | ||
| 41 | install -d ${DEPLOYDIR}/ | ||
| 42 | install -m 644 fsl_fman_ucode_${UCODE}*.bin ${DEPLOYDIR}/ | ||
| 43 | } | ||
| 44 | addtask deploy before do_build after do_install | ||
| 45 | |||
| 46 | PACKAGES += "${PN}-image" | ||
| 47 | FILES_${PN}-image += "/boot" | ||
| 48 | |||
diff --git a/recipes-dpaa/fmc/fmc_git.bb b/recipes-dpaa/fmc/fmc_git.bb new file mode 100644 index 0000000..9d98fec --- /dev/null +++ b/recipes-dpaa/fmc/fmc_git.bb | |||
| @@ -0,0 +1,53 @@ | |||
| 1 | DESCRIPTION = "Frame Manager Configuration tool" | ||
| 2 | SECTION = "fmc" | ||
| 3 | LICENSE = "MIT" | ||
| 4 | LIC_FILES_CHKSUM = "file://COPYING;md5=a504ab5a8ff235e67c7301214749346c" | ||
| 5 | |||
| 6 | PR = "r2" | ||
| 7 | |||
| 8 | SRC_URI = "git://git.freescale.com/ppc/sdk/fmc.git;nobranch=1" | ||
| 9 | SRCREV = "363f8497cf04d242c477b12a21f679b2ec9e3fa4" | ||
| 10 | |||
| 11 | DEPENDS = "libxml2 fmlib tclap" | ||
| 12 | |||
| 13 | PACKAGE_ARCH = "${MACHINE_ARCH}" | ||
| 14 | |||
| 15 | S = "${WORKDIR}/git" | ||
| 16 | |||
| 17 | EXTRA_OEMAKE = 'FMD_USPACE_HEADER_PATH="${STAGING_INCDIR}/fmd" \ | ||
| 18 | FMD_USPACE_LIB_PATH="${STAGING_LIBDIR}" LIBXML2_HEADER_PATH="${STAGING_INCDIR}/libxml2" \ | ||
| 19 | TCLAP_HEADER_PATH="${STAGING_INCDIR}" ' | ||
| 20 | EXTRA_OEMAKE_virtclass-native = 'FMCHOSTMODE=1 FMD_USPACE_HEADER_PATH="${STAGING_INCDIR}/fmd" \ | ||
| 21 | FMD_USPACE_LIB_PATH="${STAGING_LIBDIR}" LIBXML2_HEADER_PATH="${STAGING_INCDIR}/libxml2" \ | ||
| 22 | TCLAP_HEADER_PATH="${STAGING_INCDIR}" ' | ||
| 23 | |||
| 24 | PARALLEL_MAKE = "" | ||
| 25 | |||
| 26 | do_compile () { | ||
| 27 | if [ "b4860qds" = "${MACHINE}" ] || [ "t2080qds" = "${MACHINE}" ] || [ "b4420qds" = "${MACHINE}" ];then | ||
| 28 | EXTRA_OEMAKE_PLATFORM="b4860qds" | ||
| 29 | elif [ "t4240qds" = "${MACHINE}" ] || [ "t4160qds" = "${MACHINE}" ];then | ||
| 30 | EXTRA_OEMAKE_PLATFORM="t4240qds" | ||
| 31 | elif [ "p1023rds" = "${MACHINE}" ];then | ||
| 32 | EXTRA_OEMAKE_PLATFORM="p1023rds" | ||
| 33 | else | ||
| 34 | EXTRA_OEMAKE_PLATFORM="" | ||
| 35 | fi | ||
| 36 | oe_runmake MACHINE=${EXTRA_OEMAKE_PLATFORM} -C source | ||
| 37 | } | ||
| 38 | |||
| 39 | do_install () { | ||
| 40 | install -d ${D}/${bindir} | ||
| 41 | install -m 755 ${S}/source/fmc ${D}/${bindir}/fmc | ||
| 42 | |||
| 43 | install -d ${D}/etc/fmc/config | ||
| 44 | install -m 644 ${S}/etc/fmc/config/hxs_pdl_v3.xml ${D}/etc/fmc/config | ||
| 45 | |||
| 46 | install -d ${D}/${includedir}/fmc | ||
| 47 | install ${S}/source/fmc.h ${D}/${includedir}/fmc | ||
| 48 | |||
| 49 | install -d ${D}/${libdir} | ||
| 50 | install ${S}/source/libfmc.a ${D}/${libdir} | ||
| 51 | } | ||
| 52 | |||
| 53 | BBCLASSEXTEND = "native" | ||
diff --git a/recipes-dpaa/fmlib/fmlib_git.bb b/recipes-dpaa/fmlib/fmlib_git.bb new file mode 100644 index 0000000..df7caf8 --- /dev/null +++ b/recipes-dpaa/fmlib/fmlib_git.bb | |||
| @@ -0,0 +1,45 @@ | |||
| 1 | DESCRIPTION = "Frame Manager User Space Library" | ||
| 2 | SECTION = "fman" | ||
| 3 | LICENSE = "BSD & GPLv2" | ||
| 4 | LIC_FILES_CHKSUM = "file://COPYING;md5=3f16fa8e677e45af3127c5c4bafc3c00" | ||
| 5 | |||
| 6 | PR = "r1" | ||
| 7 | |||
| 8 | DEPENDS += "virtual/kernel" | ||
| 9 | DEPENDS_virtclass-native = "" | ||
| 10 | |||
| 11 | SRC_URI = "git://git.freescale.com/ppc/sdk/fmlib.git;nobranch=1" | ||
| 12 | SRCREV = "1fce11f17a102820a20cdbf80f557d74b169fc4c" | ||
| 13 | SRCREV_t2080qds = "49f50a4bf4f0e34708003d7b49ce629630b68489" | ||
| 14 | SRCREV_t2080qds-64b = "49f50a4bf4f0e34708003d7b49ce629630b68489" | ||
| 15 | |||
| 16 | S = "${WORKDIR}/git" | ||
| 17 | |||
| 18 | TARGET_ARCH_FMLIB = "${DEFAULTTUNE}" | ||
| 19 | TARGET_ARCH_FMLIB_e5500 = "ppc32e5500" | ||
| 20 | TARGET_ARCH_FMLIB_e6500 = "ppc32e6500" | ||
| 21 | COMPATIBLE_HOST_fslmachine = ".*" | ||
| 22 | COMPATIBLE_HOST ?= "(none)" | ||
| 23 | |||
| 24 | EXTRA_OEMAKE = "DESTDIR=${D} PREFIX=${prefix} LIB_DEST_DIR=${libdir} \ | ||
| 25 | CROSS_COMPILE=${TARGET_PREFIX} KERNEL_SRC=${STAGING_KERNEL_DIR}" | ||
| 26 | |||
| 27 | do_compile () { | ||
| 28 | oe_runmake libfm-${TARGET_ARCH_FMLIB}.a | ||
| 29 | } | ||
| 30 | |||
| 31 | do_compile_virtclass-native () { | ||
| 32 | } | ||
| 33 | |||
| 34 | do_install () { | ||
| 35 | oe_runmake install-libfm-${TARGET_ARCH_FMLIB} | ||
| 36 | } | ||
| 37 | |||
| 38 | do_install_virtclass-native () { | ||
| 39 | install -d ${D}/${includedir} | ||
| 40 | cp -rf ${S}/include/* ${D}/${includedir} | ||
| 41 | } | ||
| 42 | |||
| 43 | ALLOW_EMPTY_${PN} = "1" | ||
| 44 | |||
| 45 | BBCLASSEXTEND = "native" | ||
diff --git a/recipes-dpaa/usdpaa/usdpaa_git.bb b/recipes-dpaa/usdpaa/usdpaa_git.bb new file mode 100644 index 0000000..8288b2a --- /dev/null +++ b/recipes-dpaa/usdpaa/usdpaa_git.bb | |||
| @@ -0,0 +1,51 @@ | |||
| 1 | DESCRIPTION = "User-Space Data-Path Acceleration Architecture drivers" | ||
| 2 | LICENSE = "BSD & GPLv2" | ||
| 3 | LIC_FILES_CHKSUM = "file://Makefile;endline=30;md5=39e58bedc879163c9338596e52df5b1f" | ||
| 4 | PR = "r4" | ||
| 5 | |||
| 6 | inherit pkgconfig | ||
| 7 | |||
| 8 | PACKAGE_ARCH = "${MACHINE_ARCH}" | ||
| 9 | |||
| 10 | DEPENDS = "libxml2 libedit ncurses readline flib fmc" | ||
| 11 | RDEPENDS_${PN} = "libgcc bash" | ||
| 12 | |||
| 13 | SRC_URI = "git://git.freescale.com/ppc/sdk/usdpaa.git;nobranch=1" | ||
| 14 | SRCREV = "cc8e332c64e5840ea2037624159801284434caba" | ||
| 15 | SRCREV_t2080qds = "e6659c7a473fbaa64313c941d5fb10c723c64731" | ||
| 16 | SRCREV_t2080qds-64b = "e6659c7a473fbaa64313c941d5fb10c723c64731" | ||
| 17 | |||
| 18 | S = "${WORKDIR}/git" | ||
| 19 | |||
| 20 | EXTRA_OEMAKE = 'CC="${CC}" LD="${LD}" AR="${AR}"' | ||
| 21 | export ARCH="${TARGET_ARCH}" | ||
| 22 | |||
| 23 | do_compile_prepend () { | ||
| 24 | case ${MACHINE} in | ||
| 25 | b4420qds|b4420qds-64b|b4860qds|b4860qds-64b) SOC=B4860;; | ||
| 26 | t4240qds|t4240qds-64b) SOC=T4240;; | ||
| 27 | p1023rdb) SOC=P1023;; | ||
| 28 | *) SOC=P4080;; | ||
| 29 | esac | ||
| 30 | export FMC_EXTRA_CFLAGS="-I ${STAGING_INCDIR}/fmc" | ||
| 31 | export FMLIB_EXTRA_CFLAGS="-I ${STAGING_INCDIR}/fmd \ | ||
| 32 | -I ${STAGING_INCDIR}/fmd/Peripherals \ | ||
| 33 | -I ${STAGING_INCDIR}/fmd/integrations \ | ||
| 34 | -D $SOC" | ||
| 35 | |||
| 36 | export LIBXML2_CFLAGS="$(pkg-config --cflags libxml-2.0)" | ||
| 37 | export LIBXML2_LDFLAGS="$(pkg-config --libs --static libxml-2.0)" | ||
| 38 | export LIBEDIT_CFLAGS="$(pkg-config --cflags libedit)" | ||
| 39 | export LIBEDIT_LDFLAGS="$(pkg-config --libs --static libedit)" | ||
| 40 | } | ||
| 41 | |||
| 42 | do_install () { | ||
| 43 | oe_runmake install DESTDIR=${D} | ||
| 44 | } | ||
| 45 | |||
| 46 | PARALLEL_MAKE_pn-${PN} = "" | ||
| 47 | FILES_${PN} += "/root/SOURCE_THIS /usr/etc/" | ||
| 48 | |||
| 49 | COMPATIBLE_HOST_fslmachine = ".*" | ||
| 50 | COMPATIBLE_HOST ?= "(none)" | ||
| 51 | |||
