Skip to contentSkip to conversation

MTD driver for DiskOnChip Millennium Plus and INFTL

ANNOUNCE Greg Ungerer 2 participants 2 messages May 23, 2003 Memory technology devices (MTD)

lore
Share & tools
lore
#0 lore raw

Hi All,

I would like to announce a patch set to support the M-System's Disk-On-Chip Millennium Plus parts, and their new INFTL (Inverse NAND Flash Translation Layer).

You can get the patch at either of these sites:

ftp://ftp.snapgear.org/pub/patches/mplus-20030414.patch.gz
http://www.uclinux.org/pub/uClinux/misc/mplus-20030414.patch.gz

This patch is against standard Linux 2.4.20 kernel.

The Millennium Plus flash devices are a new family of NAND flash devices from M-Systems, not unlike the 2000 or Millennium devices. INFTL is a new improved NFTL. The fundamental difference is that it stores its chains in inverted order.

There is also some modified mtd utilities that go along with this driver code at:

ftp://ftp.snapgear.org/pub/patches/mtd-utils-20030414.tar.gz
http://www.uclinux.org/pub/uClinux/misc/mtd-utils-20030414.tar.gz

It has an updated nftl_format capable of formating a device with an INFTL layer or NFTL. There is also some code that allows programming an IPL on a Millennium Plus device.

The INFTL support is based wholey on the existing MTD NFTL support. So the same limitations do apply to using INFTL. Additionally given the current INFTL and Millenium Plus support is very new there are a number of limitations that will be rectified in future releases.

The currnet limitations include:

1. Both the NFTL and INFTL layers use the same Linux major number. So this means that only one of the NFTL or INFTL layers can be compiled or loaded into the Linux kernel at any one time.
2. The INFTL layer can only use a single BDTL parition, even if the device is setup with more.
3. Only 32MiB Millenium Plus devices have been tested.

Feedback welcome:-)

Regards
Greg

------------------------------------------------------------------------
Greg Ungerer -- Chief Software Dude EMAIL: [email protected]
SnapGear Pty Ltd PHONE: +61 7 3435 2888
825 Stanley St, FAX: +61 7 3891 3630
Woolloongabba, QLD, 4102, Australia WEB: www.SnapGear.com

#1 lore raw
Quoted 6 lines · Greg Ungerer

Hi All,

I would like to announce a patch set to support the M-System's Disk-On-Chip Millennium Plus parts, and their new INFTL (Inverse NAND Flash Translation Layer).

Quoted 6 lines

You can get the patch at either of these sites:

ftp://ftp.snapgear.org/pub/patches/mplus-20030414.patch.gz
http://www.uclinux.org/pub/uClinux/misc/mplus-20030414.patch.gz

This patch is against standard Linux 2.4.20 kernel.

Thanks. I've imported it into CVS and updated it to reflect the other changes I've made recently, so it should now be working in 2.4 and 2.5 kernels through the blkdev helper stuff.

I haven't incorporated the new ioctls for mtdchar.c -- I think the MEMSETOOBSEL ioctl should suffice for switching between with-ECC and without-ECC modes. If not, it _should_ :)

Signature · 1 line
dwmw2