Re: jffs2 problem

Hinko Kocevar
2005-07-19T10:58:50Z

Artem B. Bityuckiy wrote:
> Hinko Kocevar wrote:
>
>> Hi,
>>
>> I'm trying to use latest MTD CVS snapshot to create jffs2 image and
>> boot my ARM target using that image as rootfs. Booting halts at:
>
>
> How did you check that your (probably correct) image was correctly
> written to the flash? May be there are some driver-level problems ? What
> kind of flash is that ?
>

Flash is NOR Intel E28F128J3A150.

I'm booting with NFS enabled kernel and rootfs over NFS, then erasing mtd
partition that holds rootfs and then copying rootfs.jffs2 to mtd partition like
this:

$ flash_eraseall /dev/mtd2
$ cp /tmp/rootfs.jffs2 /dev/mtd2

I can mount jffs2 partition afterwards with:
$ mount -t jffs2 /dev/mtdblock2 /mnt/jffs2
$ ls /mnt/jffs2/
bin etc linuxrc proc staging usr
dev lib mnt sbin tmp var

regards,
hk
--
..because under Linux "if something is possible in principle,
then it is already implemented or somebody is working on it".

--LKI