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
  #1171 (permalink)  
Old 02-10-2011, 11:19 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
Cant boot. Moving the imgfs to tinboot put a size restriction on us. Vogue had the same issue so they had to implement lzma compression on the kernel (which we dont have). I can port it over tonight, for now i just need to know if we can shrink down the initrd.gz to around 1.1mb. Harder than i thought. I erased the sbin , modem stuff and logo and still to big. May need to wipe a few symlinks too?

This line is the one causing issues when trying to make the xip with the gz file.

.org XIP_END-0x20000,0xff

The only good news here is that i didnt brick myself with the partition table.
About the symlinks did you see my post above? Not sure we are packing the lmza file correctly... Look at the Vogue's structure. But I'm not sure what we could be doing different?? If you get a min, try to just add the Vogue's lmza and see if that boots, we should have that already.

Quote:
Originally Posted by [ACL] View Post
This is what im using
Code:
cp $DIRECTORY/tools/rhod_payload os.nb.payload
echo Inserting tinboot into payload
cat xip/$1 >> os.nb.payload
echo Creating os.nb portion of nbh
tools/nbmerge < os.nb.payload > OS-new.nb
echo Creating NBH
wine tools/yang.exe -F ruu_signed.NBH -f OS-new.nb -t 0x400 -s 64 -d RHOD****0 -c 11111111 -v Tinboot -l WWE >> $DIRECTORY/tools/log

rm os.nb.payload
rm OS-new.nb
in tinboot change these lines

-.equ XIP_END, 0x0100000
+.equ XIP_END, 0x2ff000

and add to the bottom (i think you alreayd had that)
+ .org XIP_END-0x20000,0xff
+ .incbin "tools/emptyimgfs"

Thanks I will give it a try in a bit... Need to get to work for a bit.
__________________
Reply With Quote
This post has been thanked 1 times.
  #1172 (permalink)  
Old 02-10-2011, 12:37 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
About the symlinks did you see my post above? Not sure we are packing the lmza file correctly... Look at the Vogue's structure. But I'm not sure what we could be doing different?? If you get a min, try to just add the Vogue's lmza and see if that boots, we should have that already.


Thanks I will give it a try in a bit... Need to get to work for a bit.
We are packing it just fine its just that our kernel has no code to actually unpack it. Its just missing and needs to be written. Very few kernels have this actually cuz i looked into it. I'll handle this part so dont worry about it. I'm just wondering if we can strip down the gz more just to test until then.
__________________
Reply With Quote
This post has been thanked 2 times.
  #1173 (permalink)  
Old 02-10-2011, 01:10 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
We are packing it just fine its just that our kernel has no code to actually unpack it. Its just missing and needs to be written. Very few kernels have this actually cuz i looked into it. I'll handle this part so dont worry about it. I'm just wondering if we can strip down the gz more just to test until then.
Ok sounds good.

What if we change the size of this:
.equ XIP_END, 0x2ff000 = 3.14 MB
.equ XIP_END, 0xXXXXX = xxx MB Or the size of our kernel.

Not too sure what that would do Allow for a larger file?
Reply With Quote
This post has been thanked 1 times.
  #1174 (permalink)  
Old 02-10-2011, 01:24 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 odz View Post
For testing purposes why don't u remove everything and just leave the kernel with a few modules and instead of booting into a shell.... why don't you just have it print "Success" or something along those lines...
but we can already do that? what will that accomplish ? Whole goal is to make sure android doesnt get erased from nand.

edit: sorry i guess i misunderstood your post.. i mean is that i tried that test already

Last edited by [ACL]; 02-10-2011 at 01:31 PM.
Reply With Quote
  #1175 (permalink)  
Old 02-10-2011, 01:49 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 odz View Post
Ok, so what about making a simple kernel module that will write random stuff to a file and check see if the file(s) are still there after a reboot? At least this way you wont be limited by size and there would be alot less variables when it doesn't work.
you arent making any sense. sorry .. this has nothing to do with the kernel .. or modules .. or anything related to that.
Reply With Quote
  #1176 (permalink)  
Old 02-10-2011, 03:37 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

ACL, I was looking into busybox, and I think the version we are using is not only out-dated, it is much larger than the newer versions. There are several arm flavors, and I'm not sure which one we need.

They have armv4eb, armv4l, armv4tl, armv5l, and armv6l. The mips versions are around the same size as the one we are using, but all the arm versions are 1 MB or less
Reply With Quote
  #1177 (permalink)  
Old 02-10-2011, 04:08 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 - 01-07: Panel power on/off fixes

Quote:
Originally Posted by natemcnutty View Post
ACL, I was looking into busybox, and I think the version we are using is not only out-dated, it is much larger than the newer versions. There are several arm flavors, and I'm not sure which one we need.

They have armv4eb, armv4l, armv4tl, armv5l, and armv6l. The mips versions are around the same size as the one we are using, but all the arm versions are 1 MB or less
I would assume armv6 as that is what our arch supports...
Reply With Quote
  #1178 (permalink)  
Old 02-10-2011, 04:13 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
ACL, I was looking into busybox, and I think the version we are using is not only out-dated, it is much larger than the newer versions. There are several arm flavors, and I'm not sure which one we need.

They have armv4eb, armv4l, armv4tl, armv5l, and armv6l. The mips versions are around the same size as the one we are using, but all the arm versions are 1 MB or less
hmm.. well i know dzo made changes to the source to deploy to his boot env. So that would explain why its larger. Not sure of the specifics tho..

Only thing we really need is the ability to flash_erase to format the partition. aside from that i think any old busybox will work. I would have left the original busybox but how else can we format?
Reply With Quote
  #1179 (permalink)  
Old 02-10-2011, 09:13 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
Ok sounds good.

What if we change the size of this:
.equ XIP_END, 0x2ff000 = 3.14 MB
.equ XIP_END, 0xXXXXX = xxx MB Or the size of our kernel.

Not too sure what that would do Allow for a larger file?
in theory i guess. I'm just unsure of how much more we can allocate. test it?
Reply With Quote
  #1180 (permalink)  
Old 02-10-2011, 10:23 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
in theory i guess. I'm just unsure of how much more we can allocate. test it?
Yup I did test it.... but it was still a no go. I haven't been able to make aa good bootable build all day.

I wasn't able to get ahold of JooJoBee666 today so hopefully tomorrow he willbe able to help.
Reply With Quote
This post has been thanked 1 times.
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 09:04 AM.


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