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
  #1 (permalink)  
Old 02-15-2011, 07:45 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'm custom building a busybox for us, and I've already compiled a flash_erase from the latest mtd utils. I currently have the initrd.gz at 1.1 MB, but I think I can shave quite a bit off if I remove some of the unnecessary stuff from busybox.

Here's what I need to know. Do we only need the commands that are used in initrd.gz and init.rc to be referenced to busybox, or do we need all of the commands that are in the /bin folder for initrd? There are quite a few commands in there that we do not use, and I'm wondering if I need to keep them, or if I can just add them in the future if we need them.

Once finished cleaning that up, I think we can get initrd.gz under 1 MB. I also think we can clear up another 3 MB of space by shifting the partition table, but I'll play with that later. Also, I'm still not sure why we are starting at an offset of 64MB for our partitions, and we can reclaim some of that space if we can find where it is safe to move it to. I'm trying to get us enough space in the system partition that we can accommodate the chefs while still having plenty of room for user date
Reply With Quote
This post has been thanked 2 times.
  #2 (permalink)  
Old 02-16-2011, 12:34 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

Quote:
Originally Posted by natemcnutty View Post
ACL, I'm custom building a busybox for us, and I've already compiled a flash_erase from the latest mtd utils. I currently have the initrd.gz at 1.1 MB, but I think I can shave quite a bit off if I remove some of the unnecessary stuff from busybox.

Here's what I need to know. Do we only need the commands that are used in initrd.gz and init.rc to be referenced to busybox, or do we need all of the commands that are in the /bin folder for initrd? There are quite a few commands in there that we do not use, and I'm wondering if I need to keep them, or if I can just add them in the future if we need them.

Once finished cleaning that up, I think we can get initrd.gz under 1 MB. I also think we can clear up another 3 MB of space by shifting the partition table, but I'll play with that later. Also, I'm still not sure why we are starting at an offset of 64MB for our partitions, and we can reclaim some of that space if we can find where it is safe to move it to. I'm trying to get us enough space in the system partition that we can accommodate the chefs while still having plenty of room for user date
Right now to get it to be small i removed e2fsck from the bin folder. This is because we dont check on ext2 partitions anymore so no need to have it there. That file alone is pretty big so im going to commit my change. This isnt part of busybox, but the vogue script supported ext2 img files which we dont, so it can be removed.

Well the system partition already has its own bin directory with all the goodies possible so the busybox for initrd should be the bare essentials to boot and run the install script. So i think we will be safe with a small busybox.. I think we should be good to test your busybox.

edit: oops.. not a bin directory but xbin is on system. Not sure if it has a full busy box in there..

Edit2: Also here is the latest install, update and install-seq

You are big boys so you can make your own NHB and harvest your own modules and apply it to the android update. Wifi is working for me but i cant test cdma data. I'll leave that up to you fellas.

http://htcdevs.wirelesstcp.net/files/xdandroid/
__________________

Last edited by [ACL]; 02-16-2011 at 11:49 AM.
Reply With Quote
  #3 (permalink)  
Old 02-16-2011, 12:03 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
Right now to get it to be small i removed e2fsck from the bin folder. This is because we dont check on ext2 partitions anymore so no need to have it there. That file alone is pretty big so im going to commit my change. This isnt part of busybox, but the vogue script supported ext2 img files which we dont, so it can be removed.

Well the system partition already has its own bin directory with all the goodies possible so the busybox for initrd should be the bare essentials to boot and run the install script. So i think we will be safe with a small busybox.. I think we should be good to test your busybox.

edit: oops.. not a bin directory but xbin is on system. Not sure if it has a full busy box in there..

Edit2: Also here is the latest install, update and install-seq

You are big boys so you can make your own NHB and harvest your own modules and apply it to the android update. Wifi is working for me but i cant test cdma data. I'll leave that up to you fellas.

Index of /files/xdandroid/

Thanks for the files. I tested them out this morning and I got it to boot but still have no service or data or WIFI, calibration works.
Here is the catlog you asked me to do yesterday:
I/PHONE ( 250): Network Mode set to 0 I/PHONE - Logcat Radio
Here is my log taken from Droid explorer: (From Boot)
02-16 12:50:19.180: DEBUG/AndroidRuntime(123): >>> - Nand_Bootup_Log

Hope this helps!
__________________
Reply With Quote
This post has been thanked 1 times.
  #4 (permalink)  
Old 02-16-2011, 12:21 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
Thanks for the files. I tested them out this morning and I got it to boot but still have no service or data or WIFI, calibration works.
Here is the catlog you asked me to do yesterday:
I/PHONE ( 250): Network Mode set to 0 I/PHONE - Logcat Radio
Here is my log taken from Droid explorer: (From Boot)
02-16 12:50:19.180: DEBUG/AndroidRuntime(123): >>> - Nand_Bootup_Log

Hope this helps!
No wifi !!! ? woa

ok, lets troubleshoot this.

Follow these steps.

1) check the sysinit.rc file on the bottom for the wpa supplicant service. Make sure it all ways eth0 and not tiwlan. This was my first mistake.

2) Make sure /etc/wifi has the correct wpa supplicant.conf that uses eth0 as the interface

3) Check that the correct interface is on the dhcpcd.conf file.. eth0

and last, when you try to enable wifi, check dmesg and logcat as they will let u know the reason why. But the above two should be checked.
Reply With Quote
  #5 (permalink)  
Old 02-16-2011, 01:58 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
No wifi !!! ? woa

ok, lets troubleshoot this.

Follow these steps.

1) check the sysinit.rc file on the bottom for the wpa supplicant service. Make sure it all ways eth0 and not tiwlan. This was my first mistake.

2) Make sure /etc/wifi has the correct wpa supplicant.conf that uses eth0 as the interface

3) Check that the correct interface is on the dhcpcd.conf file.. eth0

and last, when you try to enable wifi, check dmesg and logcat as they will let u know the reason why. But the above two should be checked.
I checked all of these values in the sys.tar and they were all tiwlan... But the Update.tar had all the correct ones. So I didn't make any changes since the update.tar comes second. Still a no go with WIFI. Data either... (Maybe they have something in common?)

My dmesg says wifi was loaded. This is what my dmesg says once I try turn on wifi:
Code:
[  129.991943] bcm4329: version magic '2.6.27.46-01238-ge739b29-dirty preempt mod_unload ARMv6 ' should be '2.6.27.46-01238-ge739b29 preempt mod_unload ARMv6 '
Reply With Quote
This post has been thanked 1 times.
  #6 (permalink)  
Old 02-16-2011, 02:00 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 Lmiller1708 View Post
My dmesg says wifi was loaded. This is what my dmesg says once I try turn on wifi:
Code:
[  129.991943] bcm4329: version magic '2.6.27.46-01238-ge739b29-dirty preempt mod_unload ARMv6 ' should be '2.6.27.46-01238-ge739b29 preempt mod_unload ARMv6 '
Would appear the kernel modules don't match the kernel... I'm certainly no expert on this topic tho .
Reply With Quote
This post has been thanked 1 times.
  #7 (permalink)  
Old 02-16-2011, 02:04 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 arrrghhh View Post
Would appear the kernel modules don't match the kernel... I'm certainly no expert on this topic tho .
ahh yes.. you need to update the android update with the modules from your kernel you build... they have to match..
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 05:00 PM.


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