Skip to contentSkip to conversation

linux-ti81xx-psp 2.6.37: update to match latest *SDK

PATCH In review Koen Kooi 2 participants 2 messages Dec 20, 2011

lore
Share & tools
lore

Koen Kooi

author
#0 lore raw

PATCH 1/1 linux-ti81xx-psp 2.6.37: update to match latest *SDK

---
 conf/machine/include/ti814x.inc                    |    2 +-
 ...d-code-for-disabling-the-least-significan.patch |   45 ++++++++++++++++++++
 recipes-kernel/linux/linux-ti81xx-psp_2.6.37.bb    |    9 ++--
 3 files changed, 50 insertions(+), 6 deletions(-)
 create mode 100644 recipes-kernel/linux/linux-ti81xx-psp-2.6.37/0001-ti814x-added-code-for-disabling-the-least-significan.patch
conf/machine/include/ti814x.inc +1 -1
index 4f1c1de..23b6a1d 100644
@@ -6,7 +6,7 @@ PREFERRED_PROVIDER_virtual/kernel = "linux-ti81xx-psp"
 PREFERRED_PROVIDER_virtual/bootloader = "u-boot"
 
 # Increase this everytime you change something in the kernel
-MACHINE_KERNEL_PR = "r1"
+MACHINE_KERNEL_PR = "r2"
 
 KERNEL_IMAGETYPE = "uImage"
 
recipes-kernel/linux/linux-ti81xx-psp-2.6.37/0001-ti814x-added-code-for-disabling-the-least-significan.patch new file +45 -0

45 lines not on this page · raw message

recipes-kernel/linux/linux-ti81xx-psp_2.6.37.bb +4 -5
index bae58b9..e5a3836 100644
@@ -6,15 +6,14 @@ KERNEL_IMAGETYPE = "uImage"
 COMPATIBLE_MACHINE = "am387x-evm|am389x-evm|c6a814x-evm|c6a816x-evm|dm814x-evm"
 
 # This is on the ti81xx-master branch
-SRCREV = "a02ce6137c1647009a17ecac35d846fe9479dded"
-
-# requires .28 hdvpss: d686b2da5d2e7337c9759f910c3a665c27b0ec31
+SRCREV = "745a06cb913ad7a9ab44855aa36d8c012cd5793b"
 
 # The main PR is now using MACHINE_KERNEL_PR, for omap3 see conf/machine/include/omap3.inc
-MACHINE_KERNEL_PR_append = "d+gitr${SRCREV}"
+MACHINE_KERNEL_PR_append = "a+gitr${SRCREV}"
 
 SRC_URI += "git://arago-project.org/git/projects/linux-omap3.git;protocol=git;branch=ti81xx-master \
-           file://defconfig"
+            file://0001-ti814x-added-code-for-disabling-the-least-significan.patch \
+            file://defconfig"
 
 S = "${WORKDIR}/git"
 
Signature · 1 line
1.7.2.5
Acked-by on v1 1/1
#1 lore raw
Quoted 4 lines · Koen Kooi

Subject: [meta-ti] [PATCH] linux-ti81xx-psp 2.6.37: update to match latest *SDK

Boot Tested on DM8148 EVM

Quoted 109 lines
---
 conf/machine/include/ti814x.inc                    |    2 +-
 ...d-code-for-disabling-the-least-significan.patch |   45
++++++++++++++++++++
 recipes-kernel/linux/linux-ti81xx-psp_2.6.37.bb    |    9 ++--
 3 files changed, 50 insertions(+), 6 deletions(-)  create mode 100644

recipes-kernel/linux/linux-ti81xx-psp-2.6.37/0001-ti814x-added-code- for-disabling-the-least-significan.patch

(quoted diff) +0 -0

b/conf/machine/include/ti814x.inc index 4f1c1de..23b6a1d 100644

conf/machine/include/ti814x.inc +0 -0
@@ -6,7 +6,7 @@ PREFERRED_PROVIDER_virtual/kernel = "linux-ti81xx-psp"
 PREFERRED_PROVIDER_virtual/bootloader = "u-boot"
 
 # Increase this everytime you change something in the kernel -

MACHINE_KERNEL_PR = "r1"

conf/machine/include/ti814x.inc +1 -0
+MACHINE_KERNEL_PR = "r2"
 
 KERNEL_IMAGETYPE = "uImage"
(quoted diff) +0 -0

added-code-for-disabling-the-least-significan.patch b/recipes- kernel/linux/linux-ti81xx-psp-2.6.37/0001-ti814x-added-code-for- disabling-the-least-significan.patch
new file mode 100644
index 0000000..c1f368d

recipes-kernel/linux/linux-ti81xx-psp-2.6.37/0001-ti814x-added- new file +0 -0

cod
+++ e-for-disabling-the-least-significan.patch

recipes-kernel/linux/linux-ti81xx-psp-2.6.37/0001-ti814x-added- new file +5 -0
@@ -0,0 +1,45 @@
+From 1d43359e415cada4607d0d21b7de07c740616386 Mon Sep 17 00:00:00
+2001
+From: Amarinder Bindra <[email protected]>
+Date: Wed, 7 Dec 2011 20:54:56 +0530
+Subject: [PATCH] ti814x: added code for disabling the least

significant

recipes-kernel/linux/linux-ti81xx-psp-2.6.37/0001-ti814x-added- new file +26 -0
+bit of TI814x_HDMI_MUX_ADDR before vps init
+
+
+Signed-off-by: Amarinder Bindra <[email protected]>
+---
+ drivers/video/ti81xx/vpss/core.c |   13 ++++++++++++-
+ 1 files changed, 12 insertions(+), 1 deletions(-)
+
+diff --git a/drivers/video/ti81xx/vpss/core.c
+b/drivers/video/ti81xx/vpss/core.c
+index eb9c074..80008b9 100644
+--- a/drivers/video/ti81xx/vpss/core.c
++++ b/drivers/video/ti81xx/vpss/core.c
+@@ -41,7 +41,7 @@
+
+ #define VPS_DRIVER_NAME  "vpss"
+
+-
++#define TI814x_HDMI_MUX_ADDR (0x481C52C8)
+
+ #ifdef DEBUG
+ unsigned int vpss_debug;
+@@ -148,6 +148,17 @@ static int __init vps_init(void)  {
+     VPSSDBG("core init\n");
+
++        /* This mux is for configuring the pixel clock to Venc

through HDMI or PLL*/
++ u32 reg_value;
++ u32 reg_base;
++

++        reg_base = (u32)ioremap(TI814x_HDMI_MUX_ADDR, 0x10);
++        reg_value = __raw_readl(reg_base);
++        reg_value &= 0xFFFFFFFE;

++
++ __raw_writel(reg_value, reg_base);
++ iounmap((u32 *)TI814x_HDMI_MUX_ADDR);
++

recipes-kernel/linux/linux-ti81xx-psp-2.6.37/0001-ti814x-added- new file +6 -0
+     if (platform_driver_probe(&vps_driver, vps_probe)) {
+             VPSSERR("failed to register ti81xx-vpss driver\n");
+             return -ENODEV;
+--
+1.7.1
+
(quoted diff) +0 -0

b/recipes- kernel/linux/linux-ti81xx-psp_2.6.37.bb index bae58b9..e5a3836 100644

recipes-kernel/linux/linux-ti81xx-psp_2.6.37.bb +0 -0
@@ -6,15 +6,14 @@ KERNEL_IMAGETYPE = "uImage"
 COMPATIBLE_MACHINE = "am387x-evm|am389x-evm|c6a814x-evm|c6a816x-

evm|dm814x-evm"

# This is on the ti81xx-master branch -SRCREV =
"a02ce6137c1647009a17ecac35d846fe9479dded"

recipes-kernel/linux/linux-ti81xx-psp_2.6.37.bb +1 -2
-
-# requires .28 hdvpss: d686b2da5d2e7337c9759f910c3a665c27b0ec31
+SRCREV = "745a06cb913ad7a9ab44855aa36d8c012cd5793b"
 
 # The main PR is now using MACHINE_KERNEL_PR, for omap3 see

conf/machine/include/omap3.inc -MACHINE_KERNEL_PR_append = "d+gitr${SRCREV}"
+MACHINE_KERNEL_PR_append = "a+gitr${SRCREV}"

SRC_URI += "git://arago-project.org/git/projects/linux-
omap3.git;protocol=git;branch=ti81xx-master \

recipes-kernel/linux/linux-ti81xx-psp_2.6.37.bb +1 -1
-           file://defconfig"
+            file://0001-ti814x-added-code-for-disabling-the-least-

significan.patch \
+ file://defconfig"

Quoted 6 lines

S = "${WORKDIR}/git"

--
1.7.2.5

Texas Instruments Limited, 800 Pavilion Drive, Northampton, NN4 7YL. Registered in England & Wales under company number 00574102

_______________________________________________

Quoted 3 lines

meta-ti mailing list
[email protected]
https://lists.yoctoproject.org/listinfo/meta-ti