ts-7000
[Top] [All Lists]

Re: [ts-7000] Re: where's the source? [6 Attachments]

To:
Subject: Re: [ts-7000] Re: where's the source? [6 Attachments]
From: "Breton M. Saunders" <>
Date: Wed, 26 Aug 2009 00:00:04 +0100
<*>[Attachment(s) from Breton M. Saunders included below]

Ok - here are a series of files for getting the sdcard to work from 
bootstrap:

Files:
  Copy the following into drivers/block:
    sdcore2.c - Jesse's low level i/o for the sdcard
    tssdcard.c - ts's shim layer with some rework that I did
    tssdcore.h - header file (which will be deprecated in the future)
  Compute diff with equivalent files in drivers/block and patch (e.g. 
use kompare; etc...):
    Makefile
    Kconfig
  Kernel configuration file:
    .config - only two lines matter, however, you should add them to 
your .config either manually or through the menuconfig editor
     CONFIG_CMDLINE="console=ttyAM0,115200 root=/dev/sda2"
     CONFIG_TS_SDCARD=y

  Note: the root= line may need to be adjusted depending on how you 
configure your sdcard.  I use partition 1 to store the kernel (copied to 
it via dd), and partition 2 to store an ext2 image created using buildroot.

  I tested these files on 2.6.27.31 - and am running into a watchdog 
problem; however, the kernel does work and sd support is present.

  Notes:
    0) The 7800 isn't supported (ep9302 boards only).
    1) The code for the dma interface code is present; but I have not 
included the dma code itself yet - this will come in a revised patch, 
and someone with a 16bit cpld/fpga will need to modify the code to work 
on their board.
    2) Don't mess around with the configurable parameters THREAD_ENABLE, 
or reqmode.  Both of these are consistent with a hard-disk based device, 
not a nand one.  The ocde paths for other than no queue will be removed 
in the future.

  Good luck, it works for me on a ts7400...

    -bms



Breton M. Saunders wrote:
> Breton M. Saunders wrote:
>   
>> Eddie Dawydiuk wrote:
>>   
>>     
>>> Hello,
>>>
>>>   
>>>     
>>>       
>>>>> In view of the other poster , Gary, in the yaffs tragedy thread: 
>>>>> http://tech.groups.yahoo.com/group/ts-7000/message/15589 who has three of 
>>>>> these boards u/s with this problem and the significant number of returns 
>>>>> you have on this , I'd say there is a real issue that needs thorough 
>>>>> investigation here.
>>>>>       
>>>>>         
>>>>>           
>>>> Thanks for the pointer, I'll respond to Gary's post. Although, please keep 
>>>> in 
>>>> mind this is what I would consider a very mature product. That is we have 
>>>> not 
>>>> made any kernel changes in years, and are unaware of any outstanding bugs.
>>>>     
>>>>       
>>>>         
>>> I took a closer look at Gary's post and I see he built a custom 2.6 kernel, 
>>> so I 
>>> can't comment on the state of the Yaffs filesystem he chose to use.
>>>
>>>   
>>>     
>>>       
>> I had real problems with this - the yaffs source I obtained from the 
>> yaffs-website never worked for me, and debugging it looked like it was 
>> going to be quite an effort.
>>
>> I don't believe that the yaffs currently available is compatible with 
>> the TS11 one.
>>     
> Sorry - I should have clarified - this was in attempting to get a 
> reliable 2.6.27.xx system running.
>
>     -bms
>
>
> ------------------------------------
>
> Yahoo! Groups Links
>
>
>



<*>Attachment(s) from Breton M. Saunders:


<*> 6 of 6 File(s) 
http://groups.yahoo.com/group/ts-7000/attachments/folder/104992629/item/list 
  <*> .config
  <*> Kconfig
  <*> Makefile
  <*> sdcore2.c
  <*> tssdcard.c
  <*> tssdcore.h

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

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