Post Reply

[21 JUN 2012] DORIMANX ICS Kernel 7.3 Linux 2.6.32.59 OC 96/1.62 CFS and OC Stable!

OP dorimanx

25th April 2012, 06:42 PM   |  #4141  
Recognized Contributor
Flag Shanghai
Thanks Meter: 2,761
 
763 posts
Join Date:Joined: Aug 2010
Donate to Me
Quote:
Originally Posted by Rick_1995

Log says it all, either the allocation handler of kgsl is bad or the new pmem is not working well with the kernel, mostly the first one as if it was pmem, other android stuff would complain as well, check dmesg for pmem output and load some printk(s) in the kgsl memory allocation handler to see what is happening

securecrt, I hope the following commits will help you
commit 1
commit 2
commit 3
commit 4

Quote:
Originally Posted by Xylograph

I/Adreno ( 125): open(/dev/kgsl-3d0) failed: errno 38. Function not implemented

That seems to be a problem ?

Maybe this seems like a strange proposal, but have you considered trying to boot a desire cm9 rom ( build with HWA implementation ) with your initrd.gz and zimage on our HD2 ?

Our hardware is quite similar..

your suggestion is good . I have sent you the latest kernel to your email. hope you can do some test. I am too tired today.

---------- Post added at 01:42 AM ---------- Previous post was at 01:40 AM ----------

Quote:
Originally Posted by Rick_1995

!!!! you might have included the new pmem but you haven't used it in board file, look at my previous response and the commit's linked for further help.

running from haret can be either a very good or a very bad idea because of the fact windows mobile and haret may initialize hardware differently than just spl + mag/lk

the pmem should be used in the board file.


static struct android_pmem_platform_data mdp_pmem_pdata = {
.name = "pmem",
.start = MSM_PMEM_MDP_BASE,
.size = MSM_PMEM_MDP_SIZE,
/* .no_allocator = 0,*/
.allocator_type = PMEM_ALLOCATORTYPE_BITMAP,
.cached = 1,
};

static struct android_pmem_platform_data android_pmem_adsp_pdata = {
.name = "pmem_adsp",
.start = MSM_PMEM_ADSP_BASE,
.size = MSM_PMEM_ADSP_SIZE,
/* .no_allocator = 0,*/
.allocator_type = PMEM_ALLOCATORTYPE_BITMAP,
.cached = 1,
};

static struct android_pmem_platform_data android_pmem_venc_pdata = {
.name = "pmem_venc",
.start = MSM_PMEM_VENC_BASE,
.size = MSM_PMEM_VENC_SIZE,
/* .no_allocator = 0,*/
.allocator_type = PMEM_ALLOCATORTYPE_BITMAP,
.cached = 1,
};
The Following 3 Users Say Thank You to securecrt For This Useful Post: [ View ]
25th April 2012, 07:20 PM   |  #4142  
Xylograph's Avatar
Senior Member
Thanks Meter: 7,727
 
1,824 posts
Join Date:Joined: Sep 2009
Donate to Me
Quote:
Originally Posted by securecrt

your suggestion is good . I have sent you the latest kernel to your email. hope you can do some test. I am too tired today.[COLOR="Silver"]

Received Haven't flashed it yet though.. still comparing ramdisks with the one from tytung and there are a lot of differences.. is that only because of you using haret/sd ?

Can I use tytung ramdisk..?

What are the most important changes in it ?
The Following User Says Thank You to Xylograph For This Useful Post: [ View ]
25th April 2012, 07:24 PM   |  #4143  
Recognized Contributor
Flag Shanghai
Thanks Meter: 2,761
 
763 posts
Join Date:Joined: Aug 2010
Donate to Me
Quote:
Originally Posted by Xylograph

Received Haven't flashed it yet though.. still comparing ramdisks with the one from tytung and there are a lot of differences.. is that only because of you using haret/sd ?

Can I use tytung ramdisk..?

What are the most important changes in it ?

init.rc
add the two lines
chmod 0777 /dev/kgsl-3d0
chmod 0777 /dev/genlock


Sent from my HTC HD2 using xda premium
The Following 2 Users Say Thank You to securecrt For This Useful Post: [ View ]
25th April 2012, 07:50 PM   |  #4144  
Xylograph's Avatar
Senior Member
Thanks Meter: 7,727
 
1,824 posts
Join Date:Joined: Sep 2009
Donate to Me
Ok after adding those 2 lines to init.rc/flashing kertnel and all the provided libs ..

My rom boots (without bootanimation) and is very slow and my logcat is flooded with :

Code:
20:38:27.005 Error Adreno200-ES11 143  <qglDrvAPI_glTexImage2D:1913>: GL_OUT_OF_MEMORY
20:38:27.005 Error Adreno200-ES11 143  <qglDrvAPI_glTexSubImage2D:2055>: GL_OUT_OF_MEMORY
20:38:27.005 Error Adreno200-EGLSUB 143  GetBackBuffer() handle base address is NULL
20:38:27.006 Error Adreno200-ES20 143  <gl2_surface_swap:41>: GL_OUT_OF_MEMORY
20:38:27.006 Error Adreno200-EGL 143  <qeglDrvAPI_eglSwapBuffers:3345>: EGL_BAD_ALLOC
Anyway here is +4000 lines of logcat from the boot

http://pastebin.com/iVs8MxAW

I don't think I can do much 'rom-wise' to make it better yet..at least it boots rotating screen takes about 5 seconds hehe
Last edited by Xylograph; 25th April 2012 at 08:00 PM.
The Following 2 Users Say Thank You to Xylograph For This Useful Post: [ View ]
25th April 2012, 07:53 PM   |  #4145  
dorimanx's Avatar
OP Recognized Developer
Flag Some Where North!
Thanks Meter: 63,936
 
9,286 posts
Join Date:Joined: Feb 2010
Donate to Me
More
Quote:
Originally Posted by securecrt

init.rc
add the two lines
chmod 0777 /dev/kgsl-3d0
chmod 0777 /dev/genlock


Sent from my HTC HD2 using xda premium

i like the posts, now its real development battle zone

keep it up, great work!

Sent from my GT-I9100
The Following 4 Users Say Thank You to dorimanx For This Useful Post: [ View ]
25th April 2012, 07:59 PM   |  #4146  
Xylograph's Avatar
Senior Member
Thanks Meter: 7,727
 
1,824 posts
Join Date:Joined: Sep 2009
Donate to Me
Quote:
Originally Posted by dorimanx

i like the posts, now its real development battle zone

keep it up, great work!

Sent from my GT-I9100

About time..
The Following 3 Users Say Thank You to Xylograph For This Useful Post: [ View ]
25th April 2012, 08:17 PM   |  #4147  
Rick_1995's Avatar
Recognized Developer
Whoville
Thanks Meter: 3,058
 
1,114 posts
Join Date:Joined: Sep 2009
Quote:
Originally Posted by securecrt

init.rc
add the two lines
chmod 0777 /dev/kgsl-3d0
chmod 0777 /dev/genlock


Sent from my HTC HD2 using xda premium

upload your "git diff" ?
25th April 2012, 08:32 PM   |  #4148  
Xylograph's Avatar
Senior Member
Thanks Meter: 7,727
 
1,824 posts
Join Date:Joined: Sep 2009
Donate to Me
Quote:
Originally Posted by Rick_1995

upload your "git diff" ?

I think he went to bed..

Anyway..Rick since you are still awake.. If I may ask..

I was just comparing a Desire HWA rom with one of my AOKP roms and saw a couple of libs which are missing on mine..

except the libgenlock I also saw libhwui.so..

I suppose that one is needed as well to get things going..

Anyway with the test kernel securecrt provided me it doesn't make any difference regarding speed

Ah well one step at a time..
The Following User Says Thank You to Xylograph For This Useful Post: [ View ]
25th April 2012, 09:24 PM   |  #4149  
Rick_1995's Avatar
Recognized Developer
Whoville
Thanks Meter: 3,058
 
1,114 posts
Join Date:Joined: Sep 2009
Quote:
Originally Posted by Xylograph

I think he went to bed..

Anyway..Rick since you are still awake.. If I may ask..

I was just comparing a Desire HWA rom with one of my AOKP roms and saw a couple of libs which are missing on mine..

except the libgenlock I also saw libhwui.so..

I suppose that one is needed as well to get things going..

Anyway with the test kernel securecrt provided me it doesn't make any difference regarding speed

Ah well one step at a time..

It won't, not alteast till opengl is allocated memory to work with
The Following 2 Users Say Thank You to Rick_1995 For This Useful Post: [ View ]
25th April 2012, 09:42 PM   |  #4150  
Senior Member
Thanks Meter: 6
 
99 posts
Join Date:Joined: Apr 2009
I see people have good results using this kernel with Tytung's ICS ROM.

I'm using the Mar 9 version, downloaded 6.6C kernel and installed via CLK recovery. It seemed to go fine but would not reboot. I booted into recovery and restored from backup fine.

Am I missing a step? Would like to give the kernel a try.


thanks!


Paul

Post Reply Subscribe to Thread

Tags
best kernel, boost boot, clk kernel, cron, dorimanx, fast kernel, mag kernel
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


Top Threads in HD2 Android NAND Development by ThreadRank