Ashwin,

I appreciate if you can point me further

I successfully compiled u-boot.bin, uImage, system.img, ramdisk.img,
userdata.img for Marvell Littleton. And my MTD partitions look like
this
# cat /proc/mtd
# dev:    size   erasesize  name
# mtd0: 00100000 00020000 "Bootloader"
# mtd1: 00300000 00020000 "kernel"
# mtd2: 00300000 00020000 "recovery"
# mtd3: 00500000 00020000 "cramfs"
# mtd4: 04000000 00020000 "system"
# mtd5: 0a000000 00020000 "userdata"
# mtd6: 00100000 00020000 "cache"
# mtd7: 00080000 00020000 "BBT"

What does the mtd0 ("Bootloader") contain? I appreciate some pointers
of how to port the RFS through SD card or USB. I have successfully
connect my host (Linux-x86) with the target using adb.
Sorry for the repeating questions as I am a newbie. Thank you


On Jul 28, 9:26 pm, Ashwin Bihari <[email protected]> wrote:
> Ranganath,
>
> Follow the steps 
> here:http://www.omappedia.com/wiki/Building_Android_Filesystem#Creating_An...
>
> Bsically, you'd write the system, userdata and cache.img to the NAND.
> You'd take your Kernel and the ramdisk.img file and create a
> mulit-bootU-Bootimage..the init.rc, you'd add the "mount
> ya...@system, Userdata, Cache" lines so that the ramdisk will mount
> those NAND partitions and Android can start up..
>
> Regards
> -- Ashwin
>
> On Wed, Jul 28, 2010 at 8:33 AM, Ranganath s <[email protected]> wrote:
> > HI Ashwin,
> >  I have my MTD ready, i have myu-bootset up and running. So, its just that
> > i need to write these images to "Root" partition of my NAND ,1) now the
> > question is should i write all my RFS specific img's ie system.img,
> > userdata.img, ramdisk.img to the same "ROOT" partition or should it be in
> > different partition.
> > 2)What should be the configuration for the bootargs if any.
> > Thank you
> > Ranganath.S
>
> > On Wed, Jul 28, 2010 at 5:56 PM, Ashwin Bihari <[email protected]> wrote:
>
> >> Those .img files are YAFFS2 files, so you'd partition your NAND (or
> >> other Flash) and useU-Boot'nand.yaffs2 write' or something to write
> >> those images to the Flash. In the Kernel you'd need to ensure that
> >> you've used MTD to create the partitions that match the areas of flash
> >> you've chosen for these images..
>
> >> Regards
> >> -- Ashwin
>
> >> On Wed, Jul 28, 2010 at 3:58 AM, Ranganath s <[email protected]> wrote:
> >> > Hi all ,
>
> >> >        I need help in porting Android (eclairs) to one of my Arm boards.
> >> > I
> >> > haveU-Bootset and i also have kernel flashed. Now I am stuck with
> >> > setting
> >> > up the RFS. I have system.img ,userdata.img , ramdisk.img. Can some one
> >> > help
> >> > me or point any resource so that i can understand how to flash these
> >> > images
> >> > on my dev board.
>
> >> > Thank you,
> >> > Ranganath.S
>
> >> > --
> >> > I blog athttp://ranganaths.wordpress.com
>
> >> > --
> >> > unsubscribe: [email protected]
> >> > website:http://groups.google.com/group/android-porting
>
> > --
> > I blog athttp://ranganaths.wordpress.com

-- 
unsubscribe: [email protected]
website: http://groups.google.com/group/android-porting

Reply via email to