Skip to contentSkip to conversation

New mapping driver for Technology Systems TS-5500 board

PATCH New Sean Young 1 participant 1 message Sep 18, 2004

Subsystems (2)
lore
Share & tools
lore

Sean Young

author
#0 lore raw

PATCH 1/1 New mapping driver for Technology Systems TS-5500 board

Here is a new mapping driver, patch against kernel 2.6.9-rc2 (I hope that's okay):

MTD Mapping driver for Technology Systems TS-5500 board

Note that the bios on this board uses a proprietary ftl of General Software which I haven't been able to figure out. Any ideas here would be most welcome.

Sean

usr/src/linux-2.6.6/drivers/mtd/maps/Kconfig renamed from drivers/mtd/maps/Kconfig +19 -0
diff -uprN ./drivers/mtd/maps/Kconfig /usr/src/linux-2.6.6/drivers/mtd/maps/Kconfig
@@ -84,6 +84,25 @@ config MTD_SC520CDP
 	  Dual-in-line JEDEC chip. This 'mapping' driver supports that
 	  arrangement, implementing three MTD devices.
 
+config MTD_TS5500
+	tristate "JEDEC Flash device mapped on Technologic Systems TS-5500"
+	depends on X86 && MTD_JEDECPROBE && MTD_PARTITIONS
+	help
+	  This provides a driver for the on-board flash of the Technologic
+	  System's TS-5500 board. The flash is split into 3 partitions 
+	  which are accessed as separate MTD devices.
+
+	  mtd0 and mtd2 are the two BIOS drives. Unfortunately the BIOS 
+	  uses a proprietary flash translation layer from General Software, 
+	  which is not supported (the drives cannot be mounted). You can 
+	  create your own file system (jffs for example), but the BIOS 
+	  won't be able to boot from it.
+	  
+	  mtd1 allows you to reprogram your BIOS. BE VERY CAREFUL.
+	
+	  Note that if jumper 3 ("Write Enable Drive A") must be set 
+	  otherwise detection won't succeeed.
+
 config MTD_NETSC520
 	tristate "CFI Flash device mapped on AMD NetSc520"
 	depends on X86 && MTD_CFI && MTD_PARTITIONS
usr/src/linux-2.6.6/drivers/mtd/maps/Makefile renamed from drivers/mtd/maps/Makefile +1 -0
diff -uprN ./drivers/mtd/maps/Makefile /usr/src/linux-2.6.6/drivers/mtd/maps/Makefile
@@ -33,6 +33,7 @@ obj-$(CONFIG_MTD_TQM8XXL)	+= tqm8xxl.o
 obj-$(CONFIG_MTD_SA1100)	+= sa1100-flash.o
 obj-$(CONFIG_MTD_SBC_GXX)	+= sbc_gxx.o
 obj-$(CONFIG_MTD_SC520CDP)	+= sc520cdp.o
+obj-$(CONFIG_MTD_TS5500)	+= ts5500_flash.o
 obj-$(CONFIG_MTD_NETSC520)	+= netsc520.o
 obj-$(CONFIG_MTD_SUN_UFLASH)	+= sun_uflash.o
 obj-$(CONFIG_MTD_VMAX)		+= vmax301.o
usr/src/linux-2.6.6/drivers/mtd/maps/ts5500_flash.c renamed from drivers/mtd/maps/ts5500_flash.c +139 -0

139 lines not on this page · raw message