From: Jonas Holmberg <jonas.holmberg@axis.com>
To: Steve Tsai <startec@ms11.hinet.net>
Cc: linux-mtd@lists.infradead.org
Subject: Re: how to use amd_flash.c
Date: 04 Apr 2002 10:07:14 +0200 [thread overview]
Message-ID: <1017907634.23996.24.camel@pcjonashg> (raw)
In-Reply-To: <00b001c1dbac$23abbd00$5501a8c0@synso.com.tw>
On Thu, 2002-04-04 at 09:41, Steve Tsai wrote:
> Hi Jonas,
>
> Thanks. I know how to add codes to amd_flash.c, but I can not make kernel
> run amd_flash_probe(). I used jffs1 and flash.c on my board from AXIS before
> and it works fine. Now I want ot port uClinux 2.4.17 to my board and I plan
> to use jffs2 and mtd, but I found it is more complicated. The flash I use
> is not CFI compliance, so I am not sure I can use jedec_probe + CFI-driver.
The jedec_probe sets things up so that the CFI-drivers can be used with
non-CFI chips.
> I modified amd_flash.c already, but the kernal can not probe the flash at
> start time. Should I call do_map_probe in somewhere to find out the flash?
Yes, you need to write a map driver that calls do_map_probe. You can
look at arch/cris/drivers/axisflashmap.c for inspiration.
/Jonas
next prev parent reply other threads:[~2002-04-04 8:05 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-04-04 7:07 how to use amd_flash.c Steve Tsai
2002-04-04 7:23 ` Jonas Holmberg
2002-04-04 7:41 ` Steve Tsai
2002-04-04 8:07 ` Jonas Holmberg [this message]
-- strict thread matches above, loose matches on Subject: below --
2002-04-04 6:59 Steve Tsai
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=1017907634.23996.24.camel@pcjonashg \
--to=jonas.holmberg@axis.com \
--cc=linux-mtd@lists.infradead.org \
--cc=startec@ms11.hinet.net \
/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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox