Welcome to XDA

Search to go directly to your device's forum

Register an account

Unlock full posting privileges

Ask a question

No registration required
Post Reply

[GPL][Kernel] 2.6.35 for HERC [AP #4/5]

OP s0be

13th January 2011, 05:21 PM   |  #1  
s0be's Avatar
OP Recognized Developer
Flag Madison, WI
Thanks Meter: 425
 
707 posts
Join Date:Joined: Dec 2007
Donate to Me
More
Github:

I now consider this Release Candidate quality. Please do report issues (with logcats and dmesgs). Check the known bugs, etc, etc.

https://github.com/s0be/cm-kernel

the -amonra zip is for recoveries that don't take the FS type as the first argument of mount(...) If the regular zip fails complaining about missing files, try the -amonra version.

Latest official version:
If that download doesn't work for you, your OS likely has a broken ipv6 stack. Please check that you have ipv6 disabled if you don't actually have an ipv6 connection.

What works:
  • Ram console
  • Keypad
  • Screen
  • Touchscreen
  • GPS
  • Compass
  • G-Sensor
  • nand
  • Early Suspend
  • Bluetooth
  • Headset Detection
  • Camera

What Doesn't work or hasn't been tested:

Thanks to:
Elemag for the initial Hero 2.6.35 port, with Erasmux as a major contributor, Decadence for the 2.6.34/35 heroc board files, and riemervdzee for his pointers at fixes needed to get it working and his continued drive to get this kernel full featured and stable, and everyone they pulled from (Darch, Toast, Cyanogen, etc, etc). If I've forgotten anyone, please let me know the names to add.
Last edited by s0be; 9th April 2011 at 04:09 PM.
The Following 35 Users Say Thank You to s0be For This Useful Post: [ View ]
13th January 2011, 05:22 PM   |  #2  
s0be's Avatar
OP Recognized Developer
Flag Madison, WI
Thanks Meter: 425
 
707 posts
Join Date:Joined: Dec 2007
Donate to Me
More
See first post for current. This is just historic releases.
Last edited by s0be; 8th April 2011 at 05:34 AM.
13th January 2011, 06:15 PM   |  #3  
Senior Member
Flag Mt. Pleasant/Oxford MI
Thanks Meter: 7
 
155 posts
Join Date:Joined: May 2010
More
what kind of performance increase will this bring? and will it be nice to have when we get a fully working GB rom?
13th January 2011, 06:44 PM   |  #4  
riemervdzee's Avatar
Retired Recognized Developer
Flag Dokkum
Thanks Meter: 297
 
593 posts
Join Date:Joined: May 2010
More
Unfortunally the current .35 build for the Hero GSM version is slower than any .29 kernel.
But yeah, seems we have to reimplement a lot of optimalisations.

It is nice that we actually get something out of the HeroC though
The Following User Says Thank You to riemervdzee For This Useful Post: [ View ]
13th January 2011, 07:37 PM   |  #5  
s0be's Avatar
OP Recognized Developer
Flag Madison, WI
Thanks Meter: 425
 
707 posts
Join Date:Joined: Dec 2007
Donate to Me
More
Quote:
Originally Posted by riemervdzee

Unfortunally the current .35 build for the Hero GSM version is slower than any .29 kernel.
But yeah, seems we have to reimplement a lot of optimalisations.

It is nice that we actually get something out of the HeroC though

There are other advantages of course, we have to remember. Performance is king, but features are definitely queen. Getting to a recent kernel (2.6.29 is coming up on 2 years old), makes future updates to Heroc a lot easier. Going to up-to-date drivers may allow us to eliminate some of the binary cruft from the Heroc tree, etc, etc.
The Following User Says Thank You to s0be For This Useful Post: [ View ]
14th January 2011, 01:44 AM   |  #6  
Junior Member
Thanks Meter: 2
 
5 posts
Join Date:Joined: Jan 2010
Two things I've tried:

1. In the xda "hero" dev forum, there was a post that there was a problem with the newer (>.34) yaffs2 code, and you needed to boot and wipe using a 1.7 RA recovery. So, I copied the yaffs2 code from deca's .29 kernel. It then oopsed at 1017 in msm_fb, which was the ifdef'd line for HERO.

2. So, I added "&& !defined(CONFIG_MACH_HEROC)" to line 1016. It then still rebooted, but last_kmsg was different after "vsync on gpio 97 now 0":

[ 3.626831] vsync on gpio 97 now 0
[ 3.632263] msmfb_probe() installing 320 x 480 panel
[ 3.640106] Registered led device: lcd-backlight
[ 3.650085] msm_serial: driver initialized
[ 3.654052] msm_serial_hs module loaded
[ 3.697570] loop: module loaded
[ 3.698760] pmem: 1 init
[ 3.702514] pmem_adsp: 0 init
[ 3.706420] pmem_camera: 0 init
[ 3.711578] Android kernel panic handler initialized (bind=kpanic)
[ 3.712524] AKM8973 compass driver: init
[ 3.718566] input: compass as /devices/virtual/input/input0
[ 3.731079] msm_nand: allocated dma buffer at ffa0a000, dma_addr 256fb000
[ 3.732696] msm_nand: read CFG0 = aa5400c0 CFG1 = 8744a
[ 3.733245] msm_nand: CFG0 cw/page=3 ud_sz=512 ecc_sz=10 spare_sz=4
[ 3.734069] msm_nand: NAND_READ_ID = 5501bcec
[ 3.735229] msn_nand: nandid 5501bcec status c03120
[ 3.735595] msm_nand: manuf Samsung (0xec) device 0xbc blocksz 20000 pagesz 800 size 20000000
[ 3.736114] msm_nand: save CFG0 = e85408c0 CFG1 = 4745e
[ 3.736419] msm_nand: CFG0: cw/page=3 ud_sz=516 ecc_sz=10 spare_sz=0 num_addr_cycles=5
[ 3.737121] msm_nand: DEV_CMD1: f00f3000
[ 3.737609] msm_nand: NAND_EBI2_ECC_BUF_CFG: 1ff
[ 3.738372] 6 cmdlinepart partitions found on MTD device msm_nand
[ 3.738708] Creating 6 MTD partitions on "msm_nand":
[ 3.739257] 0x00001ff60000-0x000020000000 : "misc"
[ 3.753509] 0x000002c60000-0x000003160000 : "recovery"
[ 3.776397] 0x000003160000-0x0000033e0000 : "boot"
[ 3.794219] 0x0000033e0000-0x000009be0000 : "system"
[ 4.070312] 0x000009be0000-0x000009fe0000 : "cache"
[ 4.098876] 0x000009fe0000-0x000020000000 : "userdata"

No errors detected

Don't know if this helps or not. BTW, I'm using Firerats's custom MTD partitions, so I modified the boot parameters.
14th January 2011, 04:20 AM   |  #7  
s0be's Avatar
OP Recognized Developer
Flag Madison, WI
Thanks Meter: 425
 
707 posts
Join Date:Joined: Dec 2007
Donate to Me
More
Quote:
Originally Posted by dbayub

Two things I've tried:

1. In the xda "hero" dev forum, there was a post that there was a problem with the newer (>.34) yaffs2 code, and you needed to boot and wipe using a 1.7 RA recovery. So, I copied the yaffs2 code from deca's .29 kernel. It then oopsed at 1017 in msm_fb, which was the ifdef'd line for HERO.

2. So, I added "&& !defined(CONFIG_MACH_HEROC)" to line 1016. It then still rebooted, but last_kmsg was different after "vsync on gpio 97 now 0":

<SNIP>

Don't know if this helps or not. BTW, I'm using Firerats's custom MTD partitions, so I modified the boot parameters.

yeah, I had that fixed in my tree, forgot to commit the || -> && change I didn't do that yaffs2 change, but I just tested it with identical results.
14th January 2011, 04:28 AM   |  #8  
Decad3nce's Avatar
Retired Forum Moderator / Recognized Developer
Thanks Meter: 2,772
 
2,083 posts
Join Date:Joined: Feb 2010
Donate to Me
Sweet. I'll spend more time on it this weekend. Swamped with homework atm.

Hopefully we'll have something super stable!
14th January 2011, 05:00 AM   |  #9  
s0be's Avatar
OP Recognized Developer
Flag Madison, WI
Thanks Meter: 425
 
707 posts
Join Date:Joined: Dec 2007
Donate to Me
More
Quote:
Originally Posted by Decad3nce

Sweet. I'll spend more time on it this weekend. Swamped with homework atm.

Hopefully we'll have something super stable!

Made some more progress:

http://android.pastebin.com/AWysQDNk
14th January 2011, 06:18 AM   |  #10  
MallardDuck's Avatar
Senior Member
Flag Lansing
Thanks Meter: 201
 
281 posts
Join Date:Joined: Jun 2009
More
Smile
s0be, i think you're going to blow up the hero scene again. with deca and you working together there's been a lot of progress recently and i want to thank both of you. i really love my hero and you guys keep it feeling young.

Post Reply Subscribe to Thread
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes