ts-7000
[Top] [All Lists]

[ts-7000] Re: Kernel 2.6.29 on TS-72XX

To:
Subject: [ts-7000] Re: Kernel 2.6.29 on TS-72XX
From: "charliem_1216" <>
Date: Mon, 06 Apr 2009 13:24:57 -0000
--- In  Daniel Smolik <> wrote:
>
> Stefan Agner napsal(a):
> > 
> > 
> > Hello,
> > 
> > I updated Matthieu's 2.6.28-patches (http://mcrapet.free.fr 
> > <http://mcrapet.free.fr>) to 2.6.29 today. I want to use 2.6.29 for 
> > TS-7250 and TS-7800 our projects, thats why I updated them.
> > 
> > Patch 1 (Debounce IRQ) was not necessary anymore (applied in mainline).
> > 
> > I had to restore a change which was made in 2.6.29:
> > commit 75f4aa15cf05ce6d99c8261cf57dcd749877fd1c
> > Author: Nicolas Pitre < <nico%40cam.org>>
> > Date: Fri Sep 5 16:05:14 2008 -0400
> > 
> > [ARM] unconditionally define __virt_to_phys and __phys_to_virt
> > 
> > There is no machine class overriding this. If non linear translations
> > are implemented again for some machines then this could be restored at
> > that time.
> > 
> > Signed-off-by: Nicolas Pitre < <nico%40marvell.com>>
> > Signed-off-by: Russell King < 
> > <rmk%2Bkernel%40arm.linux.org.uk>>
> > 
> > => TS 7250 was such a platform, which overrides this macros (with the 
> > ts72xx-base.patch). We really should bring that patch upstream...
> > 
> > I also added a patch which supplies newer partition support (see here 
> > http://tech.groups.yahoo.com/group/ts-7000/message/5497 
> > <http://tech.groups.yahoo.com/group/ts-7000/message/5497>)
> 
> Hi Stefan,
> I now working on new driver which support 7250 and 7400. This patch is 
> interested to me.
> Do you now little bit more about it ? Which version of board is affected with 
> this ?

I wrote that patch when first porting 2.6 to my TS-7250, using info from 
booting a 2.4 TS kernel, and confirmed by 'fis list' at redboot prompt.  
 
> Can I apply this modification for older hw too ?

I don't know for sure, but I think all TS boards with 128M chips use 2k block 
size and should have this layout.

But that patch is for the static layout;  I think it would be better to use the 
code in drivers/mtd/redboot.c to parse the FIS tables at boot.  Is that not 
working already?

regards, ........... Charlie

> 
> 5) Nand flash partition table patch
> The NAND flash partition table was changed at some point in the
> production run, increasing the size of TS-BOOTROM from 0x00004000
> to 0x00020000 (16k to 128k). Petr Stetiar has a patch that changed
> this, but only for the 32M unit. The patch below will fix both, but
> only apply it if you have the 128k BOOTROM partition. ("dmesg | grep
> BOOTROM" will help).
> 
> 
> Thank you for your help.
> 
> Dan
> 
> 
> 
> > 
> > The SPI-Patch doesnt work at the moment, I get a kernel panic when i 
> > register the device in core.c (see Attachement). I don't use it, so I 
> > just disabled it in my configuration. The rest should work fine (Tested 
> > on 64MB-Ram TS-7250)
> > 
> > Bye
> > Stefan
> > 
> > 
> > 
> 
> 
> -- 
> Mydatex s r.o.
> http://www.mydatex.cz
> email: 
> mob: 604200362
> tel: 226210085
>




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

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