All of lore.kernel.org
 help / color / mirror / Atom feed
From: Mahesh Radhakrishnan <m-radhakrishnan2@ti.com>
To: <meta-ti@yoctoproject.org>
Subject: [PATCH v2 25/37] pm-lld-rtos: Adding rtos recipe for pm-lld
Date: Tue, 18 Jul 2017 19:03:36 -0400	[thread overview]
Message-ID: <1500419028-3361-25-git-send-email-m-radhakrishnan2@ti.com> (raw)
In-Reply-To: <1500419028-3361-1-git-send-email-m-radhakrishnan2@ti.com>

Upstreaming TI RTOS low level driver for Power Management module (PM)
Signed-off-by: Mahesh Radhakrishnan <m-radhakrishnan2@ti.com>
---

v2 - Added summary & merged in to a single recipe

 recipes-bsp/pm-lld/pm-lld-rtos_git.bb | 95 +++++++++++++++++++++++++++++++++++
 1 file changed, 95 insertions(+)
 create mode 100644 recipes-bsp/pm-lld/pm-lld-rtos_git.bb

diff --git a/recipes-bsp/pm-lld/pm-lld-rtos_git.bb b/recipes-bsp/pm-lld/pm-lld-rtos_git.bb
new file mode 100644
index 0000000..c976deb
--- /dev/null
+++ b/recipes-bsp/pm-lld/pm-lld-rtos_git.bb
@@ -0,0 +1,95 @@
+SUMMARY = "TI RTOS driver for Power Management module (PM)"
+
+require recipes-ti/includes/ti-paths.inc
+
+LICENSE = "BSD-3-Clause"
+LIC_FILES_CHKSUM = "file://Power.h;beginline=1;endline=31;md5=527b91fdcd26cd19ac07a754f45dedbe"
+
+COMPATIBLE_MACHINE = "ti33x|ti43x|omap-a15|k2g"
+PACKAGE_ARCH = "${MACHINE_ARCH}"
+
+
+PM_LLD_GIT_URI = "git://git.ti.com/keystone-rtos/pm-lld.git"
+PM_LLD_GIT_PROTOCOL = "git"
+PM_LLD_GIT_BRANCH = "int_pm_am335x"
+PM_LLD_GIT_BRANCH_dra7xx-evm = "master"
+PM_LLD_GIT_DESTSUFFIX = "git/ti/drv/pm"
+
+# Below commit ID corresponds to "DEV.PM_LLD.01.04.00.01"
+PM_LLD_SRCREV = "c4908f94b3e655e6298aa9bfe9bbffbbc5d16111"
+
+# Below commit ID corresponds to "REL.PDK.TDA.01.07.00.06"
+PM_LLD_SRCREV_dra7xx-evm = "46ea13503d2991f636197edb206a9f62cea398d4"
+
+BRANCH = "${PM_LLD_GIT_BRANCH}"
+SRC_URI = "${PM_LLD_GIT_URI};destsuffix=${PM_LLD_GIT_DESTSUFFIX};protocol=${PM_LLD_GIT_PROTOCOL};branch=${BRANCH}"
+
+#PATCHTOOL = "git"
+#SRC_URI_append = " \
+#    file://.patch \
+#"
+
+SRCREV = "${PM_LLD_SRCREV}"
+PV = "01.04.00.01"
+PR = "r0"
+
+S = "${WORKDIR}/${PM_LLD_GIT_DESTSUFFIX}"
+
+DEPENDS = " ti-sysbios \
+            gcc-arm-none-eabi-native \
+            osal-rtos \
+            ca-certificates-native \
+            ti-pdk-setup \
+"
+DEPENDS_append_omap-a15 = " ti-cgt-arm-native \
+                            ti-cgt6x-native \
+                            common-csl-ip-rtos \
+"
+DEPENDS_append_ti33x = " starterware-rtos \
+"
+DEPENDS_append_ti43x = " starterware-rtos \
+"
+DEPENDS_append_k2g = " common-csl-ip-rtos \
+                       ti-cgt6x-native \
+"
+
+# Fetch task cannot be completed until after ca-certificates-native populates sysroot with the SSL certificates
+do_fetch[depends] = "ca-certificates-native:do_populate_sysroot"
+
+export TOOLCHAIN_PATH_A15 = "${GCC_ARM_NONE_TOOLCHAIN}"
+export TOOLCHAIN_PATH_A8 = "${GCC_ARM_NONE_TOOLCHAIN}"
+export TOOLCHAIN_PATH_A9 = "${GCC_ARM_NONE_TOOLCHAIN}"
+export FPULIB_PATH = "${GCC_ARM_NONE_TOOLCHAIN}/lib/gcc/arm-none-eabi/4.9.3/fpu/"
+export TOOLCHAIN_PATH_M4 = "${M4_TOOLCHAIN_INSTALL_DIR}"
+export C6X_GEN_INSTALL_PATH = "${STAGING_DIR_NATIVE}/usr/share/ti/cgt-c6x"
+export PDK_INSTALL_PATH = "${PDK_INSTALL_DIR}/packages"
+export BIOS_INSTALL_PATH = "${SYSBIOS_INSTALL_DIR}"
+export XDC_INSTALL_PATH = "${XDC_INSTALL_DIR}"
+
+export PDK_PM_ROOT_PATH = "${WORKDIR}/git"
+
+# Used by DEST_ROOT to redirect binary and obj files away from sysroot PDK tree
+OBJ_DIR = "${WORKDIR}/git/ti/binary"
+
+do_compile() {
+    make clean lib xdc_meta doxygen LIMIT_SOCS="${TI_PDK_LIMIT_SOCS}" LIMIT_BOARDS="${TI_PDK_LIMIT_BOARDS}" DEST_ROOT=${OBJ_DIR}
+
+    # Remove unnecessary files from packaging
+    rm -rf patches/
+
+    # Cleanup docs
+    rm -rf docs/ReleaseNotes_PM_LLD.doc
+    rm -rf internal/
+
+    #archive
+    tar -cf pm_lld.tar --exclude='*.tar' ./*
+}
+
+do_install() {
+    install -d ${D}${PDK_INSTALL_DIR_RECIPE}/packages/ti/drv/pm
+    find -name "*.tar" -exec tar xf {} --no-same-owner -C ${D}${PDK_INSTALL_DIR_RECIPE}/packages/ti/drv/pm \;
+}
+
+FILES_${PN} += "${PDK_INSTALL_DIR_RECIPE}/packages"
+
+INSANE_SKIP_${PN} = "arch staticdev"
-- 
1.9.1



  parent reply	other threads:[~2017-07-18 23:05 UTC|newest]

Thread overview: 64+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-07-18 23:03 [PATCH v2 01/37] bcp-lld-rtos: Added RTOS recipe for bcp-lld Mahesh Radhakrishnan
2017-07-18 23:03 ` [PATCH v2 02/37] tcp3d-lld-rtos: Added rtos recipe for tcp3d-lld Mahesh Radhakrishnan
2017-07-27 23:38   ` Denys Dmytriyenko
2017-07-18 23:03 ` [PATCH v2 03/37] fftc-lld-rtos: Added rtos recipe for fftc-lld Mahesh Radhakrishnan
2017-07-18 23:03 ` [PATCH v2 04/37] faultmanagement-rtos: Added rtos recipe for faultmanagement Mahesh Radhakrishnan
2017-07-18 23:03 ` [PATCH v2 05/37] mmcsd-lld-rtos: Add rtos recipe for mmcsd-lld Mahesh Radhakrishnan
2017-07-18 23:03 ` [PATCH v2 06/37] fatfs-rtos: Added fatfs recipe for rtos Mahesh Radhakrishnan
2017-07-18 23:03 ` [PATCH v2 07/37] gpio-lld-rtos: Added rtos recipe for gpio lld Mahesh Radhakrishnan
2017-07-18 23:03 ` [PATCH v2 08/37] gpmc-lld-rtos: Added rtos recipe for gpmc-lld Mahesh Radhakrishnan
2017-07-18 23:03 ` [PATCH v2 09/37] i2c-lld-rtos: Add rtos recipe for i2c-lld Mahesh Radhakrishnan
2017-07-18 23:03 ` [PATCH v2 10/37] uart-lld-rtos: Added rtos recipe for uart-lld Mahesh Radhakrishnan
2017-07-28 17:14   ` Denys Dmytriyenko
2017-07-18 23:03 ` [PATCH v2 11/37] mcbsp-lld-rtos: Added rtos recipe for mcbsp-lld Mahesh Radhakrishnan
2017-07-18 23:03 ` [PATCH v2 12/37] mcasp-lld-rtos: Added rtos recipe for mcasp-lld Mahesh Radhakrishnan
2017-07-18 23:03 ` [PATCH v2 13/37] pcie-lld-rtos: Added rtos recipe for pcie-lld Mahesh Radhakrishnan
2017-07-18 23:03 ` [PATCH v2 14/37] profiling-rtos: Add rtos recipe for profiling Mahesh Radhakrishnan
2017-07-18 23:03 ` [PATCH v2 15/37] tsip-lld-rtos: Add rtos recipe for tsip-lld Mahesh Radhakrishnan
2017-07-18 23:03 ` [PATCH v2 16/37] srio-lld-rtos:Add rtos recipe for srio-lld Mahesh Radhakrishnan
2017-07-18 23:03 ` [PATCH v2 17/37] hyplnk-lld-rtos: Add rtos recipe for hyplnk-lld Mahesh Radhakrishnan
2017-07-18 23:03 ` [PATCH v2 18/37] spi-lld-rtos: Add rtos recipe for spi-lld Mahesh Radhakrishnan
2017-07-18 23:03 ` [PATCH v2 19/37] pa-lld-rtos: Added rtos recipe for pa-lld Mahesh Radhakrishnan
2017-07-18 23:03 ` [PATCH v2 20/37] sa-lld-rtos: Added rtos recipe for sa-lld Mahesh Radhakrishnan
2017-07-18 23:03 ` [PATCH v2 21/37] aif2-lld-rtos: Added RTOS recipe for aif2-lld Mahesh Radhakrishnan
2017-07-18 23:03 ` [PATCH v2 22/37] dfe-lld-rtos: Added RTOS recipe for dfe-lld Mahesh Radhakrishnan
2017-07-18 23:03 ` [PATCH v2 23/37] iqn2-lld-rtos: Adding rtos recipe for iqn2-lld Mahesh Radhakrishnan
2017-07-18 23:03 ` [PATCH v2 24/37] usb-lld-rtos: Added rtos recipe for usb-lld Mahesh Radhakrishnan
2017-07-18 23:03 ` Mahesh Radhakrishnan [this message]
2017-08-24 19:51   ` [PATCH v2 25/37] pm-lld-rtos: Adding rtos recipe for pm-lld Denys Dmytriyenko
2017-08-31 20:24     ` Radhakrishnan, Mahesh
2017-09-18 18:03     ` Radhakrishnan, Mahesh
2017-09-26 18:15       ` Denys Dmytriyenko
2017-07-18 23:03 ` [PATCH v2 26/37] ti-pdk-setup: Add ti-pdk-setup recipe Mahesh Radhakrishnan
2017-08-24 19:53   ` Denys Dmytriyenko
2017-07-18 23:03 ` [PATCH v2 27/37] pruss-lld: Add rtos recipe & update the version to 1.0.0.7 Mahesh Radhakrishnan
2017-08-24 19:55   ` Denys Dmytriyenko
2017-09-18 20:25     ` Radhakrishnan, Mahesh
2017-07-18 23:03 ` [PATCH v2 28/37] nwal-lld-rtos: Add rtos recipe for nwal Mahesh Radhakrishnan
2017-07-18 23:03 ` [PATCH v2 29/37] serdes-diag-rtos: Add rtos recipe for serdes-diag Mahesh Radhakrishnan
2017-07-18 23:03 ` [PATCH v2 30/37] icss-emac-lld-rtos: Added rtos recipe for icss-emac-lld Mahesh Radhakrishnan
2017-08-24 21:50   ` Denys Dmytriyenko
2017-09-18 21:08     ` Radhakrishnan, Mahesh
2017-07-18 23:03 ` [PATCH v2 31/37] board-rtos: Added board-rtos recipe Mahesh Radhakrishnan
2017-08-24 20:02   ` Denys Dmytriyenko
2017-09-18 20:54     ` Radhakrishnan, Mahesh
2017-07-18 23:03 ` [PATCH v2 32/37] emac-lld-rtos: Added emac-lld-rtos recipe Mahesh Radhakrishnan
2017-08-24 20:04   ` Denys Dmytriyenko
2017-07-18 23:03 ` [PATCH v2 33/37] vps-lld-rtos: Added rtos recipe for vps-lld Mahesh Radhakrishnan
2017-08-24 20:06   ` Denys Dmytriyenko
2017-09-18 20:46     ` Radhakrishnan, Mahesh
2017-07-18 23:03 ` [PATCH v2 34/37] ti-ndk: Adding recipe for ti-ndk Mahesh Radhakrishnan
2017-07-27 13:49   ` Jacob Stiffler
2017-08-24 20:08   ` Denys Dmytriyenko
2017-09-18 20:30     ` Radhakrishnan, Mahesh
2017-07-18 23:03 ` [PATCH v2 35/37] transport-rtos: Added transport recipes(bmet, nimu, nimu-icss) for rtos Mahesh Radhakrishnan
2017-08-24 20:11   ` Denys Dmytriyenko
2017-09-18 20:40     ` Radhakrishnan, Mahesh
2017-09-26 18:31       ` Denys Dmytriyenko
2017-07-18 23:03 ` [PATCH v2 36/37] cmb-addon-rtos: Adding CMB rtos recipe Mahesh Radhakrishnan
2017-08-24 20:13   ` Denys Dmytriyenko
2017-09-18 20:57     ` Radhakrishnan, Mahesh
2017-07-18 23:03 ` [PATCH v2 37/37] audk2g-addon-rtos: Adding rtos recipe for audio addons for k2g Mahesh Radhakrishnan
2017-08-24 20:13   ` Denys Dmytriyenko
2017-09-18 21:05     ` Radhakrishnan, Mahesh
2017-07-27 13:56 ` [PATCH v2 01/37] bcp-lld-rtos: Added RTOS recipe for bcp-lld Jacob Stiffler

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1500419028-3361-25-git-send-email-m-radhakrishnan2@ti.com \
    --to=m-radhakrishnan2@ti.com \
    --cc=meta-ti@yoctoproject.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.