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
  #951 (permalink)  
Old 01-27-2011, 11:55 AM
Lmiller1708's Avatar
Flashaholic!
Offline
Pocket PC: Vogue->(TP2/Incredible 2/ThunderBolt)
Carrier: Verizon
Location: La Crosse, WI
 
Join Date: Aug 2008
Posts: 873
Reputation: 2160
Lmiller1708 is a VIPLmiller1708 is a VIPLmiller1708 is a VIPLmiller1708 is a VIPLmiller1708 is a VIPLmiller1708 is a VIPLmiller1708 is a VIPLmiller1708 is a VIPLmiller1708 is a VIPLmiller1708 is a VIPLmiller1708 is a VIP
Mentioned: 0 Post(s)
Tagged: 0 Thread(s)
Re: NAND Boot Testing - 01-07: Panel power on/off fixes

Quote:
Originally Posted by [ACL] View Post
Loading wozzers last info about the partition info on cmd line i see this on /proc/mtd

dev: size erasesize name
mtd0: 10000000 00020000 "nand"
mtd1: 01500000 00020000 "root"
mtd2: 066c0000 00020000 "system"
mtd3: 06f60000 00020000 "userdata"

However i dont see any /dev/mtd so maybe we arent even compiling this crap in.


That's the problem I was running into, but didn't know how to compile them or even check to see if they were getting complied.

You might want to look at the Vogue for more information about MTD, I know they have updated a lot of stuff since we copied the files from them. (Assuming that's how we got started)

I really like the setup the Vogue community used for updating there NAND. If we
do decide to go that route our initramfs will need a total rewriting, but we should be able to copy what they have done!

Wish I had more time to help with this... But work comes first.
__________________
Reply With Quote
This post has been thanked 2 times.
  #952 (permalink)  
Old 01-27-2011, 12:33 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 - 01-07: Panel power on/off fixes

Quote:
Originally Posted by Lmiller1708 View Post
That's the problem I was running into, but didn't know how to compile them or even check to see if they were getting complied.

You might want to look at the Vogue for more information about MTD, I know they have updated a lot of stuff since we copied the files from them. (Assuming that's how we got started)

I really like the setup the Vogue community used for updating there NAND. If we [/SIZE]do decide to go that route our initramfs will need a total rewriting, but we should be able to copy what they have done!

Wish I had more time to help with this... But work comes first.
I need to double check the defconfig to see if we have evetything neded for this. i havent tried actually putting stuff in there, but we should be able to see the mtd in the /dev directory. Right now i dont.

I had a chat with cotulla about it. Looks like there is a lot to do still to get it to work. i'm confused about how wince does things vs native devices. alot of reading to do.
__________________

Last edited by [ACL]; 01-27-2011 at 01:37 PM.
Reply With Quote
This post has been thanked 3 times.
  #953 (permalink)  
Old 01-27-2011, 03:59 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 - 01-07: Panel power on/off fixes

Quote:
Originally Posted by [ACL] View Post
Loading wozzers last info about the partition info on cmd line i see this on /proc/mtd

dev: size erasesize name
mtd0: 10000000 00020000 "nand"
mtd1: 01500000 00020000 "root"
mtd2: 066c0000 00020000 "system"
mtd3: 06f60000 00020000 "userdata"

However i dont see any /dev/mtd so maybe we arent even compiling this crap in.
Well, maurice.green had something going here: http://forum.ppcgeeks.com/tp2-androi...ml#post2020361

Also, I have attached my dumps of several ROM's as far as partitions go. Finally, I know others reference mtd through cmdline like this:
mtdparts=msm_nand:0x00300000@0x1600000(boot),0x000 40000@0x01900000(root),0x066C0000@0x01940000(syste m),0x08000000@0x08000000(userdata)
Attached Files
File Type: zip ROM Dumps.zip (6.4 KB, 4 views) Click for barcode!
Reply With Quote
This post has been thanked 1 times.
  #954 (permalink)  
Old 01-27-2011, 04:26 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 - 01-07: Panel power on/off fixes

Quote:
Originally Posted by natemcnutty View Post
Well, maurice.green had something going here: http://forum.ppcgeeks.com/tp2-androi...ml#post2020361

Also, I have attached my dumps of several ROM's as far as partitions go. Finally, I know others reference mtd through cmdline like this:
mtdparts=msm_nand:0x00300000@0x1600000(boot),0x000 40000@0x01900000(root),0x066C0000@0x01940000(syste m),0x08000000@0x08000000(userdata)
Yeah i was using wozzers line but thats different than what you posted. Where did u get that ?

mtdparts=msm_nand:0x10000000@0x0(nand),0x01500000@ 0x04000000(root),0x066C0000@0x05540000(system),0x0 6f60000@0x0Bc00000(userdata)

However one thing no one knows is if ous msm_nand.c is actually working. We cna pass all these params down to the kernel but if they arent showing up on linux, then something might be wrong with the driver.

Cotulla recommended we try to flash to the last portion of the partition. This way we dont kill anything important. Makes sense but i dont know enough about the partitioning to do that.
Reply With Quote
This post has been thanked 2 times.
  #955 (permalink)  
Old 01-27-2011, 04:32 PM
Lmiller1708's Avatar
Flashaholic!
Offline
Pocket PC: Vogue->(TP2/Incredible 2/ThunderBolt)
Carrier: Verizon
Location: La Crosse, WI
 
Join Date: Aug 2008
Posts: 873
Reputation: 2160
Lmiller1708 is a VIPLmiller1708 is a VIPLmiller1708 is a VIPLmiller1708 is a VIPLmiller1708 is a VIPLmiller1708 is a VIPLmiller1708 is a VIPLmiller1708 is a VIPLmiller1708 is a VIPLmiller1708 is a VIPLmiller1708 is a VIP
Mentioned: 0 Post(s)
Tagged: 0 Thread(s)
Re: NAND Boot Testing - 01-07: Panel power on/off fixes

Quote:
Originally Posted by [ACL] View Post
Yeah i was using wozzers line but thats different than what you posted. Where did u get that ?

mtdparts=msm_nand:0x10000000@0x0(nand),0x01500000@ 0x04000000(root),0x066C0000@0x05540000(system),0x0 6f60000@0x0Bc00000(userdata)

However one thing no one knows is if ous msm_nand.c is actually working. We cna pass all these params down to the kernel but if they arent showing up on linux, then something might be wrong with the driver.

Cotulla recommended we try to flash to the last portion of the partition. This way we dont kill anything important. Makes sense but i dont know enough about the partitioning to do that.
Can just compile the msm_nand.c and add it to the NAND manually without the flash?
Not too sure we have to mess around with the mtdparts until we get the drivers working correctly.
Reply With Quote
  #956 (permalink)  
Old 01-27-2011, 04:36 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 - 01-07: Panel power on/off fixes

Quote:
Originally Posted by Lmiller1708 View Post
Can just compile the msm_nand.c and add it to the NAND manually without the flash?
Not too sure we have to mess around with the mtdparts until we get the drivers working correctly.
how will we know if its working right without passing mtd parts? we have to pass it right or else we wont be able to tell if its actually visible.

thoughts ?
Reply With Quote
This post has been thanked 2 times.
  #957 (permalink)  
Old 01-27-2011, 04:39 PM
Lmiller1708's Avatar
Flashaholic!
Offline
Pocket PC: Vogue->(TP2/Incredible 2/ThunderBolt)
Carrier: Verizon
Location: La Crosse, WI
 
Join Date: Aug 2008
Posts: 873
Reputation: 2160
Lmiller1708 is a VIPLmiller1708 is a VIPLmiller1708 is a VIPLmiller1708 is a VIPLmiller1708 is a VIPLmiller1708 is a VIPLmiller1708 is a VIPLmiller1708 is a VIPLmiller1708 is a VIPLmiller1708 is a VIPLmiller1708 is a VIP
Mentioned: 0 Post(s)
Tagged: 0 Thread(s)
Re: NAND Boot Testing - 01-07: Panel power on/off fixes

Quote:
Originally Posted by [ACL] View Post
how will we know if its working right without passing mtd parts? we have to pass it right or else we wont be able to tell if its actually visible.

thoughts ?
Let me restate... We still need the mtdparts in the cmd line, But I'm not sure the values will matter that much (currently). They can always be changed later. Just my thoughts.
Reply With Quote
This post has been thanked 2 times.
  #958 (permalink)  
Old 01-27-2011, 05:17 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 - 01-07: Panel power on/off fixes

Quote:
Originally Posted by Lmiller1708 View Post
Let me restate... We still need the mtdparts in the cmd line, But I'm not sure the values will matter that much (currently). They can always be changed later. Just my thoughts.
The mtdparts is important since we can overwrite and brick .. i dont want to brick myself :-p .. I double checked with wozzer about his values

Those values I used for mtd parts were far enough in that it couldn't overwrite the radio and hspl.

As a backup, you will probably want to do a hard reset, flash the os.nb (android) then take a full MTD backup of nand.


There you have it folks.. more reading to do
Reply With Quote
This post has been thanked 2 times.
  #959 (permalink)  
Old 01-28-2011, 01:11 AM
[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 - 01-07: Panel power on/off fixes

ok so i finally see the /dev/mtd . Damn rootfs didnt call my modprobe like expected.

Now i was trying to dump stuff but lot of weird errors on dmesg

[ 351.681854] msm_nand_read_oob 31a1000 1000 0 failed -74, corrected 0
[ 351.683624] msm_nand_read_oob 31a2000 1000 0 failed -74, corrected 0
[ 351.685424] msm_nand_read_oob 31a3000 1000 0 failed -74, corrected 0
[ 351.687225] msm_nand_read_oob 31a4000 1000 0 failed -74, corrected 0
[ 351.689331] msm_nand_read_oob 31a5000 1000 0 failed -74, corrected 0

i dont have the balls to attempt a write yet. but if read fails i doubt write will be any better.
Reply With Quote
This post has been thanked 2 times.
  #960 (permalink)  
Old 01-28-2011, 05:09 AM
guruvince's Avatar
N00b
Offline
Pocket PC: Rhodium 400
Carrier: sprint
Location: waikiki, Hawaii
 
Join Date: Nov 2008
Posts: 44
Reputation: 35
guruvince is just getting started
Mentioned: 0 Post(s)
Tagged: 0 Thread(s)
Re: NAND Boot Testing - 01-07: Panel power on/off fixes

Do it!
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 01:52 AM.


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