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);
}
|