<5>[ 0.000000] Linux version 2.6.32.9-perf (eclipse@eclipse3) (gcc version 4.4.3 (GCC) ) #3 PREEMPT Tue Nov 22 15:57:37 EST 2011 <4>[ 0.000000] CPU: ARMv6-compatible processor [4117b362] revision 2 (ARMv6TEJ), cr=00c5387f <4>[ 0.000000] CPU: VIPT aliasing data cache, VIPT aliasing instruction cache <4>[ 0.000000] Machine: QCT SURF7201A Boardfull dmesg got via adb !
kernel 2.6.32
Started by
pier11
, Nov 23 2011 03:21 AM
#1
Posted 23 November 2011 - 03:21 AM
How about that:
#2
Posted 23 November 2011 - 03:23 AM
Source code:
github.com/pier11/kernel_huawei_u8220
Build Instructions:
wiki
Works (with CM7.2 RC0):
- display
- touchscreen
- keypad
- jogball
- usb: mass storage, adb
- sd card
- wifi
- mobile data network
- backlight/brightness
- sound/mic
- vibrator
- keypad LEDs
- hardware acceleration
- bluetooth
- sensors/compass
- headset
github.com/pier11/kernel_huawei_u8220
Build Instructions:
wiki
Works (with CM7.2 RC0):
- display
- touchscreen
- keypad
- jogball
- usb: mass storage, adb
- sd card
- wifi
- mobile data network
- backlight/brightness
- sound/mic
- vibrator
- keypad LEDs
- hardware acceleration
- bluetooth
- sensors/compass
- headset
Edited by pier11, 21 January 2012 - 04:41 PM.
#3
Posted 23 November 2011 - 03:26 AM
Am I dreaming? Or something?
#4
Posted 23 November 2011 - 09:28 AM
#5
Posted 23 November 2011 - 12:27 PM
Hi,
what does kernel 2.6.32 mean for CM7.1?
What are the "real" benefits?
Could this solve issues like "non-working-camera"?
...
what does kernel 2.6.32 mean for CM7.1?
What are the "real" benefits?
Could this solve issues like "non-working-camera"?
...
#6
Posted 23 November 2011 - 02:38 PM
Some discussion of the potential advantages of the newer kernel is this thread
http://android.modac...2-froyo-kernel/
http://android.modac...2-froyo-kernel/
#7
Posted 24 November 2011 - 07:46 PM
Is the kernel finished?
#8
Posted 24 November 2011 - 10:19 PM
#9
Posted 25 November 2011 - 02:45 PM
#10
Posted 25 November 2011 - 03:09 PM
#11
Posted 25 November 2011 - 03:43 PM
#12
Posted 25 November 2011 - 04:09 PM
FunYeg, on 25 November 2011 - 03:43 PM, said:
I think .32 is better test on 2.2 or 2.3
I haven't see 2.1 is using .29
I haven't see 2.1 is using .29
Just wanted to use official rom - hence UK's 2.1 - to not fight with "unofficial" android bugs
Ideally I think new Android recompilation is needed for 2.6.32 kernel. (Or maybe borrowed from Ascend... Might be time consuming to adjust it Pulse)
#13
Posted 25 November 2011 - 07:02 PM
pier11, on 25 November 2011 - 04:09 PM, said:
You are right, I might need to try to implant it into twrock's CM6 (android 2.2) and see. (But again it was compiled against 2.6.29 kernel)
Just wanted to use official rom - hence UK's 2.1 - to not fight with "unofficial" android bugs
Ideally I think new Android recompilation is needed for 2.6.32 kernel. (Or maybe borrowed from Ascend... Might be time consuming to adjust it Pulse)
Just wanted to use official rom - hence UK's 2.1 - to not fight with "unofficial" android bugs
Ideally I think new Android recompilation is needed for 2.6.32 kernel. (Or maybe borrowed from Ascend... Might be time consuming to adjust it Pulse)
I think you can take some rom from the other, just like you mention that Ascend, I think U8150 may help also.
And you can look for the device is using the same CPU like HTC Hero, Magic, etc.
Edited by FunYeg, 25 November 2011 - 07:05 PM.
#14
Posted 27 November 2011 - 11:38 AM
Great job! Could you post a zImage or boot img? I'd love to try this and that! And again, thank you, high5!
#15
Posted 27 November 2011 - 03:08 PM
rangeoshun, on 27 November 2011 - 11:38 AM, said:
Great job! Could you post a zImage or boot img? I'd love to try this and that! And again, thank you, high5!
That's zImage-U8220-2.6.32-v0.02
Beware, it's in very early stages of development. Refer to post#2 for what works (not much).
It doesn't loop,
Android UK2.1 stops on FC with 'Process system is not responding.'
Weird, but it doesn't want to boot properly unplugged from usb - afraids to be in wild
It'd be helpful if one try to run some Android 2.2 compiled against 2.6.32 kernel (not against 2.6.29 as all our roms). For example Ascend Froyo ...
Edited by pier11, 27 November 2011 - 03:28 PM.
#16
Posted 28 November 2011 - 02:14 AM
played with Huawei's 2.6.32 U8150 kernel sources - wanted to run this version too to see if more stuff will work. Patched to make it compiled for our chipset - MSM7200A. (Those MSM7X27 trees don't regard our chipset)
But no luck - doesn't load at all, no kernel messages...
Then started to transfer parts from this successful kernel. Ended up with mutant:
- board replaced (arch/arm/mach-msm/*)
- all drivers replaced (drivers/*)
Started to load fine after that.
But that beast loads even further! I see for a couple of secs Android's unlock screen with home wallpaper! (UK2.1)
Then it reboots entirely.
Something to investigate...
Edit:
narrowed down issues to:
- board itself (arch/arm/mach-msm/board-halibut.c)
- "videocard" (drivers/video/msm/*)
Edit2:
Figured issue with board-halibut.c - platform_device structure without dev/msm_handset_platform_data
Now original board-halibut.c loads just fine.
Edit3:
Fixed issue with jogball GPIOs which prevented it to load and it also disabled some keys on keypad. Plugged in keypad and jogball.
No luck with touchscreen on this kernel either...
So to summarize - I can boot now patched Huawei's U8150 2.6.32 kernel all the way to Android unlock screen with home wallpaper on the background. Then all restarts.
But no luck - doesn't load at all, no kernel messages...
Then started to transfer parts from this successful kernel. Ended up with mutant:
- board replaced (arch/arm/mach-msm/*)
- all drivers replaced (drivers/*)
Started to load fine after that.
But that beast loads even further! I see for a couple of secs Android's unlock screen with home wallpaper! (UK2.1)
Then it reboots entirely.
Something to investigate...
Edit:
narrowed down issues to:
- board itself (arch/arm/mach-msm/board-halibut.c)
- "videocard" (drivers/video/msm/*)
Edit2:
Figured issue with board-halibut.c - platform_device structure without dev/msm_handset_platform_data
Now original board-halibut.c loads just fine.
Edit3:
Fixed issue with jogball GPIOs which prevented it to load and it also disabled some keys on keypad. Plugged in keypad and jogball.
No luck with touchscreen on this kernel either...
So to summarize - I can boot now patched Huawei's U8150 2.6.32 kernel all the way to Android unlock screen with home wallpaper on the background. Then all restarts.
Edited by pier11, 29 November 2011 - 01:51 AM.
#17
Posted 28 November 2011 - 09:00 AM
I also had time to try it on the current CM7, just for fun, and itt seems to boot up fine, but after the kernel boots, it restarts inmediatly can't even see the android loading screen. I'll have time this evening, I'll get a dmsg out of it!
#18
Posted 28 November 2011 - 10:29 AM
Keep going chaps - very exciting developments!
#19
Posted 29 November 2011 - 11:15 AM
Interesting development with U8150 Kernel, I'm experimenting with.
That issue causing phone only boot properly while connected via USB looks is due to usb drivers. I hacked them initially to switch back to "usb function" as in 2.6.29 kernel to obtain adb. While default usb system in 2.6.32 msm kernels is "usb gadget". I had no luck with the latter.
So decided to turn off usb drivers at all and see. Now:
- phone boots fine unplugged from usb;
- It doesn't reboot in android!
- (obviously no usb
Now it complains on empty battery (not true) and forcefully shuts itself down. But I've been behind unlock screen already
Need to add battery support...
That issue causing phone only boot properly while connected via USB looks is due to usb drivers. I hacked them initially to switch back to "usb function" as in 2.6.29 kernel to obtain adb. While default usb system in 2.6.32 msm kernels is "usb gadget". I had no luck with the latter.
So decided to turn off usb drivers at all and see. Now:
- phone boots fine unplugged from usb;
- It doesn't reboot in android!
- (obviously no usb
Now it complains on empty battery (not true) and forcefully shuts itself down. But I've been behind unlock screen already
Need to add battery support...
#20
Posted 29 November 2011 - 12:14 PM
worked out!
just initialized existing battery driver on board.
see screenshot
just initialized existing battery driver on board.
see screenshot
Attached Files
0 user(s) are reading this topic
0 members, 0 guests, 0 anonymous users







Sign In
Create Account


Back to top










