Dirk Behme wrote:
Till Harbaum / Lists wrote:
Hi,
The download page for the zoom patches for maemo-beagle directs
one to http://www.daimi.au.dk/~cvm/ which is the homepage
of Carsten Munk who seems to be the wellknown stskeeps
from maemo.org.
I'm (dirk2) currently discussing with stskeeps @ #maemo :)
http://mg.pov.lt/maemo-irclog/%23maemo.2009-10-25.log.html
Maemo5 Nokia kernel seems to be 2.6.28
http://repository.maemo.org/pool/maemo5.0/free/k/kernel/
This seems to contain some (DSS2?) changes, which seem to be not
available as patch anywhere. E.g. it seems that Maemo5 SGX needs
function omap_dispc_set_plane_ba0().
Based on
http://cgit.openembedded.org/cgit.cgi/openembedded/tree/recipes/linux/linux-omap_2.6.28.bb?h=stable/2009
I built a kernel with
http://people.freedesktop.org/~felipec/beagle/0001-DSS2-Export-omap_dispc_set_plane_ba0.patch
(needs manual editing, doesn't apply cleanly to above 2.6.28 Beagle
kernel, see attachment)
If anybody likes to test it with Maemo5 (SGX), I can send the uImage
(~2.7MB)
If this doesn't work, we can try the inverse way (making Nokia kernel
Beagle compatible, see below).
Best regards
Dirk
Looking at Beagle 2.6.28 kernel built by open embedded [1], no OE patch
for Beagle contain omap_dispc_set_plane_ba0(). Scanning omap-linux
mailing list no patch has omap_dispc_set_plane_ba0(), too.
So, instead of trying to make Beagle OE kernel 'Nokia compatible', maybe
it's easier to make Nokia kernel from above Beagle compatible. That is,
use above Nokia kernel, apply the OE patches from [1] (except DSS ones,
DSS should be already in Nokia kernel), use Beagle defconfig and
configure it with Nokia compatible display configuration.
Best regards
Dirk
[1]
http://cgit.openembedded.org/cgit.cgi/openembedded/tree/recipes/linux/linux-omap_2.6.28.bb?h=stable/2009
>From 82880a64b30e4abd4ca58c11f2542687a766d9e4 Mon Sep 17 00:00:00 2001
From: Imre Deak <[email protected]>
Date: Wed, 11 Feb 2009 11:43:14 +0200
Subject: [PATCH] DSS2: Export omap_dispc_set_plane_ba0
This is used currently by the PVR driver. Should go away once a
proper interface is implemented.
Signed-off-by: Imre Deak <[email protected]>
---
arch/arm/plat-omap/dss/dispc.c | 10 ++++++++++
arch/arm/plat-omap/include/mach/display.h | 2 ++
2 files changed, 12 insertions(+)
Index: linux-beagle/arch/arm/plat-omap/include/mach/display.h
===================================================================
--- linux-beagle.orig/arch/arm/plat-omap/include/mach/display.h
+++ linux-beagle/arch/arm/plat-omap/include/mach/display.h
@@ -459,4 +459,6 @@ typedef void (*omap_dispc_isr_t) (void *
int omap_dispc_register_isr(omap_dispc_isr_t isr, void *arg, u32 mask);
int omap_dispc_unregister_isr(omap_dispc_isr_t isr);
+void omap_dispc_set_plane_ba0(enum omap_channel, enum omap_plane plane, u32 paddr);
+
#endif
Index: linux-beagle/arch/arm/plat-omap/dss/dispc.c
===================================================================
--- linux-beagle.orig/arch/arm/plat-omap/dss/dispc.c
+++ linux-beagle/arch/arm/plat-omap/dss/dispc.c
@@ -659,6 +659,16 @@ static void _dispc_set_plane_ba0(enum om
dispc_write_reg(ba0_reg[plane], paddr);
}
+void omap_dispc_set_plane_ba0(enum omap_channel channel, enum omap_plane plane,
+ u32 paddr)
+{
+ enable_clocks(1);
+ _dispc_set_plane_ba0(plane, paddr);
+ dispc_go(channel);
+ enable_clocks(0);
+}
+EXPORT_SYMBOL_GPL(omap_dispc_set_plane_ba0);
+
static void _dispc_set_plane_ba1(enum omap_plane plane, u32 paddr)
{
const struct dispc_reg ba1_reg[] = { DISPC_GFX_BA1,
_______________________________________________
maemo-developers mailing list
[email protected]
https://lists.maemo.org/mailman/listinfo/maemo-developers