jffs2 problem

Hinko Kocevar hinko.kocevar at cetrtapot.si
Tue Jul 19 06:58:34 EDT 2005


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




More information about the linux-mtd mailing list