PPCGeeks Forums HTC Arrive HTC HD2 HTC Thunderbolt HTC Touch Pro 2 HTC Evo 4G HTC Evo 3D Samsung Galaxy S II Motorola Droid X Apple iPhone Blackberry
Go Back   PPCGeeks > Windows Mobile > WM HTC Devices > HTC Touch Pro 2 > Android On TP2
Register Community Search

Notices


Reply
 
LinkBack Thread Tools Display Modes
  #31 (permalink)  
Old 06-23-2010, 12:56 AM
newkidd's Avatar
PPCGeeks Regular
Offline
Pocket PC: HTC Touch Pro 2
Carrier: Sprint
 
Join Date: Nov 2009
Posts: 127
Reputation: 415
newkidd is becoming a PPCGeeks regularnewkidd is becoming a PPCGeeks regularnewkidd is becoming a PPCGeeks regularnewkidd is becoming a PPCGeeks regularnewkidd is becoming a PPCGeeks regular
Mentioned: 0 Post(s)
Tagged: 0 Thread(s)
Re: Need files to trace OpenGl

Quote:
Originally Posted by [ACL] View Post
This is good. The function grp_enable_interrupt might help. Right now there are no interrupts, so if we can just figure out what to pass to this function we might move a step forward. Thanks for the list, i'm actually missing some of these so im glad we got this done.

thats good. im working on going through a unix to linux shell programing book so im not all that savvy on linux just yet, but once i get a small step in the right direction im usually pretty quick on the uptake.

something i did notice is libgles imports alot of info from libm.so. what particular function does libm usually handle?
__________________
WM 6.5 may be being phased, but the heartbeat of the windows mobile community is like a heard of elk.
*edit*
Actually the windows mobile community is more like a rabbit family than a heard of elk. all it takes is a slight bit of action and next thing you know theres a million of them.
Reply With Quote
  #32 (permalink)  
Old 06-23-2010, 03:45 PM
[ACL]'s Avatar
VIP Member
Offline
Pocket PC: tp2
Carrier: Sprint
Threadstarter
Location: NY
 
Join Date: Feb 2010
Posts: 1,534
Reputation: 6350
[ACL] is a trusted member of the community[ACL] is a trusted member of the community[ACL] is a trusted member of the community[ACL] is a trusted member of the community[ACL] is a trusted member of the community[ACL] is a trusted member of the community[ACL] is a trusted member of the community[ACL] is a trusted member of the community[ACL] is a trusted member of the community[ACL] is a trusted member of the community[ACL] is a trusted member of the community
Mentioned: 2 Post(s)
Tagged: 0 Thread(s)
Re: Need files to trace OpenGl

so i tried to run grp_enable_interrupt and BOOM.. crash!!!

i just dont know the parameters to pass to it.
Reply With Quote
This post has been thanked 1 times.
  #33 (permalink)  
Old 06-23-2010, 04:51 PM
WoZZeR999's Avatar
PPCGeeks Regular
Offline
Pocket PC: TP2
Carrier: VZW
 
Join Date: Jan 2009
Posts: 161
Reputation: 940
WoZZeR999 knows their stuffWoZZeR999 knows their stuffWoZZeR999 knows their stuffWoZZeR999 knows their stuffWoZZeR999 knows their stuffWoZZeR999 knows their stuffWoZZeR999 knows their stuffWoZZeR999 knows their stuff
Mentioned: 0 Post(s)
Tagged: 0 Thread(s)
Re: Need files to trace OpenGl

I did some searching for a general _enable_interrupt (assuming that a similar function name would take the same or similar parms), and it looks like most enable_interrupts seem to take int's and global as parms. You could try passing global to it.

I know that it's not necessarily the same functions (and probably differ greatly), but it's worth a shot.
Reply With Quote
  #34 (permalink)  
Old 06-23-2010, 05:10 PM
[ACL]'s Avatar
VIP Member
Offline
Pocket PC: tp2
Carrier: Sprint
Threadstarter
Location: NY
 
Join Date: Feb 2010
Posts: 1,534
Reputation: 6350
[ACL] is a trusted member of the community[ACL] is a trusted member of the community[ACL] is a trusted member of the community[ACL] is a trusted member of the community[ACL] is a trusted member of the community[ACL] is a trusted member of the community[ACL] is a trusted member of the community[ACL] is a trusted member of the community[ACL] is a trusted member of the community[ACL] is a trusted member of the community[ACL] is a trusted member of the community
Mentioned: 2 Post(s)
Tagged: 0 Thread(s)
Re: Need files to trace OpenGl

Quote:
Originally Posted by WoZZeR999 View Post
I did some searching for a general _enable_interrupt (assuming that a similar function name would take the same or similar parms), and it looks like most enable_interrupts seem to take int's and global as parms. You could try passing global to it.

I know that it's not necessarily the same functions (and probably differ greatly), but it's worth a shot.
Tried.. BOOM crash.. lol.

In any-case, this is already probably called by android so it may not be worth it for us to continue researching.

Other devs are jumping on this as well. The Topaz/blackstone and rhod all have 3d issues. Blackstone at least has the gpu responding but not actually working properly.
Reply With Quote
This post has been thanked 1 times.
  #35 (permalink)  
Old 06-23-2010, 05:13 PM
Unknownforce's Avatar
PPCGeeks Regular
Offline
Pocket PC: HTC Evo 3Dâ„¢
Carrier: Sprint
 
Join Date: Nov 2008
Posts: 234
Reputation: 545
Unknownforce knows their stuffUnknownforce knows their stuffUnknownforce knows their stuffUnknownforce knows their stuffUnknownforce knows their stuffUnknownforce knows their stuff
Mentioned: 0 Post(s)
Tagged: 0 Thread(s)
Re: Need files to trace OpenGl

Quote:
Originally Posted by [ACL] View Post
Tried.. BOOM crash.. lol.

In any-case, this is already probably called by android so it may not be worth it for us to continue researching.

Other devs are jumping on this as well. The Topaz/blackstone and rhod all have 3d issues. Blackstone at least has the gpu responding but not actually working properly.
Maybe some other things have to be properly initialized before that call is made... are you sure that it even takes parms?
__________________

Phone: Sprint HTC EVO 3D
ROM: Synergy Nightly with Own Mods
"If you have the stereo on, why would you turn up the volume on the TV?" 'Cause I like to party
Reply With Quote
  #36 (permalink)  
Old 06-23-2010, 06:08 PM
[ACL]'s Avatar
VIP Member
Offline
Pocket PC: tp2
Carrier: Sprint
Threadstarter
Location: NY
 
Join Date: Feb 2010
Posts: 1,534
Reputation: 6350
[ACL] is a trusted member of the community[ACL] is a trusted member of the community[ACL] is a trusted member of the community[ACL] is a trusted member of the community[ACL] is a trusted member of the community[ACL] is a trusted member of the community[ACL] is a trusted member of the community[ACL] is a trusted member of the community[ACL] is a trusted member of the community[ACL] is a trusted member of the community[ACL] is a trusted member of the community
Mentioned: 2 Post(s)
Tagged: 0 Thread(s)
Re: Need files to trace OpenGl

Quote:
Originally Posted by Unknownforce View Post
Maybe some other things have to be properly initialized before that call is made... are you sure that it even takes parms?
ill try with no params tonight.

Someone needs to read up on clock-wince.c on the kernel. There are a bunch fo vales set there that may not be correct. I think thats the root cause.
Reply With Quote
This post has been thanked 1 times.
  #37 (permalink)  
Old 06-24-2010, 02:59 AM
[ACL]'s Avatar
VIP Member
Offline
Pocket PC: tp2
Carrier: Sprint
Threadstarter
Location: NY
 
Join Date: Feb 2010
Posts: 1,534
Reputation: 6350
[ACL] is a trusted member of the community[ACL] is a trusted member of the community[ACL] is a trusted member of the community[ACL] is a trusted member of the community[ACL] is a trusted member of the community[ACL] is a trusted member of the community[ACL] is a trusted member of the community[ACL] is a trusted member of the community[ACL] is a trusted member of the community[ACL] is a trusted member of the community[ACL] is a trusted member of the community
Mentioned: 2 Post(s)
Tagged: 0 Thread(s)
Re: Need files to trace OpenGl

no params.. BOOM.. still bombs. so i gave up on that and butchered the clocks-wince.c on the kernel and disabled all calls set_grp_clk(). Same results, so im really convinced now that these calls are useless for our devices.

this is the file im referring to

http://www.gitorious.org/linux-on-qu.../clock-wince.c

Last edited by [ACL]; 06-24-2010 at 03:02 AM. Reason: include link
Reply With Quote
This post has been thanked 1 times.
  #38 (permalink)  
Old 06-24-2010, 09:08 PM
newkidd's Avatar
PPCGeeks Regular
Offline
Pocket PC: HTC Touch Pro 2
Carrier: Sprint
 
Join Date: Nov 2009
Posts: 127
Reputation: 415
newkidd is becoming a PPCGeeks regularnewkidd is becoming a PPCGeeks regularnewkidd is becoming a PPCGeeks regularnewkidd is becoming a PPCGeeks regularnewkidd is becoming a PPCGeeks regular
Mentioned: 0 Post(s)
Tagged: 0 Thread(s)
Re: Need files to trace OpenGl

Quote:
Originally Posted by [ACL] View Post
no params.. BOOM.. still bombs. so i gave up on that and butchered the clocks-wince.c on the kernel and disabled all calls set_grp_clk(). Same results, so im really convinced now that these calls are useless for our devices.

this is the file im referring to

http://www.gitorious.org/linux-on-qu.../clock-wince.c

if i wanted to pull all the system boot messages windows mobile does, extend it till haret knocks winmo out of the equasion, then record the boot messages up until Android finishes loading, what would be the best way to do that? doesnt have to be the same file, multiple files is ok, i just wanna see what everything says!
Reply With Quote
  #39 (permalink)  
Old 06-24-2010, 11:41 PM
[ACL]'s Avatar
VIP Member
Offline
Pocket PC: tp2
Carrier: Sprint
Threadstarter
Location: NY
 
Join Date: Feb 2010
Posts: 1,534
Reputation: 6350
[ACL] is a trusted member of the community[ACL] is a trusted member of the community[ACL] is a trusted member of the community[ACL] is a trusted member of the community[ACL] is a trusted member of the community[ACL] is a trusted member of the community[ACL] is a trusted member of the community[ACL] is a trusted member of the community[ACL] is a trusted member of the community[ACL] is a trusted member of the community[ACL] is a trusted member of the community
Mentioned: 2 Post(s)
Tagged: 0 Thread(s)
Re: Need files to trace OpenGl

Quote:
Originally Posted by newkidd View Post
if i wanted to pull all the system boot messages windows mobile does, extend it till haret knocks winmo out of the equasion, then record the boot messages up until Android finishes loading, what would be the best way to do that? doesnt have to be the same file, multiple files is ok, i just wanna see what everything says!
Right now the glemson kernel has ramconsole disabled, so if you do want to have it enabled you will need to modify the kernel. Or you can do a "dmesg" on the shell when android boots.

For the windows boot messages, you need to dump the following address to a file. use the haret command below to do it.

pwf wince.txt 0x16a00000 0xFFFF0

0x16a00000 is for the CDMA rhods. The other ones have a different address. Need to look it up in the wiki.

Last edited by [ACL]; 06-25-2010 at 11:25 AM.
Reply With Quote
This post has been thanked 2 times.
  #40 (permalink)  
Old 06-27-2010, 11:49 PM
[ACL]'s Avatar
VIP Member
Offline
Pocket PC: tp2
Carrier: Sprint
Threadstarter
Location: NY
 
Join Date: Feb 2010
Posts: 1,534
Reputation: 6350
[ACL] is a trusted member of the community[ACL] is a trusted member of the community[ACL] is a trusted member of the community[ACL] is a trusted member of the community[ACL] is a trusted member of the community[ACL] is a trusted member of the community[ACL] is a trusted member of the community[ACL] is a trusted member of the community[ACL] is a trusted member of the community[ACL] is a trusted member of the community[ACL] is a trusted member of the community
Mentioned: 2 Post(s)
Tagged: 0 Thread(s)
Re: Need files to trace OpenGl

Here is a quick update. I havent solved the puzzle yet, but i have been working with some of the blackstone devs since they have a 3d issue as well. We figured comparing clock values would help. Turns out the dlls values on both black and rhod are identical. This is disappointing since i figured maybe the clocks were wrong and thats why it was not working.

.text:10004CE8 ; =============== S U B R O U T I N E =======================================
.text:10004CE8
.text:10004CE8
.text:10004CE8 sub_10004CE8 ; CODE XREF: sub_10004EC4+430p
.text:10004CE8 ; DATA XREF: .pdata:10008348o
.text:10004CE8 STMFD SP!, {R4,LR}
.text:10004CEC CMP R0, #0
.text:10004CF0 BEQ loc_10004DB8
.text:10004CF4 LDR R4, =unk_100071DC
.text:10004CF8 MOVL R1, 0x11F
.text:10004D00 LDR R2, [R4,#8]
.text:10004D04 MOV R0, #2
.text:10004D08 LDR R3, [R2,#0x208]
.text:10004D0C ORR R3, R3, #0x20
.text:10004D10 STR R3, [R2,#0x208]
.text:10004D14 LDR R2, [R4,#8]
.text:10004D18 LDR R3, [R2,#0x214]
.text:10004D1C ORR R3, R3, #0x20000
.text:10004D20 STR R3, [R2,#0x214]
.text:10004D24 LDR R3, [R4,#8]
.text:10004D28 STR R1, [R3,#0x284]
.text:10004D2C BL sub_10004CAC
.text:10004D30 LDR R2, [R4,#8]
.text:10004D34 LDR R3, [R2,#0x84]
.text:10004D38 ORR R3, R3, #0x800
.text:10004D3C STR R3, [R2,#0x84]
.text:10004D40 LDR R2, [R4,#8]
.text:10004D44 LDR R3, [R2,#0x84]
.text:10004D48 ORR R3, R3, #0x80
.text:10004D4C STR R3, [R2,#0x84]
.text:10004D50 LDR R2, [R4,#8]
.text:10004D54 LDR R3, [R2,#0x84]
.text:10004D58 ORR R3, R3, #0x200
.text:10004D5C STR R3, [R2,#0x84]
.text:10004D60 LDR R2, [R4,#8]
.text:10004D64 LDR R3, [R2]
.text:10004D68 ORR R3, R3, #8
.text:10004D6C STR R3, [R2]
.text:10004D70 LDR R2, [R4,#8]
.text:10004D74 LDR R3, [R2,#0x290]!
.text:10004D78 BIC R3, R3, #4
.text:10004D7C STR R3, [R2]
.text:10004D80 LDR R2, [R4]
.text:10004D84 LDR R3, [R2,#0x80]
.text:10004D88 BIC R3, R3, #1
.text:10004D8C STR R3, [R2,#0x80]
.text:10004D90 LDR R2, [R4,#8]
.text:10004D94 LDR R3, [R2,#0x208]
.text:10004D98 BIC R3, R3, #0x20
.text:10004D9C STR R3, [R2,#0x208]
.text:10004DA0 LDR R2, [R4,#8]
.text:10004DA4 LDR R3, [R2,#0x214]
.text:10004DA8 BIC R3, R3, #0x20000
.text:10004DAC STR R3, [R2,#0x214]
.text:10004DB0 LDMFD SP!, {R4,LR}
.text:10004DB4 BX LR

All those values above can be found on our kernel which now makes me think i have to look at something else. The weird thing is that when we dump clocks from haret, it does not match the above values .. lol so we have asm that is lying? or there is another call we are missing and not analysing . Whatever it is, the search continues.
Reply With Quote
This post has been thanked 2 times.
Reply

  PPCGeeks > Windows Mobile > WM HTC Devices > HTC Touch Pro 2 > Android On TP2


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


All times are GMT -4. The time now is 07:27 PM.


Powered by vBulletin® ©2000 - 2024, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.6.0
©2012 - PPCGeeks.com