ts-7000
[Top] [All Lists]

[ts-7000] TS7400 and 2.6.32.3

To:
Subject: [ts-7000] TS7400 and 2.6.32.3
From: Daniel Smolik <>
Date: Thu, 13 May 2010 22:08:46 +0200
Hi all,
I have made small modification of Matthieu sdcard patch and now 2.6.32 and 
sdcard work  on TS-7400.  There is two small 
patches that is needed to run it. You need linux-2.6.32.3-ts7200_matt-4.tar.gz 
applied + support for ts7xx_watchdog 
included in kernel + my patch. Without this kernel constantly reboots.



                Regards Dan



-- 
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/

diff -u --recursive linux-2.6.32.3/drivers/watchdog/ts72xx_wdt.c 
linux-2.6.32.3-arm/drivers/watchdog/ts72xx_wdt.c
--- linux-2.6.32.3/drivers/watchdog/ts72xx_wdt.c        2010-05-13 
21:54:59.000000000 +0200
+++ linux-2.6.32.3-arm/drivers/watchdog/ts72xx_wdt.c    2010-05-13 
21:01:57.000000000 +0200
@@ -32,6 +32,7 @@
 #include <asm/uaccess.h>
 #include <asm/system.h>
 #include <asm/mach-types.h>
+#include <mach/ts72xx.h>
 
 #define WATCHDOG_VERSION "0.3"
 #define PFX "ts72xx_wdt: "
@@ -278,6 +279,10 @@
        }
 
        printk(KERN_INFO PFX "TS-72xx watchdog driver, v%s\n", 
WATCHDOG_VERSION);
+       if(board_is_ts7400())                                                   
+                       ts72xx_wdt_disable();
+       
+       
        ts72xx_parse_timeout(timeout);
 
        return 0;

diff -u --recursive linux-2.6.32.3/arch/arm/mach-ep93xx/ts72xx.c 
linux-2.6.32.3-arm/arch/arm/mach-ep93xx/ts72xx.c
--- linux-2.6.32.3/arch/arm/mach-ep93xx/ts72xx.c        2010-05-13 
21:56:18.000000000 +0200
+++ linux-2.6.32.3-arm/arch/arm/mach-ep93xx/ts72xx.c    2010-05-13 
21:16:59.000000000 +0200
@@ -280,9 +315,10 @@
        .resource       = &ts72xx_sdcard_resource,
 };
 
+
 static void __init ts72xx_register_sdcard(void)
 {
-       if (board_is_ts7260())
+       if (board_is_ts7260() || board_is_ts7400())
                platform_device_register(&ts72xx_sdcard);
 }
 
<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