ts-7000
[Top] [All Lists]

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

To:
Subject: [ts-7000] TS-7400 Internal flash and kernel 2.6
From: Paulo Marques <>
Date: Mon, 09 Apr 2007 12:44:52 +0100
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."


 
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