|
||||
Re: NAND Boot Testing - 01-07: Panel power on/off fixes
Quote:
I am using the bootenv we ported from the Vogue. I can boot into the installer, it formats and extracts the androidinstaller.tar file. It doesn't matter if I pack the modules into the system tar or if I use the androidupdate.tar option, I run out of space and it fails to finish. So I'm stuck where it says I need the modules at this point. I think I need to add more space on tinboot... |
|
||||
Re: NAND Boot Testing - 01-07: Panel power on/off fixes
Quote:
I'm still just using ACL's system and going to test out adding the modules during the update. But not too sure how it is going to work, because it all goes to the same spot... So we might have to add more space. EDIT: Guess what.... I ran out of space... Last edited by Lmiller1708; 02-05-2011 at 11:54 PM. |
|
||||
Re: NAND Boot Testing - 01-07: Panel power on/off fixes
Attached is the Log from tonight. (Had to zip it)
Same issues as before... Couple of them should be easy to solve. But currently the modules are not getting added. I'm going to strip down the system as much as possible to save ~15 MB. Just to get it to load the modules and hopefully get a clean boot. I also attached my INIT from the initrd. I left most of the stuff from the Vogue in there... Just incase... Update: After some reading HERE, I decided to change my Command Line code to this: Code:
mtdparts=msm_nand:0x10000000@0x0(nand)ro,0x01500000@0x04000000(root),0x07BA0000@0x05500000(system),0x06f60000@0x0CFA0000(userdata) I also added the "ro" at the end of the nand partition, not too sure what this does but devices with similar mtdparts cmdline have this. Basically everything but the Vogue. Also I still can't get my System nor my Data to stick after a reboot. I thought it was just my Data but now it seems to be both. Reading back in the irc logs i see wozzer had this same issue. Might be something with the mtdparts cmdline. Last edited by Lmiller1708; 02-06-2011 at 02:41 AM. |
|
||||
Re: NAND Boot Testing - 01-07: Panel power on/off fixes
Quote:
This is how im installing android right now. Its ugly, but it works. Bash | #!/bin/sh fail() { echo "Failed" echo - Install-seq The initrd gives you the option to run your own installer if you dont want to use the volume up option. It looks for a file called install-seq.sh in the andboot folder. The pastebin above is what im using for that file. Its simple, it mounts data and sys and just untars the goodies. Also i have all the modules in androidupdate.tgz because originally i was going to untar them directly onto the system. Then i realised we would run out of space. So for now i'm dumping them to /data and then later we could mount bind it. However we should extended the /system a bit so we do have room for the modules directly in there. Once this file is executed, the initrd renames it so it does not run the next time. I'm still missing the rest where we need to do the keyboard mapping and the other nastyness but sounds like you got that all done so now we jsut need to merge the work. Also the sysinit.rc in xdandroid automounts the partitions so we may need to comment that out. otherwise we may need to unmount it and let android remount it. This is what may be happening with lmiller Look for these lines and you will see what i mean . mount yaffs2 mtd@system /system mount yaffs2 mtd@system /system ro remount There are other so i guess a little experimenting will help.
__________________
|
|
||||
Re: NAND Boot Testing - 01-07: Panel power on/off fixes
Quote:
Edit: oops so it only happens after reboot? ok thats something else then. odd.. you may need to check the dmesg to see if there are errors writing to nand. Or go over your script and make sure you arent reinstalling each time.. you could be rewiping nand also how did you handle the directory structure for the rootfs. Your init looks like it just bypassed the whole thing. did you just merge it with the initrd? Last edited by [ACL]; 02-06-2011 at 03:12 AM. |
|
||||
Re: NAND Boot Testing - 01-07: Panel power on/off fixes
Quote:
I do have those line commented out in the init. Attached is my dmesg after a reboot. It looks like my cmdline is getting reset and losing the mtdparts? |
|
||||
Re: NAND Boot Testing - 01-07: Panel power on/off fixes
Quote:
I need to re-create this issue. So you are 100% sure you arent rewiping tour nand right? |
This post has been thanked 1 times. |
|
||||
Re: NAND Boot Testing - 01-07: Panel power on/off fixes
Quote:
I didn't think he had the correct drivers... But you never know sometimes. Yes I 100% sure. It seems to change the cmdline all together to what you see? Very weird! Does it only get read from the tinboot once? |
|
||||
Re: NAND Boot Testing - 01-07: Panel power on/off fixes
Quote:
nope.. reads it all the time.. think about it. our cmd line gets passed down each time we reboot. |
|
|
|