ALT Linux hardware support
 help / color / mirror / Atom feed
From: Sergey Vlasov <vsu@altlinux.ru>
To: hardware@altlinux.ru
Subject: Re: [Hardware] DiskOnShip
Date: Thu, 26 May 2005 16:56:54 +0400
Message-ID: <20050526125654.GH30279@master.mivlgu.local> (raw)
In-Reply-To: <4295C01C.8040906@mail.ru>

[-- Attachment #1: Type: text/plain, Size: 1436 bytes --]

On Thu, May 26, 2005 at 04:25:00PM +0400, Aleksey P. Karelin wrote:
> DiskOnChip Millennium found at address 0xDA000
> No flash chips recognised.

А что за чип там на самом деле?

Возможно, драйвер действительно староват.  В новом docprobe.c из MTD CVS
есть такой кусок:

	/* We need to read the ChipID register four times. For some
	   newer DiskOnChip 2000 units, the first three reads will
	   return the DiskOnChip Millennium ident. Don't ask. */
...
	case DOC_ChipID_DocMil:
		/* Check for the new 2000 with Millennium ASIC */
		ReadDOC(window, ChipID);
		ReadDOC(window, ChipID);
		if (ReadDOC(window, ChipID) != DOC_ChipID_DocMil)
			ChipID = DOC_ChipID_Doc2kTSOP;

Впрочем, если это именно DiskOnChip 2000 TSOP, обновление пока не поможет,
поскольку дальше написано:

		if (ChipID == DOC_ChipID_Doc2kTSOP) {
			/* Remove this at your own peril. The hardware driver works but nothing prevents you from erasing bad blocks */
			printk(KERN_NOTICE "Refusing to drive DiskOnChip 2000 TSOP until Bad Block Table is correctly supported by INFTL\n");
			iounmap(docptr);
			return;
		}

Хотя в MTD CVS (и в ядрах 2.6.x) есть ещё один драйвер - модуль
diskonchip, который работает через новую подсистему поддержки NAND Flash;
возможно, в этом драйвере есть поддержка нового типа DiskOnChip 2000 TSOP.
Ещё для новых чипов может быть нужен модуль inftl вместо nftl (но это
опять-таки только для 2.6.x).

[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]

  reply	other threads:[~2005-05-26 12:56 UTC|newest]

Thread overview: 24+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-05-26  6:04 Aleksey P. Karelin
2005-05-26  6:26 ` Yakov Reztsov
2005-05-26  6:37   ` Aleksey P. Karelin
2005-05-26  7:10     ` Yakov Reztsov
2005-05-26  7:14       ` Aleksey P. Karelin
2005-05-26  8:49         ` Re[2]: " Yakov Reztsov
2005-05-26  9:14           ` Aleksey P. Karelin
2005-05-26 10:55             ` Re[2]: " Yakov Reztsov
2005-05-26 11:17               ` [Hardware] DiskOnChip Aleksey P. Karelin
2005-05-29  9:36                 ` Denis Smirnov
2005-06-04 18:08                   ` Sergey Vlasov
2005-05-26  6:29 ` [Hardware] DiskOnShip Aleksey P. Karelin
2005-05-26 11:16 ` Sergey Vlasov
2005-05-26 11:23   ` Aleksey P. Karelin
2005-05-26 11:34     ` Sergey Vlasov
2005-05-26 11:49   ` Aleksey P. Karelin
2005-05-26 12:04     ` Sergey Vlasov
2005-05-26 12:25       ` Aleksey P. Karelin
2005-05-26 12:56         ` Sergey Vlasov [this message]
2005-05-26 13:08           ` Aleksey P. Karelin
2005-05-26 13:30             ` [Hardware] Re: DiskOnChip Michael Shigorin
2005-05-26 14:15             ` [Hardware] DiskOnShip Sergey Vlasov
2005-05-27  7:24               ` Aleksey P. Karelin
2005-05-27  7:43                 ` Michael Shigorin

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20050526125654.GH30279@master.mivlgu.local \
    --to=vsu@altlinux.ru \
    --cc=hardware@altlinux.ru \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

ALT Linux hardware support

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/hardware/0 hardware/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 hardware hardware/ http://lore.altlinux.org/hardware \
		hardware@altlinux.ru hardware@lists.altlinux.org hardware@lists.altlinux.ru hardware@lists.altlinux.com hardware@altlinux.org
	public-inbox-index hardware

Example config snippet for mirrors.
Newsgroup available over NNTP:
	nntp://lore.altlinux.org/org.altlinux.lists.hardware


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git