summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--conf/checksums.ini4
-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
4 files changed, 16 insertions, 11 deletions
diff --git a/conf/checksums.ini b/conf/checksums.ini
index 7cfea9da4e..8f8384cd72 100644
--- a/conf/checksums.ini
+++ b/conf/checksums.ini
@@ -16134,6 +16134,10 @@ sha256=8f563e178ac29c64fcc0144c60d415092d998194a6797c7b45a95802d2df8410
md5=c0b7c36232d3910c425d03e56d0f532b
sha256=6f11fc04a1f3f04ebb996723fc86ca363c3959ca1ef76d1057db9db3ea5a98d0
+[http://install.source.dir.com/local_power_manager_1_24.tar.gz]
+md5=1a11261872f683e0699af64258e5f68a
+sha256=106ce2ddb3f35fc72ab00a1391bca21f57b04f75b12115bcadd37516e2a0ee28
+
[http://www.informatik.hu-berlin.de/~tkunze/zaurus/patches/locomo-r0.patch]
md5=db9ec09fb75c7326527f1f8b2cbf2ec2
sha256=2f6d619ebbab25f5b5091555f96dc29159fa3c214d1c5fdc5673af97515d18e6
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"