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
  #71 (permalink)  
Old 07-12-2010, 03:09 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

Found out why its bombing out when manila is disabled. Once you disable it 2 values in memory change.

0xA860010C and 0xA8600084

However, once you reboot it looks like the values return to how they should be. I still yet to find out why its crashing. I did notice that if you shut down manila, and you run a 3d app, the values fix themselves.

The actual call that crashes the system is the get_clk_khz(); in the clock_late_init. This call is somewhat useless right now so i commented it out on my kernel and was able to boot.

Unfortunately none of this got 3d working. The hunt continues ..

Last edited by [ACL]; 07-12-2010 at 03:26 AM.
Reply With Quote
This post has been thanked 1 times.
  #72 (permalink)  
Old 07-15-2010, 07:07 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

haven't been able to put time in this week. Anyone at least get their kernel up ? lol

i rewrote most of wince-clocks based on the outputs i get from dumping the clocks from wince. I know our code matches the asm 100 percent but it doesnt match what we dump. So i wrote it to match what we have in the current code and so far still no irqs. So i think its no longer a clock or grp rail issue. We are in fact enabling grp rail since the bits match wince.
Reply With Quote
This post has been thanked 2 times.
  #73 (permalink)  
Old 07-16-2010, 12:41 AM
electrikjesus's Avatar
Lurker
Offline
Pocket PC: HTC Touch Pro 2 - rhod210
Carrier: T-Mobile
 
Join Date: Jun 2008
Posts: 12
Reputation: 5
electrikjesus is a n00b
Mentioned: 0 Post(s)
Tagged: 0 Thread(s)
Send a message via MSN to electrikjesus Send a message via Skype™ to electrikjesus
Re: Need files to trace OpenGl

Quote:
Originally Posted by [ACL] View Post
haven't been able to put time in this week. Anyone at least get their kernel up ? lol

i rewrote most of wince-clocks based on the outputs i get from dumping the clocks from wince. I know our code matches the asm 100 percent but it doesnt match what we dump. So i wrote it to match what we have in the current code and so far still no irqs. So i think its no longer a clock or grp rail issue. We are in fact enabling grp rail since the bits match wince.
Awesome. It is so good of you to be doing this for our devices. Can't wait to see what comes from it all.
Reply With Quote
  #74 (permalink)  
Old 07-19-2010, 09:02 PM
Lioric HTC's Avatar
Lurker
Offline
Pocket PC: HTC Touch Pro 2
Carrier: sprint
 
Join Date: Mar 2010
Posts: 6
Reputation: 25
Lioric HTC is just getting started
Mentioned: 0 Post(s)
Tagged: 0 Thread(s)
Re: Need files to trace OpenGl

if its not a grp rail or clk issue, are sure we have the correct amss? can't we flash other from a known hw3d working device to test and compare?
Reply With Quote
  #75 (permalink)  
Old 07-20-2010, 12:06 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

Quote:
Originally Posted by Lioric HTC View Post
if its not a grp rail or clk issue, are sure we have the correct amss? can't we flash other from a known hw3d working device to test and compare?
Correct amss? you wanna flash your phone be my guest

If you look at the clock dumps on the wiki vs the asm posted earlier, you will see that they really dont match up 100%. This is why clocks have been a concern for me.

If you have a dev env ready we can begin testing further (the more help the better). I havent been able to trace everything but i'm pretty sure about what ddi and ahi2dati does when initialising for 3d. DDI is just a wrapper for ahi2dati, when it's ready it calls the AhiInit function which will eventually call clk_regime_msm_enable and pass a value of 0x36 (enable grp). When you disect the clkregim.dll thats when all the clocks/rail are enabled. We posted that asm earlier.

What i havent done yet is actually get haret dumps when disabling and re-enabling via that function to see what other areas in memory are changed. I can write the app quickly, but i just dont have time to keep dumping and comparing the values.

Someone also suggested in maybe turning off the grp/rail before we launch android so we can enable it completely ourselves instead of relying on winmo to leave it enabled.

Last edited by [ACL]; 07-20-2010 at 02:14 AM.
Reply With Quote
  #76 (permalink)  
Old 07-21-2010, 07:59 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
Found out why its bombing out when manila is disabled. Once you disable it 2 values in memory change.

0xA860010C and 0xA8600084

However, once you reboot it looks like the values return to how they should be. I still yet to find out why its crashing. I did notice that if you shut down manila, and you run a 3d app, the values fix themselves.

The actual call that crashes the system is the get_clk_khz(); in the clock_late_init. This call is somewhat useless right now so i commented it out on my kernel and was able to boot.

Unfortunately none of this got 3d working. The hunt continues ..

more or less it sounds like clocks are set with 3d boot already enabled, and its doing a hand off.

ill more or less be your testing peon as soon as my new hard drive shows up. one i had got left behind in the move then damaged during shipping to me.
__________________
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
  #77 (permalink)  
Old 07-26-2010, 05:54 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

Do any of you guys have a full dev environment for wince? We need some apps compiled and i just want to make sure im not the only one who can do it ..
Reply With Quote
  #78 (permalink)  
Old 07-26-2010, 08:58 PM
Lioric HTC's Avatar
Lurker
Offline
Pocket PC: HTC Touch Pro 2
Carrier: sprint
 
Join Date: Mar 2010
Posts: 6
Reputation: 25
Lioric HTC is just getting started
Mentioned: 0 Post(s)
Tagged: 0 Thread(s)
Re: Need files to trace OpenGl

yep, vs2008 + 6.5 sdk
Reply With Quote
  #79 (permalink)  
Old 07-27-2010, 02:06 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

Quote:
Originally Posted by Lioric HTC View Post
yep, vs2008 + 6.5 sdk
awesome.. i just compiled some stuff for Jonpry and i'll be at work tomorrow. It would be awesome if someone else was able to compile for him as well. Take a look at the sound thread in case we need your help.

Thanks.
Reply With Quote
  #80 (permalink)  
Old 08-26-2010, 04:39 PM
Viper786's Avatar
Regular 'Geeker
Offline
Pocket PC: Samsung Epic, HTC TP2
Carrier: Sprint - SERO Premium
Location: Canton, MI
 
Join Date: Jul 2009
Posts: 272
Reputation: 180
Viper786 is keeping up the good workViper786 is keeping up the good work
Mentioned: 0 Post(s)
Tagged: 0 Thread(s)
Re: Need files to trace OpenGl

Now that we have sound, i'm assuming this will be worked on next???
Reply With Quote
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 01:09 AM.


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