Problem with mounting JFFS2

Iva Salom diva at kondor.imp.bg.ac.yu
Fri Aug 4 03:52:07 EDT 2006


----- Original Message ----- 
From: "Josh Boyer" <jwboyer at gmail.com>
To: "Iva Salom" <diva at kondor.imp.bg.ac.yu>
Cc: <linux-mtd at lists.infradead.org>
Sent: Thursday, August 03, 2006 1:53 PM
Subject: Re: Problem with mounting JFFS2


> On 8/3/06, Iva Salom <diva at kondor.imp.bg.ac.yu> wrote:
>>
>>
>> Hi!
>>
>> I am a beginner in all these embedded linux - mtd - jffs stuff. I am 
>> using
>> Intel FLASH 28F320 (2 interleaved 16b chips of 8MB, so we have 32bit
>> buswidth) (CFI) with TMS320C5471 platform. I turnd on MTD support, so I 
>> have
>> 5 partitions: bootloader (/dev/mtd0), bootloader parameters (/dev/mtd1),
>> kernel image (/dev/mtd2), ROMFS SDRAM image (/dev/mtd5), primary file
>> system, which is romfs (/dev/mtd3) and I want the second to be jffs2
>> (/dev/mtd4):
>
> Which kernel are you using?
It's uClinux 2.4.

>> I have made jffs2 image:
>>
>> arm-uclinux-mkjffs2 -d ./jffsfolder -l -e 0x00020000 -o jffs2.img 
>>  >/dev/null
>>
>> and I loaded it at addresses from 0x00800000, which correspond to fs2, 
>> i.e.
>> /dev/mtd4.
>
> Loaded it how?
I used rrload "Load" and "Store" options, and when I checked the flash 
everything looked ok, it also had those jffs2 magic 0x1985 words at some 
places, so I thought that I did that part right.

> josh

Thanks!
Iva





More information about the linux-mtd mailing list