This is the mail archive of the
ecos-discuss@sources.redhat.com
mailing list for the eCos project.
Re: question about jffs2+redboot+kernel!!
- From: Gary Thomas <gthomas at ecoscentric dot com>
- To: Roy Chung <cscroy at hotmail dot com>
- Cc: eCos Discussion <ecos-discuss at sources dot redhat dot com>
- Date: 05 Nov 2002 07:25:05 -0700
- Subject: Re: [ECOS] question about jffs2+redboot+kernel!!
- References: <F104cM3oryKFRJrzdDW00005fdc@hotmail.com>
On Tue, 2002-11-05 at 02:05, Roy Chung wrote:
>
>
> 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??
First blush - try making the JFFS2 image bigger.
Also, this is a Linux question and you'll get much better answers
if you ask it on a Linux list. This list is for eCos questions only.
--
------------------------------------------------------------
Gary Thomas |
eCosCentric, Ltd. |
+1 (970) 229-1963 | eCos & RedBoot experts
gthomas@ecoscentric.com |
http://www.ecoscentric.com/ |
------------------------------------------------------------
--
Before posting, please read the FAQ: http://sources.redhat.com/fom/ecos
and search the list archive: http://sources.redhat.com/ml/ecos-discuss