Jump to content


Photo

kernel 2.6.32

* * * * * 14 votes

  • Please log in to reply
488 replies to this topic

#1
pier11

pier11

    Addict

  • Members
  • PipPipPipPipPip
  • 883 posts
  • Gender:Male
  • Location:New York, USA
  • Devices:T-Mobile Pulse U8220
How about that:

<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 Board
full dmesg got via adb !

  • 1

#2
pier11

pier11

    Addict

  • Members
  • PipPipPipPipPip
  • 883 posts
  • Gender:Male
  • Location:New York, USA
  • Devices:T-Mobile Pulse U8220
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

Edited by pier11, 21 January 2012 - 04:41 PM.

  • 0

#3
D-D-

D-D-

    Diehard

  • Members
  • PipPipPipPip
  • 414 posts
  • Gender:Male
  • Devices:T-mobile Pulse
  • Twitter:@boriseto
Am I dreaming? Or something?

  • 0

#4
arlindo.costa

arlindo.costa

    Enthusiast

  • Members
  • PipPipPip
  • 196 posts
  • Gender:Male
  • Location:Porto, Portugal
  • Devices:TMN A1 / LG P970 Black

Am I dreaming? Or something?

:D :D :D Seems like christmas is coming early this year!

  • 0

#5
huawei8220

huawei8220

    Newbie

  • Members
  • Pip
  • 25 posts
  • Gender:Male
  • Location:Germany - NRW
  • Devices:i9023(4.0.3) / U8220 2.1 Stock
Hi,

what does kernel 2.6.32 mean for CM7.1?
What are the "real" benefits?
Could this solve issues like "non-working-camera"?

...

  • 0

#6
Dr Who

Dr Who

    Timelord

  • Members
  • PipPipPipPipPipPip
  • 1,987 posts
  • Location:Gallifrey
Some discussion of the potential advantages of the newer kernel is this thread

http://android.modac...2-froyo-kernel/

  • 0

#7
FunYeg

FunYeg

    Newbie

  • Members
  • Pip
  • 43 posts
  • Gender:Male
Is the kernel finished?

  • 0

#8
pier11

pier11

    Addict

  • Members
  • PipPipPipPipPip
  • 883 posts
  • Gender:Male
  • Location:New York, USA
  • Devices:T-Mobile Pulse U8220

Is the kernel finished?

Opposite. Just started.

  • 0

#9
FunYeg

FunYeg

    Newbie

  • Members
  • Pip
  • 43 posts
  • Gender:Male

Opposite. Just started.

Is it start to boot?

  • 0

#10
pier11

pier11

    Addict

  • Members
  • PipPipPipPipPip
  • 883 posts
  • Gender:Male
  • Location:New York, USA
  • Devices:T-Mobile Pulse U8220

Is it start to boot?

kernel itself boots fine.
Android 2.1UK I tested on doesn't start properly - FC. But I'd guess it shouldn't start, as it was compiled against 2.6.29 kernel (?)

  • 1

#11
FunYeg

FunYeg

    Newbie

  • Members
  • Pip
  • 43 posts
  • Gender:Male

kernel itself boots fine.
Android 2.1UK I tested on doesn't start properly - FC. But I'd guess it shouldn't start, as it was compiled against 2.6.29 kernel (?)

I think .32 is better test on 2.2 or 2.3
I haven't see 2.1 is using .29

  • 0

#12
pier11

pier11

    Addict

  • Members
  • PipPipPipPipPip
  • 883 posts
  • Gender:Male
  • Location:New York, USA
  • Devices:T-Mobile Pulse U8220

I think .32 is better test on 2.2 or 2.3
I haven't see 2.1 is using .29

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)

  • 1

#13
FunYeg

FunYeg

    Newbie

  • Members
  • Pip
  • 43 posts
  • Gender:Male

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)

Yes, you are right, CM is not like the official rom.
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.

  • 0

#14
rangeoshun

rangeoshun

    Enthusiast

  • MoDaCo Silver
  • PipPipPip
  • 265 posts
Great job! Could you post a zImage or boot img? I'd love to try this and that! And again, thank you, high5!

  • 0

#15
pier11

pier11

    Addict

  • Members
  • PipPipPipPipPip
  • 883 posts
  • Gender:Male
  • Location:New York, USA
  • Devices:T-Mobile Pulse U8220

Great job! Could you post a zImage or boot img? I'd love to try this and that! And again, thank you, high5!

Thanks.

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.

  • 0

#16
pier11

pier11

    Addict

  • Members
  • PipPipPipPipPip
  • 883 posts
  • Gender:Male
  • Location:New York, USA
  • Devices:T-Mobile Pulse U8220
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.

Edited by pier11, 29 November 2011 - 01:51 AM.

  • 0

#17
rangeoshun

rangeoshun

    Enthusiast

  • MoDaCo Silver
  • PipPipPip
  • 265 posts
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!

  • 0

#18
Dr Who

Dr Who

    Timelord

  • Members
  • PipPipPipPipPipPip
  • 1,987 posts
  • Location:Gallifrey
Keep going chaps - very exciting developments!

  • 0

#19
pier11

pier11

    Addict

  • Members
  • PipPipPipPipPip
  • 883 posts
  • Gender:Male
  • Location:New York, USA
  • Devices:T-Mobile Pulse U8220
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...

  • 0

#20
pier11

pier11

    Addict

  • Members
  • PipPipPipPipPip
  • 883 posts
  • Gender:Male
  • Location:New York, USA
  • Devices:T-Mobile Pulse U8220
worked out!
just initialized existing battery driver on board.

see screenshot :)

Attached Files


  • 2




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users