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 > Android On TP2 Development
Register Community Search

Notices


Reply
 
LinkBack Thread Tools Display Modes
  #261 (permalink)  
Old 10-20-2010, 05:52 PM
natemcnutty's Avatar
VIP Member
Offline
Pocket PC: VZW Touch Pro 2
Carrier: Verizon Wireless
Threadstarter
 
Join Date: Nov 2009
Posts: 845
Reputation: 3070
natemcnutty is still contributing even after becoming a VIPnatemcnutty is still contributing even after becoming a VIPnatemcnutty is still contributing even after becoming a VIPnatemcnutty is still contributing even after becoming a VIPnatemcnutty is still contributing even after becoming a VIPnatemcnutty is still contributing even after becoming a VIPnatemcnutty is still contributing even after becoming a VIPnatemcnutty is still contributing even after becoming a VIPnatemcnutty is still contributing even after becoming a VIPnatemcnutty is still contributing even after becoming a VIPnatemcnutty is still contributing even after becoming a VIP
Mentioned: 0 Post(s)
Tagged: 0 Thread(s)
Re: NAND Boot Testing - Keyboard Mapping Fixed, HW3D, and Battery Algo Update

WOOHOO!!! I found the hw3d problem Just an over-provisioning of memory

Line 647 in /arch/arm/mach-msm/board-htcrhodium.c

Change from

mi->bank[0].size = (107 * 1024 * 1024);

To

mi->bank[0].size = (99 * 1024 * 1024);

I also made the following change (but I don't think it affects anything).

Line 280 in /arch/arm/mach-msm/pmem.c

Change from

pmem_setting.ram_console_size=0x2000;

To

pmem_setting.ram_console_size=0x20000;
Reply With Quote
This post has been thanked 5 times.
  #262 (permalink)  
Old 10-20-2010, 05:55 PM
pts69666's Avatar
PPCGeeks Regular
Offline
Pocket PC: HTC Evo 3D
Carrier: Sprint
 
Join Date: Dec 2007
Posts: 120
Reputation: 65
pts69666 is becoming a great contributor
Mentioned: 0 Post(s)
Tagged: 0 Thread(s)
Re: NAND Boot Testing - Keyboard Mapping Fixed, HW3D, and Battery Algo Update

Quote:
Originally Posted by natemcnutty View Post
WOOHOO!!! I found the hw3d problem Just an over-provisioning of memory

Line 647 in /arch/arm/mach-msm/board-htcrhodium.c

Change from

mi->bank[0].size = (107 * 1024 * 1024);

To

mi->bank[0].size = (99 * 1024 * 1024);

I also made the following change (but I don't think it affects anything).

Line 280 in /arch/arm/mach-msm/pmem.c

Change from

pmem_setting.ram_console_size=0x2000;

To

pmem_setting.ram_console_size=0x20000;
AWESOME!!! Congratz! =D
Reply With Quote
  #263 (permalink)  
Old 10-20-2010, 05:56 PM
arrrghhh's Avatar
Testing Extraordinaire
Offline
Pocket PC: HTC Touch Pro 2 (RHOD400)
Carrier: Sprint
 
Join Date: Mar 2007
Posts: 3,604
Reputation: 7360
arrrghhh is a trusted member of the communityarrrghhh is a trusted member of the communityarrrghhh is a trusted member of the communityarrrghhh is a trusted member of the communityarrrghhh is a trusted member of the communityarrrghhh is a trusted member of the communityarrrghhh is a trusted member of the communityarrrghhh is a trusted member of the communityarrrghhh is a trusted member of the communityarrrghhh is a trusted member of the communityarrrghhh is a trusted member of the community
Mentioned: 7 Post(s)
Tagged: 0 Thread(s)
Re: NAND Boot Testing - Keyboard Mapping Fixed, HW3D, and Battery Algo Update

Good news! You the man Hopefully now we can push forward with NAND! C'mon acl, fix that brick!!
Reply With Quote
  #264 (permalink)  
Old 10-20-2010, 06:07 PM
[ACL]'s Avatar
VIP Member
Offline
Pocket PC: tp2
Carrier: Sprint
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: NAND Boot Testing - Keyboard Mapping Fixed, HW3D, and Battery Algo Update

Quote:
Originally Posted by natemcnutty View Post
WOOHOO!!! I found the hw3d problem Just an over-provisioning of memory

Line 647 in /arch/arm/mach-msm/board-htcrhodium.c

Change from

mi->bank[0].size = (107 * 1024 * 1024);

To

mi->bank[0].size = (99 * 1024 * 1024);

I also made the following change (but I don't think it affects anything).

Line 280 in /arch/arm/mach-msm/pmem.c

Change from

pmem_setting.ram_console_size=0x2000;

To

pmem_setting.ram_console_size=0x20000;
ahh man .. thats odd.. in reality that should also kill haret version even more.

ANyways if it fixes it then ill run it by bzo who was the original author of the 3d mem patch. If its kosher, we can commit this all around.

Thanks for looking into it while i deal with my nand issues. I tried everything to get it to work and Jonpry has a theory there is a bad block somewhere. Hopefully i can get it resolved soon.

In the mean time can you compile from the latest source now with no issues?
__________________
Reply With Quote
  #265 (permalink)  
Old 10-20-2010, 06:15 PM
[ACL]'s Avatar
VIP Member
Offline
Pocket PC: tp2
Carrier: Sprint
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: NAND Boot Testing - Keyboard Mapping Fixed, HW3D, and Battery Algo Update

natemcnutty .. looks like my nand patch was broken for 3d. I'm making your commit tonight ..

All credits to you buddy.
Reply With Quote
This post has been thanked 2 times.
  #266 (permalink)  
Old 10-20-2010, 06:17 PM
natemcnutty's Avatar
VIP Member
Offline
Pocket PC: VZW Touch Pro 2
Carrier: Verizon Wireless
Threadstarter
 
Join Date: Nov 2009
Posts: 845
Reputation: 3070
natemcnutty is still contributing even after becoming a VIPnatemcnutty is still contributing even after becoming a VIPnatemcnutty is still contributing even after becoming a VIPnatemcnutty is still contributing even after becoming a VIPnatemcnutty is still contributing even after becoming a VIPnatemcnutty is still contributing even after becoming a VIPnatemcnutty is still contributing even after becoming a VIPnatemcnutty is still contributing even after becoming a VIPnatemcnutty is still contributing even after becoming a VIPnatemcnutty is still contributing even after becoming a VIPnatemcnutty is still contributing even after becoming a VIP
Mentioned: 0 Post(s)
Tagged: 0 Thread(s)
Re: NAND Boot Testing - Keyboard Mapping Fixed, HW3D, and Battery Algo Update

Quote:
Originally Posted by [ACL] View Post
ahh man .. thats odd.. in reality that should also kill haret version even more.

ANyways if it fixes it then ill run it by bzo who was the original author of the 3d mem patch. If its kosher, we can commit this all around.

Thanks for looking into it while i deal with my nand issues. I tried everything to get it to work and Jonpry has a theory there is a bad block somewhere. Hopefully i can get it resolved soon.

In the mean time can you compile from the latest source now with no issues?
Actually, I'm pretty sure someone already fixed it in linux-msm. I had done a full file comparison when the problem first started happening, and that wasn't there back then. What's odd is the change is listed here:

Commit in linux-msm in Linux on Qualcomm's MSM - Gitorious

Bummer to hear about your nand. I wonder if you've worn out some of the flash on the internal nand. When using a WM ROM, does it have a way of getting wear leveling information that maybe the tinboot isn't doing?

As for compiling, with those changes I have no issues, and boot is crazy fast! I have uploaded it to the first post and cleaned up the post as well.

Edit: Also, I noticed there was some new commits to the RootFS, so I've updated the modified rootfs to include those changes and uploaded that to the first page as well

Last edited by natemcnutty; 10-20-2010 at 06:20 PM.
Reply With Quote
This post has been thanked 1 times.
  #267 (permalink)  
Old 10-20-2010, 06:17 PM
tpdjr's Avatar
Regular 'Geeker
Offline
Pocket PC: HTC Touch Pro 2 (Rhod 400)
Carrier: Sprint
Location: California
 
Join Date: May 2009
Posts: 390
Reputation: 460
tpdjr is becoming a PPCGeeks regulartpdjr is becoming a PPCGeeks regulartpdjr is becoming a PPCGeeks regulartpdjr is becoming a PPCGeeks regulartpdjr is becoming a PPCGeeks regular
Mentioned: 0 Post(s)
Tagged: 0 Thread(s)
Re: NAND Boot Testing - Keyboard Mapping Fixed, HW3D, and Battery Algo Update

congrats nate on fixing 3d now we can move further into fixing nand
Reply With Quote
  #268 (permalink)  
Old 10-20-2010, 06:21 PM
natemcnutty's Avatar
VIP Member
Offline
Pocket PC: VZW Touch Pro 2
Carrier: Verizon Wireless
Threadstarter
 
Join Date: Nov 2009
Posts: 845
Reputation: 3070
natemcnutty is still contributing even after becoming a VIPnatemcnutty is still contributing even after becoming a VIPnatemcnutty is still contributing even after becoming a VIPnatemcnutty is still contributing even after becoming a VIPnatemcnutty is still contributing even after becoming a VIPnatemcnutty is still contributing even after becoming a VIPnatemcnutty is still contributing even after becoming a VIPnatemcnutty is still contributing even after becoming a VIPnatemcnutty is still contributing even after becoming a VIPnatemcnutty is still contributing even after becoming a VIPnatemcnutty is still contributing even after becoming a VIP
Mentioned: 0 Post(s)
Tagged: 0 Thread(s)
Re: NAND Boot Testing - Keyboard Mapping Fixed, HW3D, and Battery Algo Update

Quote:
Originally Posted by tpdjr View Post
congrats nate on fixing 3d now we can move further into fixing nand
bzo gets all the credit on making it work. I just found the typo :P
Reply With Quote
This post has been thanked 1 times.
  #269 (permalink)  
Old 10-20-2010, 07:22 PM
damage_them's Avatar
PPCGeeks Regular
Offline
Pocket PC: touch pro 2
Carrier: sprint
 
Join Date: Feb 2010
Posts: 159
Reputation: 160
damage_them is keeping up the good workdamage_them is keeping up the good work
Mentioned: 0 Post(s)
Tagged: 0 Thread(s)
Re: NAND Boot Testing - Keyboard Mapping Fixed, HW3D, and Battery Algo Update

Quote:
Originally Posted by natemcnutty View Post
WOOHOO!!! I found the hw3d problem Just an over-provisioning of memory

Line 647 in /arch/arm/mach-msm/board-htcrhodium.c

Change from

mi->bank[0].size = (107 * 1024 * 1024);

To

mi->bank[0].size = (99 * 1024 * 1024);

I also made the following change (but I don't think it affects anything).

Line 280 in /arch/arm/mach-msm/pmem.c

Change from

pmem_setting.ram_console_size=0x2000;

To

pmem_setting.ram_console_size=0x20000;
OHHH YEAAA!! this is the kinda of news i love to see when i come on here great work mehn ..going to test right now!!!
Reply With Quote
  #270 (permalink)  
Old 10-20-2010, 07:35 PM
[ACL]'s Avatar
VIP Member
Offline
Pocket PC: tp2
Carrier: Sprint
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: NAND Boot Testing - Keyboard Mapping Fixed, HW3D, and Battery Algo Update

Quote:
Originally Posted by natemcnutty View Post
Actually, I'm pretty sure someone already fixed it in linux-msm. I had done a full file comparison when the problem first started happening, and that wasn't there back then. What's odd is the change is listed here:

Commit in linux-msm in Linux on Qualcomm's MSM - Gitorious

Bummer to hear about your nand. I wonder if you've worn out some of the flash on the internal nand. When using a WM ROM, does it have a way of getting wear leveling information that maybe the tinboot isn't doing?

As for compiling, with those changes I have no issues, and boot is crazy fast! I have uploaded it to the first post and cleaned up the post as well.

Edit: Also, I noticed there was some new commits to the RootFS, so I've updated the modified rootfs to include those changes and uploaded that to the first page as well
yeah i spoke to bzo. He pointed out my patch was broken on nand. I dont know how i missed it for so long. I wonder now dirty my working tree at home is since i have to commit to both all the time.. lol..
Reply With Quote
Reply

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


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 06:52 PM.


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