This is the mail archive of the ecos-discuss@sources.redhat.com mailing list for the eCos project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

question about jffs2+redboot+kernel!!




Hihi....
I have created a ramdisk in my host PC,then use it and mkfs.jffs2 to make a jffs2 ramdisk file. Here is the scipt I used to make the jffs2 file:

#!/bin/sh
dd if=/dev/zero of=/dev/ram bs=1k count=30000
mke2fs /dev/ram 30000
mount -t ext2 /dev/ram /mnt/ramdisk
cp -fR /root/temp/* /mnt/ramdisk
/root/project/tools/./mkfs.jffs2 -d /mnt/ramdisk -o /tftpboot/jffs2.img
umount /mnt/ramdisk
dd if=/dev/ram of=/root/project/tools/ramdisk.img count=30000


Then I put this file into my xscale platform to run.The filesystem can be mounted.and become writeable after the following command.
mount -n -o remount,rw


However,the jffs2 seems to be still unwritable now...
becuase when I try to add or delete file, the same error message appear

"No space left on deive"

Do anyone have any idea??
Thx thx alot!!!!

_________________________________________________________________
使用 MSN Messenger,與朋友在線上聊天: http://messenger.microsoft.com/tc

--
Before posting, please read the FAQ: http://sources.redhat.com/fom/ecos
and search the list archive: http://sources.redhat.com/ml/ecos-discuss


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]