ts-7000
[Top] [All Lists]

Re: [ts-7000] linux 2.6 kernel for ts7260 -- which one to use? [1 Attach

To:
Subject: Re: [ts-7000] linux 2.6 kernel for ts7260 -- which one to use? [1 Attachment]
From: "Breton M. Saunders" <>
Date: Fri, 11 Sep 2009 10:37:23 +0100
<*>[Attachment(s) from Breton M. Saunders included below]

Daniel Smolik wrote:
> Breton M. Saunders napsal(a):
>   
>>  
>>
>> awolven wrote:
>>  > Hi Group,
>>  >
>>  > What is the best fork/version of the 2.6 linux kernel to use with a 
>> ts7260?
>>  >
>>  > I have had success with 2.6.29.1 with Matt's ts7200 patch 4. Now I 
>> want to get sdcard going. According to the thread "where's the source?" 
>> Breton has reported getting 2.6.27.31 going with sd card support on a 
>> ts7400, but it looks like that kernel version is going to need patching 
>> to get working with the 7260. Before I attempt to hand-patch 2.6.27.31, 
>> I just wanted to ask.
>>  >
>> I wouldn't trust the SDcard stuff just yet. I seem to be having
>> increasing problems with one of my cards here - I suspect due to the
>> SDcard becoming worn - however, my PC seems quite capable of
>> reading/writing to it reliably.
>>
>> Hopefully I'll get some more free time to look into forward porting
>> stuff to 2.6.29 shortly.
>>
>>     
> Do you have some source of SD card patch ? I woluld like to test and hel you.
>
>       Dan
>
>   
That would be a huge help.

This (attached) patch adds DMA read support.  Due to issues with the 
M2M-DMA driver, the m2m is exclusively used for sdcard support only.  
The dma driver will require some re-engineering to be used "on the fly" 
for doing things like sdcard / nand flash / etc.

I would suggest building a kernel from scratch following this procedure:
1) Get a copy of 2.6.27.31; untar.
2) Download Matt's patch set for 2.6.27.x - apply all patches in the 
patch directory first.  These are obtainable from the ts-7000 yahoo group.
3) Apply the attached patch (after unzipping).
4) Use your standard config file (if you have one) for 2.6.27 (one from 
29 will probably work as well).  Configure to enable ts sdcard support 
in the drivers/block sub-directory.

You _may_ just be able to run the attached patch on a 2.6.29 source 
directory - but I haven't tested this; so it may not work.

If compilation goes successfully, you should be able to directly boot 
from an ext2 / ext3 filesystem on an arbitrary sdcard partition.  I do 
this by specifying the kernel configuration line in the kernel config.

I will produce a  web page on how to build such a system shortly; but 
getting an svn up with kernel support; etc will likely make progress 
much easier.

    Cheers,
   
    -Brett


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


<*> 1 of 1 File(s) 
http://groups.yahoo.com/group/ts-7000/attachments/folder/1547583500/item/list 
  <*> linux-2.6.27.31-sdcard-with-dma.patch.bz2

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

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