View Single Post
Old 10-28-2011, 03:33 AM   #33
perldude69
Fun-ologist
perldude69 began at the beginning.
 
Posts: 41
Karma: 10
Join Date: Oct 2011
Device: Pocket Edge, Galaxy S
Looking through the update.zip, I see all the files we need. We have the filesystem image (ramdisk.android.gz.crc), the zimage and the uboot image. It should just be a matter of rewriting the NAND.
I stayed up late again last night and learned a lot.
The command to tftp a file from your tftpserver:
tftp 0x7D00000 ramdisk.android.gz.crc

This writes the file to DRAM starting at the 128 MB address.

To write the image to the PE NAND:

nand write 0x7D00000 0x1200000 C0000

0x7D00000 is the starting address of ramdisk.android.gz.crc

C0000 is the size of the data chunk to write to NAND.

This worked, but was not successful. I think I need to do something differednt with C0000. This should be the file size rounded up to the nearest 512 byte chunk.....

Hopefully I will have time to work more on it tonight. I will also get that howto online for setting up a TFTP server via Ubuntu.

-- Jim

Last edited by perldude69; 10-28-2011 at 03:37 AM. Reason: Forgot some stuff.....
perldude69 is offline   Reply With Quote