summaryrefslogtreecommitdiff
path: root/recipes/ti
diff options
context:
space:
mode:
authorBrijesh Singh <bksingh@ti.com>2009-08-27 16:33:46 -0500
committerKoen Kooi <koen@openembedded.org>2009-08-28 06:59:06 +0200
commita6e10835a109b19f782655ff2d50c365ed62d9bc (patch)
tree21c653af50476ce1e02981b8ddb229275504d186 /recipes/ti
parent87b8c170f803d601fff8d2b876ce14518d59f70e (diff)
ti-lpm-module 2.24: update lpm src uri, it's in its own tarball now
* fix DSPLINK path * keep versioning inline with CE till we sort it out properly
Diffstat (limited to 'recipes/ti')
-rw-r--r--recipes/ti/README4
-rw-r--r--recipes/ti/ti-lpm-module_2.24.bb16
-rw-r--r--recipes/ti/ti-paths.inc3
3 files changed, 12 insertions, 11 deletions
diff --git a/recipes/ti/README b/recipes/ti/README
index fa1b481f68..011bd0ae51 100644
--- a/recipes/ti/README
+++ b/recipes/ti/README
@@ -4,12 +4,13 @@ DM355
-----
- Code Engine 2.24
-OMAP3530/DM6446
+OMAP3530
------
- Code Engine 2.24
- DSP/BIOS Link for Linux 1.61.03
- DSP/BIOS 5.33.04
- C6000 Code Generation Tools v6.1.9 Linux
+ - Local Power Managment 1.24
URL's:
------
@@ -24,6 +25,7 @@ URL's:
* C6000 Code Generation Tools v6.1.9 Linux (ti_cgt_c6000_6.1.9_setup_linux_x86.bin)
https://www-a.ti.com/downloads/sds_support/TICodegenerationTools/download.htm
+* LPM (local_power_manager_1_24.tar.gz) http://software-dl.ti.com/dsps/dsps_registered_sw/sdo_sb/targetcontent/linuxutils/linuxutils_2_24/index.html
* Generic download URI
http://software-dl.ti.com/dsps/dsps_registered_sw/sdo_sb/targetcontent/
diff --git a/recipes/ti/ti-lpm-module_2.24.bb b/recipes/ti/ti-lpm-module_2.24.bb
index 11a1c74b43..74cb7ca86a 100644
--- a/recipes/ti/ti-lpm-module_2.24.bb
+++ b/recipes/ti/ti-lpm-module_2.24.bb
@@ -1,5 +1,7 @@
DESCRIPTION = "LPM module for TI OMAP3 processors"
+require ti-paths.inc
+
inherit module
# compile and run time dependencies
DEPENDS = " virtual/kernel perl-native ti-dsplink-module"
@@ -12,16 +14,10 @@ PV = "2241"
# LPM seems to be missing from 2.24.01
DEFAULT_PREFERENCE = "-1"
-SRC_URI = "http://install.source.dir.com/codec_engine_2_24_01.tar.gz "
+SRC_URI = "http://install.source.dir.com/local_power_manager_1_24.tar.gz"
# Set the source directory
-S = "${WORKDIR}/codec_engine_2_24_01"
-
-export DSPLINK="${S}/cetools/packages/dsplink"
-
-LPMDSPPOWERSOC ?= "omap3530"
-LPMDSPPOWERSOC_omap3evm ?= "omap3530"
-LPMDSPPOWERSOC_beagleboard ?= "omap3530"
+S = "${WORKDIR}/local_power_manager_1_24"
do_compile () {
# TODO :: KERNEL_CC, etc need replacing with user CC
@@ -31,7 +27,7 @@ do_compile () {
unset CFLAGS CPPFLAGS CXXFLAGS LDFLAGS
- cd ${S}/cetools/packages/ti/bios/power/modules/${LPMDSPPOWERSOC}/lpm
+ cd ${S}/packages/ti/bios/power/modules/${LPMDSPPOWERSOC}/lpm
make \
DSPLINK_REPO="${DSPLINK}/.." \
LINUXKERNEL_INSTALL_DIR="${STAGING_KERNEL_DIR}" \
@@ -43,7 +39,7 @@ do_install () {
# LPM/CMEM/SDMA drivers - kernel modules
install -d ${D}/lib/modules/${KERNEL_VERSION}/kernel/drivers/dsp
- install -m 0755 ${S}/cetools/packages/ti/bios/power/modules/${LPMDSPPOWERSOC}/lpm/*.ko ${D}/lib/modules/${KERNEL_VERSION}/kernel/drivers/dsp
+ install -m 0755 ${S}/packages/ti/bios/power/modules/${LPMDSPPOWERSOC}/lpm/*.ko ${D}/lib/modules/${KERNEL_VERSION}/kernel/drivers/dsp
}
diff --git a/recipes/ti/ti-paths.inc b/recipes/ti/ti-paths.inc
index abf75ecc72..9ac7ac69e1 100644
--- a/recipes/ti/ti-paths.inc
+++ b/recipes/ti/ti-paths.inc
@@ -57,6 +57,7 @@ export DSPLINKSOC
export DSPCFG
export GPPOS
export PLATFORM
+export LPMDSPPOWERSOC
DSPPOWERSOC ?= "dm6446"
@@ -76,5 +77,7 @@ export XDAIS_INSTALL_DIR = "${CE_INSTALL_DIR}/cetools"
export CODEC_INSTALL_DIR = "${STAGING_DIR}/${MULTIMACH_TARGET_SYS}/ti-codec-combo"
export CODEC ?= "${CODEC_INSTALL_DIR}"
+export DSPLINK = "${STAGING_DIR}/${MULTIMACH_TARGET_SYS}/ti-dsplink-module/packages/dsplink/"
+
installdir = "${datadir}/ti"