[ELDK] How to make root file system

J.Hwan.Kim frog1120 at gmail.com
Tue Sep 29 07:25:53 CEST 2009


Hi, everyone

I hope to make JFFS2 root file system with ELDK4.2.
I followed DULG manual to make root file system like this :

bash$ gzip -d -c -v /opt/eldk/arm/images/ramdisk_image.gz > 
/tmp/ramdisk_image
bash$ mount -o loop /tmp/ramdisk_image /mnt/tmp
bash# cd /mnt/tmp
bash# tar -zc --exclude='dev/*' -f /tmp/rootfs.tar.gz *
bash# umount /mnt/tmp

$ mkdir rootfs
$ cd rootfs
$ tar zxf /tmp/rootfs.tar.gz
$ mkfs.jffs2 -U -d . -o root.jffs2 -e 0x20000 -n
 
But created root.jffs2 was too large - it was over 2GB.
The rootfs.tar.gz was about 1.6MB
What is wrong?
How can I solve this problem?

Thanks in advance.

Regards,
J.Hwan Kim







More information about the eldk mailing list