ti-*: old OE and kernel hacks
authorGrazvydas Ignotas <notasas@gmail.com>
Thu, 16 Feb 2012 21:38:12 +0000 (23:38 +0200)
committerGrazvydas Ignotas <notasas@gmail.com>
Thu, 16 Feb 2012 21:38:47 +0000 (23:38 +0200)
recipes/ti/ti-c6accel_1.01.00.03.bb
recipes/ti/ti-codec-engine_2.26.02.11.bb
recipes/ti/ti-dsplink/oldkernel1.patch [new file with mode: 0644]
recipes/ti/ti-dsplink_1.65.00.03.bb
recipes/ti/ti-linuxutils.inc
recipes/ti/ti-linuxutils_2.26.01.02.bb
recipes/ti/ti-local-power-manager_1.24.02.09.bb

index bf5f1cf..a89be9b 100644 (file)
@@ -3,8 +3,8 @@ require ti-c6accel.inc
 SRC_URI[c6accelbin.md5sum] = "0ddf37fd9dad91fa3a914e549da933b9"
 SRC_URI[c6accelbin.sha256sum] = "453399a84bf117bd7a91393242c7c005e2829692db5ede18e4be166c61e4354c"
 
-SRC_URI_append = "file://fix-loadmodule.patch \
-                  file://0001-soc-honour-buildsystem-CFLAGS-and-LDFLAGS-when-set.patch \
+SRC_URI_append = "file://fix-loadmodule.patch;patch=1 \
+                  file://0001-soc-honour-buildsystem-CFLAGS-and-LDFLAGS-when-set.patch;patch=1 \
                  "
 
 PV = "1_01_00_03"
index bcb89b7..e54d0ac 100644 (file)
@@ -4,7 +4,7 @@ LIC_FILES_CHKSUM = "file://codec_engine_${PV}_manifest.html;md5=912535f1b02ecf32
 PV = "2_26_02_11"
 PR_append = "b"
 
-SRC_URI += "file://bypass-GCArmv5T-used-is-sealed.patch"
+SRC_URI += "file://bypass-GCArmv5T-used-is-sealed.patch;patch=1"
 
 SRC_URI[cetarball.md5sum] = "4f755f77119e4da19ab5cc7ae7ccfdb4"
 SRC_URI[cetarball.sha256sum] = "17fa053719265e0901fe3c3f90c9204957c6d0f5351d6b3ba4900df58cb7300f"
diff --git a/recipes/ti/ti-dsplink/oldkernel1.patch b/recipes/ti/ti-dsplink/oldkernel1.patch
new file mode 100644 (file)
index 0000000..4cc0f7a
--- /dev/null
@@ -0,0 +1,18 @@
+--- /tmp/omap3530_phy_shmem.c  2012-02-16 20:30:59.386428001 +0200
++++ dsplink_linux_1_65_00_03/dsplink/gpp/src/arch/OMAP3530/shmem/Linux/omap3530_phy_shmem.c    2012-02-16 20:33:06.106428002 +0200
+@@ -57,6 +57,15 @@
+ #include <omap3530_phy_shmem.h>
+ #include <omap3530_hal_mmu.h>
++#ifndef SZ_2K
++#define SZ_2K                         0x00000800
++#endif
++#ifndef SZ_4K
++#define SZ_4K                         0x00001000
++#endif
++#ifndef SZ_8K
++#define SZ_8K                         0x00002000
++#endif
+ #if defined (__cplusplus)
+ extern "C" {
index c2ca5d9..97a46ca 100644 (file)
@@ -7,7 +7,9 @@ PV_major = "1_65"
 
 PV_DL_PATH = "DSPLink/${PV_major}/${PV}/${PV_dot}"
 
-SRC_URI += "file://dsplink-BKL-fix.patch"
+SRC_URI += "file://dsplink-BKL-fix.patch;patch=1 \
+       file://oldkernel1.patch;patch=1 \
+       "
 
 SRC_URI[dsplinktarball.md5sum] = "1bda596b631bd2f517edc70f6be4f2ca"
 SRC_URI[dsplinktarball.sha256sum] = "4b1bda89bd8465b887f5bcdf7b95018bc1d1f8968c0c44f8cbad2a9e1c52bcb7"
index 45b356f..a4df324 100644 (file)
@@ -85,4 +85,5 @@ FILES_ti-irq-module = "/lib/modules/${KERNEL_VERSION}/kernel/drivers/dsp/irq*.ko
 FILES_ti-linuxutils-app = "${installdir}/ti-linuxutils-app/*/*"
 
 INSANE_SKIP_ti-linuxutils-app = "True"
+INSANE_SKIP_ti-linuxutils = "True"
 PACKAGE_STRIP = "no"
index 2a67e6a..4a43bfc 100644 (file)
@@ -1,6 +1,6 @@
 require ti-linuxutils.inc
 
-SRC_URI += "file://linuxutils-BKL-fix-2.patch"
+SRC_URI += "file://linuxutils-BKL-fix-2.patch;patch=1"
 
 PE = "1"
 PV = "2_26_01_02"
index 759561f..9e77982 100644 (file)
@@ -3,7 +3,7 @@ require ti-local-power-manager.inc
 PV = "1_24_02_09"
 PE = "1"
 
-SRC_URI += "file://lpm-BKL-fix.patch"
+SRC_URI += "file://lpm-BKL-fix.patch;patch=1"
 
 SRC_URI[lpmtarball.md5sum] = "3d05453df26dfc811de04839d74c2f2b" 
 SRC_URI[lpmtarball.sha256sum] = "7335959a6217df17289f81839e6c6948f31cc0797ebc5389edef7190ed3ea589"