View Single Post
  #1065 (permalink)  
Old 02-06-2011, 02:40 AM
[ACL]'s Avatar
[ACL]
VIP Member
Offline
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, I think I have all the modifications done that we need, but I can't build the initrd properly. The sbin folder has the same issue as the bin folder, and when I try to recreate all of the links, the tinboot process tells me that it couldn't find readkey and various other programs.

LZMA sees all of the files as identical so it only stores one copy, but I still think that it would expand to run and take up an insane amount of memory. In any case, I have attached a list of changes that I made in case it helps anyone. I just need to merge that into a working initrd and compile.

Edit: I'm an idiot... Everything is linked to busybox, not /bin/busybox :P
I wiped the sbin folder except for adbd but thats already in bin so im not even sure if we need it. i dont know yet.

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.
__________________
Reply With Quote