PPCGeeks

PPCGeeks (http://forum.ppcgeeks.com/index.php)
-   Android On TP2 Development (http://forum.ppcgeeks.com/forumdisplay.php?f=319)
-   -   NAND Testing - 05-25 Update: New LK, Recovery.img, Kernel Updates through Recovery (http://forum.ppcgeeks.com/showthread.php?t=134598)

MassStash 02-17-2011 12:27 PM

Same here, work til 4:45, then its time to try n make a working nbh. Kept getting stuck at first splash screen last night...

frx04 1258

arrrghhh 02-17-2011 08:16 PM

Re: NAND Boot Testing - 01-07: Panel power on/off fixes
 
Hrm. Just tried this full flash for the first time, I probably missed 15 steps...

Seems the can't see /dev/mtd at all, fails to wipe it and fails to do basically anything else...

I'll retrace my steps, but unfortunately the directions are all over the place, so I'm not really sure if I am doing this correctly or not...

"flash_eraseall: can't open '/dev/mtd/mtd2': no such device" After that, lots of other errors obviously. What am I missing? Thanks guys!

Lmiller1708 02-17-2011 08:23 PM

Wirelessly posted (Vogue: Mozilla/5.0 (Linux; U; Android 2.2.1; en-us; MSM Build/FRX03) AppleWebKit/533.1 (KHTML, like Gecko) Version/4.0 Mobile Safari/533.1)

Quote:

Originally Posted by arrrghhh
Hrm. Just tried this full flash for the first time, I probably missed 15 steps...

Seems the can't see /dev/mtd at all, fails to wipe it and fails to do basically anything else...

I'll retrace my steps, but unfortunately the directions are all over the place, so I'm not really sure if I am doing this correctly or not...

Check out the how to compile thread by Nate. Maybe that will help and also make sure you have updated.

arrrghhh 02-17-2011 08:27 PM

Re: NAND Boot Testing - 01-07: Panel power on/off fixes
 
Quote:

Originally Posted by Lmiller1708 (Post 2057642)
Check out the how to compile thread by Nate. Maybe that will help and also make sure you have updated.

Yup, I followed that thread as closely as I could, in combo with ACL's directions... Not sure what I'm missing, everything appears to be correct... But obviously it's not :p.

I'll try to retrace my steps.

Heh, started writing what I did and I think I see my mistake...

Well I did find a mistake I made, but now this isn't making sense...
Quote:

Originally Posted by natemcutty
We are now ready to compile. Open Terminal, browse to the tinboot folder, and run "sh buildxip.sh rhod500" (or whatever variant you have).

^^ I don't have a buildxip.sh, but there is a makexip.sh. Just fails, says it can't find "arm-eabi-as" and "arm-eabi-objcopy". It's entirely possible I'm overlooking something else, but it seems either that guide doesn't apply now, or I'm really missing something. Thanks!

[ACL] 02-17-2011 09:09 PM

Re: NAND Boot Testing - 01-07: Panel power on/off fixes
 
Quote:

Originally Posted by arrrghhh (Post 2057639)
Hrm. Just tried this full flash for the first time, I probably missed 15 steps...

Seems the can't see /dev/mtd at all, fails to wipe it and fails to do basically anything else...

I'll retrace my steps, but unfortunately the directions are all over the place, so I'm not really sure if I am doing this correctly or not...

"flash_eraseall: can't open '/dev/mtd/mtd2': no such device" After that, lots of other errors obviously. What am I missing? Thanks guys!

Sounds like you have an old inird or your kernel is outdated.

Download the binary initrd.gz from boot env and try again :-)

arrrghhh 02-17-2011 09:16 PM

Re: NAND Boot Testing - 01-07: Panel power on/off fixes
 
Quote:

Originally Posted by [ACL] (Post 2057674)
Sounds like you have an old inird or your kernel is outdated.

Download the binary initrd.gz from boot env and try again :-)

Hrm. Alrighty... I'm leaning towards kernel outdated, as I grabbed the initrd.gz from the bootenv fresh. Thanks.

natemcnutty 02-17-2011 10:52 PM

Re: NAND Boot Testing - 01-07: Panel power on/off fixes
 
Quote:

Originally Posted by arrrghhh (Post 2057644)
Yup, I followed that thread as closely as I could, in combo with ACL's directions... Not sure what I'm missing, everything appears to be correct... But obviously it's not :p.

I'll try to retrace my steps.

Heh, started writing what I did and I think I see my mistake...

Well I did find a mistake I made, but now this isn't making sense... ^^ I don't have a buildxip.sh, but there is a makexip.sh. Just fails, says it can't find "arm-eabi-as" and "arm-eabi-objcopy". It's entirely possible I'm overlooking something else, but it seems either that guide doesn't apply now, or I'm really missing something. Thanks!

Actually, those directions are quite old, and I had to totally rewrite my script to get it to compile Tinboot. The scripts will NOT work directly off Tinboot. I haven't really talked to ACL about it, but this is what led to my bad flash yesterday. For example, look at this code and note OS-new.nb

Code:

tools/nbmerge < os-new.nb.payload > os-new.nb
echo Creating NBH
wine tools/yang.exe -F ruu_signed.NBH -f OS-new.nb

Give me an hour for build time and some testing, and I'll try to post a working tinboot with the androidupdate.tar file. Haven't tried another tinboot today, but the phone is definitely not bricked :)

natemcnutty 02-18-2011 12:37 AM

Re: NAND Boot Testing - 01-07: Panel power on/off fixes
 
So, I went to an old tinboot from before we made all the changes, and that is working perfectly for me. I think the new partition table is what is messing up on my phone. I'm going to play around with this some more to see if I can figure out what the deal is.

That being said, I am absolutely impressed in what I can do to this phone without bricking it... I've flashed the vogue's tinboot with our initrd.gz but leaving their partition table and emptyimgfs. It didn't work for me, but it didn't brick me either. I even flashed cLK from the HD2 which did would not boot for me either. And even after all of that, I can still flash WinMo and Tinboot from the sd card...!

Edit: After further investigation, it is the new rhod_layout that does not work for me. Once I switch rhod_layout with os.nb.payload, it boots right up. Unfortunately, it fails right after it finds the sd card as if it can't read the NAND or something. I'm gonna give up on this for now and re-create my dev environment later. Trying to copy all these files back and forth with the sd card is really draining...

Lmiller1708 02-18-2011 08:30 AM

Re: NAND Boot Testing - 01-07: Panel power on/off fixes
 
1 Attachment(s)
Nate You "How To" post needs to be updated.
First the FullBuild file needs to be changed to what I have attached.

@ALL


The Tinboot.s Has changed so you only need to add rhod and not rhod500... (arrrghhh this is your problem) Nate I think the NBH file yesterday was this way, sorry I didn't catch that. ;) So it should be "Fullbuild.sh rhod"

If you want to Just build the NBH use my BuildNBH.sh attached here.
Make sure you are running these scripts out of your ~/android folder.
"sh BuildNBH.sh rhod" This is assuming you already have the zimage complied....

Sorry for the confusion and delay. Think we were so excited to push this out we forgot to fix the scripts.

I should be on IRC htc-linux most of the day so if you need some help with this just ping me. "L_miller"


Both scripts tested and working fine. :)

EDIT: Make sure your tinboot-linux-msm\Kernal contains the initrd.gz and zImage files.

arrrghhh 02-18-2011 09:37 AM

Re: NAND Boot Testing - 01-07: Panel power on/off fixes
 
Nice! Thanks for the updates guys, I figured there was something I was missing ;).

Not sure if I'll be able to play with this at work, but if I have any downtime I certainly will. Thanks again!


All times are GMT -4. The time now is 06:38 PM.

Powered by vBulletin® ©2000 - 2025, Jelsoft Enterprises Ltd.
©2012 - PPCGeeks.com


Content Relevant URLs by vBSEO 3.6.0