The Following User Says Thank You to ddalex For This Useful Post: | ||
![]() |
2009-09-08
, 14:17
|
Posts: 2,152 |
Thanked: 1,490 times |
Joined on Jan 2006
@ Czech Republic
|
#2
|
. I've been trying to compile the exact same binary using the kernel-source-2.6.16_2.6.16.rel-osso29.tar.gz from the repository, but I can't get a binary zImage to match exactly. So it seems this kernel has at least some patches added to it.
Can someone point me to the sources and .config file used to build the kernel image in the 2008HACKER version ?
I'm interested because when using Fanoush's MMC kernels I got frequent crashes and reboots, while when using this kernel the device is quite stable.
I intend to apply a patch to enable hardware scaling (which I need for running a lowres game)
![]() |
2009-09-08
, 14:42
|
Posts: 90 |
Thanked: 32 times |
Joined on Sep 2006
@ Bucuresti, Romania
|
#3
|
You can't match it exactly at least due to compile date/time/machine '/proc/version' info included inside image. Due to zImage compression this may make whole image different. What is the length difference?
Hmm, the only unstable code is the 'overclocked' MMC, do you have troubles also with lower MMC speed kernels ? http://fanoush.wz.cz/maemo/#sdhc Particularly the 12MHz one?
Which patch it is? 770 hardware can do only pixel doubling (i.e. 2x) not full scalling and pixel doubling is already available in every 770 kernel so what would such patch provide? Well it can do also pixel halving but that feature is not so useful :-)
![]() |
2009-09-08
, 15:07
|
Posts: 2,152 |
Thanked: 1,490 times |
Joined on Jan 2006
@ Czech Republic
|
#4
|
It's actually screen rotate. The game draws normal vertical and then I hardware rotate and double the screen.
![]() |
2009-09-08
, 15:24
|
Posts: 90 |
Thanked: 32 times |
Joined on Sep 2006
@ Bucuresti, Romania
|
#5
|
wireless driver is not in kernel so no, the fix is in module in initfs, 2008HE has it, kernel does not matter
Ah I see. Can you point me to the patch? I have actually tried something like that years ago (extending omapfb with rectangle rotation ioctl) but never finished/published it since it would need people to flash different kernel just to play some game. Also it would work sensibly only in full screen mode or square window.
The Following User Says Thank You to ddalex For This Useful Post: | ||
![]() |
2009-09-08
, 15:28
|
Posts: 90 |
Thanked: 32 times |
Joined on Sep 2006
@ Bucuresti, Romania
|
#6
|
![]() |
2009-09-08
, 15:43
|
Posts: 2,152 |
Thanked: 1,490 times |
Joined on Jan 2006
@ Czech Republic
|
#7
|
It's very quick'n'dirty, allowing direct access from the game to the rotate method.
![]() |
2009-09-08
, 16:06
|
Posts: 90 |
Thanked: 32 times |
Joined on Sep 2006
@ Bucuresti, Romania
|
#8
|
That's pretty strange. Will try to build it too just for fun and check the size. Maybe the difference can be in compiler version or compiler options?
Well, actually Nokia had/has different environment for building firmware then they later publish in SDK repository. With N800 it happened once that they shipped buggy and different kernel in SDK but later fixed it. Also they keep/kept separate debian changelog and version numbers in such firmware building environment so the version in /proc/version does not match. Maybe some bugfix patch could slip away too after all?
![]() |
2009-09-08
, 21:06
|
Posts: 2,152 |
Thanked: 1,490 times |
Joined on Jan 2006
@ Czech Republic
|
#9
|
SW version in image: SU-18_2006SE_3.2006.49-2_PR_MR0 Image 'kernel', size 1268864 bytes Version 2.6.16-200648osso1.1
![]() |
2009-09-09
, 06:21
|
Posts: 90 |
Thanked: 32 times |
Joined on Sep 2006
@ Bucuresti, Romania
|
#10
|
Linux - 2.6.16.27-omap1 #1 PREEMPT arm5tejl1 unknown
The binary comes in the SU-18_2008HACKER_4.2007.50-6_PR_F5_MR0_ARM.bin package, is 1268864 bytes long and the md5 is 4eb9d9c8d177fd5a6c81ebbd1272daf5. I've been trying to compile the exact same binary using the kernel-source-2.6.16_2.6.16.rel-osso29.tar.gz from the repository, but I can't get a binary zImage to match exactly. So it seems this kernel has at least some patches added to it.
Can someone point me to the sources and .config file used to build the kernel image in the 2008HACKER version ?
I'm interested because when using Fanoush's MMC kernels I got frequent crashes and reboots, while when using this kernel the device is quite stable. I intend to apply a patch to enable hardware scaling (which I need for running a lowres game) and the Fanoush patches to this stable kernel if I can first build an identical binary copy from the sources.
Last edited by ddalex; 2009-09-08 at 14:04. Reason: state more clearly the need