ts-7000
[Top] [All Lists]

Re: [ts-7000] JFFS2 on TS7260?

To:
Subject: Re: [ts-7000] JFFS2 on TS7260?
From: "Gonzalo A. de la Vega" <>
Date: Sat, 11 Apr 2009 18:13:46 -0300
OK Gary, I tried this and mostly works... I just get messages from the
kernel looking like this:
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00283c24:
0x81ed instead

The message repeats for the second number (0x00283c24)  incremented by
4 each time. If I have a look at the JFFS2 image with hexdump, I see
0x1985 every 40 bytes so suspect there is an offset I have to provide
to mkfs.jffs2 and I'm missing.

I can work in the FS if mounted from and NFS but can't boot directly
into it (I guess because the kernel receives the mount error).

Any help will be appreciated,

Gonzalo

On Fri, Apr 10, 2009 at 12:15 PM, Gonzalo A. de la Vega
<> wrote:
> Lets move to JFFS2 then! Thanks Gary!
>
> On Fri, Apr 10, 2009 at 11:48 AM, Gary Wicker <> wrote:
>>
>>
>> Hi Gonzalo,
>>
>> I switched from YAFFS to JFFS2 on my TS-7250 projects (2.4 kernel)
>> because I had problems with YAFFS. The worst was that it would mark
>> blocks as bad for no reason and there seems to be no way to unmark
>> them. After having a couple of my TS-7250 boards become useless
>> because of too many bad blocks, I gave up and switched to JFFS2. Note
>> that the stock 2.4 kernel from Technologic didn't fully support JFFS2
>> at that time (not sure if it does now plus they've since moved to 2.6)
>> so I had to backport some JFFS2 stuff from another kernel branch I
>> picked up somewhere else. In any case I've been using JFFS2 since
>> without incident or problems. Hope this info helps.
>>
>> Gary Wicker
>> qhorus.com
>>
>> On Fri, Apr 10, 2009 at 6:39 AM, Gonzalo A. de la Vega
>> <> wrote:
>>> Has anybody tried this? I'm thinking about using JFFS2 mainly because:
>>> 1) According to what I read on the YAFFS [1] site JFFS2 is more efficient
>>> in small partitions. I'm essentially not writing to the flash so the YAFFS
>>> garbage collection advantage is of no use.
>>> 2) Mainstream kernel 2.6 comes with JFFS2 support.
>>> 3) I'm gessing 2.4 and 2.6 can read the same JFFS2 partition (as one would
>>> normally expect) contrary to what happens with YAFFS... but this is just a
>>> guess... or a hunch if you will.
>>>
>>> Gonzalo
>>>
>>> [1] C. F. Johnson, Comparison between YAFFS (YAFFS2) and JFFS2,
>>> http://www.yaffs.net/comparison-yaffs-vs-jffs
>>>
>>>
>>>
>>> ------------------------------------
>>>
>>> Yahoo! Groups Links
>>>
>>>
>>>
>>>
>> 
>


------------------------------------

Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/ts-7000/

<*> Your email settings:
    Individual Email | Traditional

<*> To change settings online go to:
    http://groups.yahoo.com/group/ts-7000/join
    (Yahoo! ID required)

<*> To change settings via email:
     
    

<*> To unsubscribe from this group, send an email to:
    

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/

<Prev in Thread] Current Thread [Next in Thread>
Admin

Disclaimer: Neither Andrew Taylor nor the University of NSW School of Computer and Engineering take any responsibility for the contents of this archive. It is purely a compilation of material sent by many people to the birding-aus mailing list. It has not been checked for accuracy nor its content verified in any way. If you wish to get material removed from the archive or have other queries about the archive e-mail Andrew Taylor at this address: andrewt@cse.unsw.EDU.AU