From: zhang jingxin <zhangjingxin@sict.ac.cn>
To: list <linux-mtd@lists.infradead.org>
Subject: doc2000 problem
Date: Thu, 09 Dec 2004 09:28:55 +0800 [thread overview]
Message-ID: <1102555735.2526.40.camel@z21921> (raw)
I am sorry to write another mail as I use a bad mailtool.
>Kalev Lember added Millenium+ support to diskonchip.c. I think he sent
>an announcement to the list, but since you're not using that device I
>won't go into detail.
And I find this head in the diskonchip.c.
/*
* drivers/mtd/nand/diskonchip.c
*
* (C) 2003 Red Hat, Inc.
* (C) 2004 Dan Brown <dan_brown@ieee.org>
* (C) 2004 Kalev Lember <kalev@smartlink.ee>
*/
So I think there is no problem you metioned.
>BBT handling was added for DOC2000 original after I wrote this email.
>It should work just fine with JFFS2 (it does for me).
I use the mtd-util-20011008.tar.bz2. It should not have BBT problem.
>Proper probing did indeed come soon, as I copied it more-or-less
>verbatim from the old driver. The kernel configuration options (and
>accompanying help text) should hopefully make this clear.
I use the right position,and it shows this:
Dec 8 10:23:52 localhost kernel: Using configured DiskOnChip probe
address 0xd8000
Dec 8 10:23:52 localhost kernel: DiskOnChip found at 0xd8000
I read this from mtd/device/docprobe.c.
static unsigned long __initdata doc_locations[] = {
#if defined (__alpha__) || defined(__i386__) || defined(__x86_64__)
#ifdef CONFIG_MTD_DOCPROBE_HIGH
0xfffc8000, 0xfffca000, 0xfffcc000, 0xfffce000,
0xfffd0000, 0xfffd2000, 0xfffd4000, 0xfffd6000,
0xfffd8000, 0xfffda000, 0xfffdc000, 0xfffde000,
0xfffe0000, 0xfffe2000, 0xfffe4000, 0xfffe6000,
0xfffe8000, 0xfffea000, 0xfffec000, 0xfffee000,
#else /* CONFIG_MTD_DOCPROBE_HIGH */
0xc8000, 0xca000, 0xcc000, 0xce000,
0xd0000, 0xd2000, 0xd4000, 0xd6000,
0xd8000, 0xda000, 0xdc000, 0xde000,
0xe0000, 0xe2000, 0xe4000, 0xe6000,
0xe8000, 0xea000, 0xec000, 0xee000,
#endif /* CONFIG_MTD_DOCPROBE_HIGH */
>Did you create the device nodes in /dev? Unless you're using devfs or
>suchlike, device nodes are not automatically created for you (even
>though the devices themselves were created when you loaded the
modules).
> Try running the MAKEFILE script included in the mtd CVS (in the util
>directory).
I run MAKEFILE.
It return like this
mtd* file exist.
flash_eraseall -j /dev/mtd1
it doesn't recongize the device.
it return no such device.
Then what should I do??
next reply other threads:[~2004-12-09 1:29 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-12-09 1:28 zhang jingxin [this message]
2004-12-09 9:55 ` doc2000 problem Thomas Gleixner
-- strict thread matches above, loose matches on Subject: below --
2004-12-08 12:41 zhang jingxin
2004-12-08 14:15 ` Dan Brown
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=1102555735.2526.40.camel@z21921 \
--to=zhangjingxin@sict.ac.cn \
--cc=linux-mtd@lists.infradead.org \
/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
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.