creation of yaffs2 file system as rootfs

Alexander Reddy Vatti User 2010-03-07 11:22:08 Link
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 User 2010-03-10 07:51:59 Link
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 NoUser 2010-03-10 10:57:59 Link
insufficient info

mindee NoUser 2010-03-10 17:14:17 Link
for 64M nand flash version, use mkyaffs2image
for 128M/256M/1GB nand flash version, use mkyaffs2image-128M

gopi NoUser 2010-03-11 13:55:47 Link
Hi, i need urgent help on this same query,so any one can help me

Alexander Reddy Vatti NoUser 2010-03-12 16:15:24 Link
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

Reply

Name
eMail (not visible)
Subject (no text only in upper case, no HELP / URGENT ...)
Text
HTML tags are not supported and links are generated automatically if they start with http or ftp.
Please submit long source code or log files as attachment (only registered users).
Please enter the number 6885