ts-7000
[Top] [All Lists]

Re: [ts-7000] TS-7400 Internal flash and kernel 2.6

To:
Subject: Re: [ts-7000] TS-7400 Internal flash and kernel 2.6
From: Ciaccia <>
Date: Tue, 10 Apr 2007 02:06:14 -0700 (PDT)
Hi Paulo,
Months ago I tried to do the same, and I also had
problems mounting the yaffs partitions... I think it
should be quite straightforward to port the module to
the 2.6 kernel, since the data structures did not
change much...

I noticed that in the TS kernel there were 2 different
modules, one "nand" and one "mtd2k" which look almost
the same (expect for the ECC code). I asked the TS guy
to explain to me the difference, they answered here:

http://tech.groups.yahoo.com/group/ts-7000/message/5066

I don't know if this can somehow help you, it's just
to let you know I asked this before...

If you can fix this please let us know, since there
are other people around playing with the 2.6 kernel...

Bye bye
Andrea

--- Paulo Marques <> wrote:

> 
> Hi all,
> 
> I've been trying to get a 2.6 kernel to use the
> internal flash on a 
> TS-7400 board.
> 
> Using static partitions, I've been able to get the
> mtd driver to show 
> the correct partitions.
> 
> The problem is that when I try to mount a yaffs
> filesystem on the 3rd 
> partition, it complains loudly about bad blocks and
> is unable to mount 
> the filesystem correctly.
> 
> After rebooting, the ts11 kernel that comes with the
> board is able to 
> mount the filesystem again.
> 
> I looked at the ts7250-nand driver from the ts11
> kernel and it seems 
> that there is some code there to use some form of
> ECC calculation from 
> the CPLD.
> 
> I tried to set the ECC to NONE (just as an
> experiment, I wouldn't leave 
> it like that) but it still didn't work.
> 
> So maybe to access the flash in a TS7400 board we do
> need to do those 
> accesses to the CPLD to make the state machine there
> work as expected?
> 
> As a strange data point, if I mount the 2nd
> partition, it seems that it 
> can mount the initrd stored there correctly. So
> maybe my problem is with 
> the yaffs version, but I got the latest from a few
> days ago.
> 
> Has anyone succeeded in getting the internal flash
> yaffs filesystem to 
> mount with a 2.6 kernel on a TS7400 board? Or at
> least have an idea 
> about what can be going wrong here?
> 
> Thanks in advance,
> 
> -- 
> Paulo Marques
> Software Development Department - Grupo PIE, S.A.
> Phone: +351 252 290600, Fax: +351 252 290601
> Web: www.grupopie.com
> 
> "God is love. Love is blind. Ray Charles is blind.
> Ray Charles is God."
> 



 
____________________________________________________________________________________
TV dinner still cooling? 
Check out "Tonight's Picks" on Yahoo! TV.
http://tv.yahoo.com/


 
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