> *How do i use the images ramdisk.img,system.img,userdata.img to boot android > through _NFS_*_.
For NFS Boot, boot args should be some thing like this: root=/dev/nfs rw nfsroot=<ip address>:<android root filesysetm path> ip=dhcp init=/init console=ttyS2, 115200n8 noinitrd Make sure that you have exported your NFS server in /etc/exports, as below: #sudo vim /etc/exports Add the belwo line in this file: android root filesysetm path *(rw,no_root_squash,sync,no_subtree_check) And it would be good to restart your NFS server doing the following: sudo /etc/init.d/nfs-kernel-server restart sudo exportfs -a --- But why you want to boot from nfs, as you have the patched linux kernel for android. It should have the required yaffs patches, if your board supports NAND, then you can boot from it. Instead if the board supports, you can copy your system and root directories into your SD card (ext2 or ext3 partition), and boot from it. For this, you need to mount the /system, /data, /cache with ext2 or ext3 in init.rc, and build before copying the images to the card. Regards, Srikant On Thu, Jul 29, 2010 at 11:52 AM, padmapriyak <padmapri...@tataelxsi.co.in> wrote: > Hi all, > > I compiled st linux (android patch )kernel for sh4 architecture ( ST7109 ) > and got uImage. > Also I compiled android sdk for sh4 architecture and got three images > ramdisk.img,system.img,userdata.img. > > I have the board up and running with my u-boot and St linux2.4 (patched for > android) and nfs filesystem from STLinux2.4. > *How do i use the images ramdisk.img,system.img,userdata.img to boot android > through _NFS_*_. > _kindly explain with the steps .*_ > _ > *Regards, > Padma Priya.K > > > > > Srikant wrote: >>> >>> 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. >>> >> >> See a sample NAND MTD partition table from the kernel logs: >> Creating 7 MTD partitions on "NAND 256MiB 3,3V 8-bit": >> 0x0000000c0000-0x000000100000 : "misc" >> 0x000000100000-0x000000600000 : "recovery" >> 0x000000600000-0x000000900000 : "kernel" >> 0x000000900000-0x000000a00000 : "ramdisk" >> 0x000000a00000-0x000004d00000 : "system" >> 0x000004d00000-0x000009000000 : "cache" >> 0x000009000000-0x000010000000 : "userdata" >> >> Flash your images starting at the below addresses as per the above >> partitions. >> 0x0900_0000 ramdisk-uboot.img >> 0x0A00_0000 system.img >> 0x9000_0000 userdata.img >> >> >>> >>> 2)What should be the configuration for the bootargs if any. >>> >> >> bootargs should be something like this: >> init=/linuxrc console=ttySAC1,115200 >> >> bootcmd should be some thing like this: >> nand read c0008000 600000 400000; nand read 20800000 900000 100000; >> bootm c0008000 20800000 >> >> Regards, >> Srikant >> >> On Jul 28, 5:33 pm, Ranganath s <rangana...@gmail.com> wrote: >> >>> >>> HI Ashwin, >>> >>> I have my MTD ready, i have my u-boot set 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 <abih...@gmail.com> wrote: >>> >>>> >>>> Those .img files are YAFFS2 files, so you'd partition your NAND (or >>>> other Flash) and use U-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 <rangana...@gmail.com> >>>> wrote: >>>> >>>>> >>>>> Hi all , >>>>> I need help in porting Android (eclairs) to one of my Arm >>>>> boards. >>>>> >>>> >>>> I >>>> >>>>> >>>>> have U-Boot set 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: >>>>> android-porting+unsubscr...@googlegroups.com<android-porting%2bunsubscr...@googlegroups.com> >>>>> website:http://groups.google.com/group/android-porting >>>>> >>> >>> -- >>> I blog athttp://ranganaths.wordpress.com- Hide quoted text - >>> >>> - Show quoted text - >>> >> >> > > > -- unsubscribe: android-porting+unsubscr...@googlegroups.com website: http://groups.google.com/group/android-porting