![]() |
2010-03-07
, 21:13
|
Posts: 52 |
Thanked: 42 times |
Joined on Jan 2010
@ Bulgaria
|
#252
|
![]() |
2010-03-07
, 21:23
|
Posts: 14 |
Thanked: 0 times |
Joined on Mar 2010
@ Bergen, Norway
|
#253
|
![]() |
2010-03-07
, 21:25
|
Posts: 14 |
Thanked: 0 times |
Joined on Mar 2010
@ Bergen, Norway
|
#254
|
![]() |
2010-03-07
, 23:13
|
Posts: 163 |
Thanked: 175 times |
Joined on Dec 2007
@ Alabama
|
#255
|
Besides, if it's just the theme, shouldn't the touchscreen/keyboard be working?
![]() |
2010-03-08
, 00:10
|
Posts: 163 |
Thanked: 175 times |
Joined on Dec 2007
@ Alabama
|
#256
|
mkdir android-kernel cd android-kernel fakeroot apt-get source kernel-source tar zxf kernel_2.6.28.orig.tar.gz cd kernel-2.6.28 patch -p1 <../kernel_2.6.28-20094803.3+0m5.diff patch -p1 <../n900_kernel.patch make ARCH=arm rx51_android_defconfig make ARCH=arm CROSS_COMPILE=arm-none-linux-gnueabi- -j4 zImage modules
The Following 3 Users Say Thank You to bdogg64 For This Useful Post: | ||
![]() |
2010-03-08
, 10:36
|
Posts: 1,306 |
Thanked: 1,697 times |
Joined on Dec 2009
@ Durham North-East UK
|
#257
|
Index: linux-omap-2_6_23/drivers/video/omap/omapfb_main.c =================================================================== --- linux-omap-2_6_23.orig/drivers/video/omap/omapfb_main.c +++ linux-omap-2_6_23/drivers/video/omap/omapfb_main.c @@ -168,7 +168,7 @@ static int ctrl_init(struct omapfb_devic /* 12 bpp is packed in 16 bits */ if (bpp == 12) bpp = 16; - def_size = def_vxres * def_vyres * bpp / 8; + def_size = def_vxres * def_vyres * 2 * bpp / 8; fbdev->mem_desc.region_cnt = 1; fbdev->mem_desc.region[0].size = PAGE_ALIGN(def_size); } @@ -415,6 +415,7 @@ static void set_fb_fix(struct fb_info *f } fix->accel = FB_ACCEL_OMAP1610; fix->line_length = var->xres_virtual * bpp / 8; + fix->ypanstep = 1; } static int set_color_mode(struct omapfb_plane_struct *plane, @@ -1471,7 +1472,7 @@ static int fbinfo_init(struct omapfb_dev var->xres = def_vxres; var->yres = def_vyres; var->xres_virtual = def_vxres; - var->yres_virtual = def_vyres; + var->yres_virtual = def_vyres * 2; var->rotate = def_rotate; var->bits_per_pixel = fbdev->panel->bpp;
![]() |
2010-03-08
, 12:35
|
Posts: 14 |
Thanked: 0 times |
Joined on Mar 2010
@ Bergen, Norway
|
#258
|
I also attached an updated patch file. Here are the instructions of what I did. This assumes you have the up-to-date maemo 5 sdk installed, and are already logged in (e.g. /scratchbox/login)
That should give you a zImage in the arch/arm/boot directory and the miscellaneous.Code:mkdir android-kernel cd android-kernel fakeroot apt-get source kernel-source tar zxf kernel_2.6.28.orig.tar.gz cd kernel-2.6.28 patch -p1 <../kernel_2.6.28-20094803.3+0m5.diff patch -p1 <../n900_kernel.patch make ARCH=arm rx51_android_defconfig make ARCH=arm CROSS_COMPILE=arm-none-linux-gnueabi- -j4 zImage modules
![]() |
2010-03-08
, 20:27
|
Posts: 14 |
Thanked: 0 times |
Joined on Mar 2010
@ Bergen, Norway
|
#259
|
![]() |
2010-03-08
, 20:39
|
Posts: 14 |
Thanked: 0 times |
Joined on Mar 2010
@ Bergen, Norway
|
#260
|
Kernel sources from SDK, patched with android patches from bdogg64, disabled kernel debugging, enabled fbcon (unable to read anything from just before this happens as the screen backlight turns off after a few seconds) and added a local version.
Modules are all in the right place, as far as I know.
Touchscreen is WAY off, bottom right corner of the screen hits 7, the rest of the screen hits nothing as far as I can tell.
Keyboard isnt working either.
First theory is that the modules are not being loaded, but I'm not sure why not since they should be in the correct place.
I've also run depmod <kernel name> to generate all the correct modules.* files.
The console output I do however get to see does not give me any errors of missing modules/drivers when it starts to load, but it did this before I ran depmod <kernel name>, which is why I think the modules are in the correct place.
Any idea?
Oh, and please let me know if I should move this to a new thread, I just thought of posting it here since it has the android patches and might be related.
Has anyone started Maemo with a kernel with the android patches?