creation of yaffs2 file system as rootfs

Alexander Reddy Vatti
Hello All

Anyone can explain how to creat yaffs2 file system for mini2440(3.5"lcd).

128 MB Nand Flash.

i want to use yassf2 file system as rootfs.

Please suggest me some reference/source to know about yassf2 clearly.

Yayati Ekbote
The DVD which comes with the friendly arm kit contains files. If u have
done the set up then just do these...

#tar xvzf mkyaffs2image.tar.gz
#cp mkyaffs2image /usr/bin

(Restart the machine)

the the file system for target platform will be created which can be
simulated from your host machine.

I hope this will work.

Chief Guest
insufficient info

mindee
for 64M nand flash version, use mkyaffs2image
for 128M/256M/1GB nand flash version, use mkyaffs2image-128M

gopi
Hi, i need urgent help on this same query,so any one can help me

Alexander Reddy Vatti
Hello All

for 128M/256M/1GB nand flash version, use mkyaffs2image-128M
for 64M nand flash version, use mkyaffs2image

copy mkyaffs2image/mkyaffs2image-128M into /usr/bin

goto a location(folder/directory) whrere you want to creat filesytem

create a folder with name sample_rootfs_128
goto the above directory/path/folder

mkdir bin dev etc lib proc sbin tmp usr var
goto usr directory/path
mkdir bin  lib  sbin
goto var
mkdir lock log run tmp

for this you can read "Buiding embedded linux systems by karim yaghmour"


The DVD which comes with the friendly arm kit contains busybox.
unzip it and copy to some directory/path
busybox_xxx>make ARCH=arm CROSS_COMPILE=arm-linux- all
busybox_xxx>make ARCH=arm CROSS_COMPILE=arm-linux CONFIG_PREFIX=path of
sample_rootfs_128 install

then goto sample_rootfs_128 path and see file are generated in usr  sbin 
bin linuxrc.

linuxrc is softlinx to bin/busybox