Skip to contentSkip to conversation

patch for a new map (mtx-1) and problems with current cvs version

PATCH Bruno Randolf 1 participant 1 message Jan 23, 2004 Memory technology devices (MTD)

lore
Share & tools
lore
#0 lore raw

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

hello!

today i upgraded mtd on my 2.4.24 mips kernel with the cvs version of today (23.01.2004). i had to do this because the mtd version in 2.4.24 has some problems with my flash chips (AMD AM29LV128M).

* to support my board (mtx-1), i created the attached patch with the partition map for my system. could it be added to the cvs, please?

* i recognized that this chip has problems with erase suspend, so i added the patch of david vrabel
(http://lists.infradead.org/pipermail/linux-mtd/2003-December/009001.html),
which made things better, but the problems he mentioned remained. how could they be fixed? i know there was a version of mtd before (about june 2003) which worked without errors, with this chip, but much slower as it seems.

* i wonder how often and at which times the mtd cvs is synced into the linux kernel?

thanks for your help,
bruno
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (GNU/Linux)

iD8DBQFAEWMTfg2jtUL97G4RAqTWAJwJRDr+0W9BkhBFZgep4PrxKYRKPwCeI54O UGz89chi8Tbn1ot2jS24G68=
=skml
-----END PGP SIGNATURE-----

drivers/mtd/maps/Config.in +1 -0
diff -Nurb mtd/drivers/mtd/maps/Config.in mtd-with-mtx/drivers/mtd/maps/Config.in
@@ -80,6 +80,7 @@
       bool '  Db1x00 boot flash device' CONFIG_MTD_DB1X00_BOOT 
       bool '  Db1x00 user flash device (2nd bank)' CONFIG_MTD_DB1X00_USER
    fi
+   dep_tristate '  MTX-1 flash device' CONFIG_MTD_MTX1 $CONFIG_MIPS_MTX1
    dep_tristate '  Flash chip mapping on ITE QED-4N-S01B, Globespan IVR or custom board' CONFIG_MTD_CSTM_MIPS_IXX $CONFIG_MTD_CFI $CONFIG_MTD_JEDEC $CONFIG_MTD_PARTITIONS 
    if [ "$CONFIG_MTD_CSTM_MIPS_IXX" = "y" -o "$CONFIG_MTD_CSTM_MIPS_IXX" = "m" ]; then
       hex '    Physical start address of flash mapping' CONFIG_MTD_CSTM_MIPS_IXX_START 0x8000000
drivers/mtd/maps/Kconfig +6 -0
diff -Nurb mtd/drivers/mtd/maps/Kconfig mtd-with-mtx/drivers/mtd/maps/Kconfig
@@ -210,6 +210,12 @@
 	  You can say 'Y' to both this and 'MTD_PB1XXX_BOOT' above, to use
 	  both banks.
 
+config MTD_MTX1
+        tristate "Flash devices on 4G Systems MTX-1 boards"
+        depends on MIPS && MIPS_MTX1
+        help
+          Flash memory access on 4G Systems MTX-1 boards
+
 config MTD_DILNETPC
 	tristate "CFI Flash device mapped on DIL/Net PC"
 	depends on X86 && MTD_CONCAT && MTD_PARTITIONS && MTD_CFI_INTELEXT
drivers/mtd/maps/Makefile.common +1 -0
diff -Nurb mtd/drivers/mtd/maps/Makefile.common mtd-with-mtx/drivers/mtd/maps/Makefile.common
@@ -49,6 +49,7 @@
 obj-$(CONFIG_MTD_PCI)		+= pci.o
 obj-$(CONFIG_MTD_PB1XXX)	+= pb1xxx-flash.o
 obj-$(CONFIG_MTD_DB1X00)        += db1x00-flash.o
+obj-$(CONFIG_MTD_MTX1)          += mtx-1.o
 obj-$(CONFIG_MTD_LASAT)		+= lasat.o
 obj-$(CONFIG_MTD_AUTCPU12)	+= autcpu12-nvram.o
 obj-$(CONFIG_MTD_EDB7312)	+= edb7312.o
drivers/mtd/maps/mtx-1.c +93 -0

93 lines not on this page · raw message