From: "Ho-Kuo Chan" <hchan@wavesat.com>
To: "David Woodhouse" <dwmw2@infradead.org>
Cc: <linux-mtd@lists.infradead.org>
Subject: Re: Trouble indetifying FLASH part
Date: Thu, 16 May 2002 10:12:15 -0400 [thread overview]
Message-ID: <008101c1fce3$ae6588b0$0200010a@WT0136> (raw)
In-Reply-To: 9456.1021556252@redhat.com
> > I have also tried replacing the ioremap call in init)physmap with
> > ioremap_nocache() but with no byte swapping. Should I try it with
> > LE_BYTE_SWAP?
>
> Yes, that could be useful -- although I don't think you should have got a
> cached mapping by default, it's worth a try.
The ioremap_nocache with LE_BYTE_SWAP didn't help. I will return it ioremap.
>
> Can you make it print the contents of the region at 0x8000000 and check it
> matches what you expect to be in the flash chip?
I tried printk("HKC: Raw output of flash address =0x%x\n", *(unsigned
int*)0x8000000) but resulted in kernel panic. I'm starting to think this is
a virtual memory problem. Do I need a TLB entry for the device?
> Are you sure that's
> supposed to be 0x8000000 and not 0x80000000?
Yes, I have double-checked the hardware specs. I also have the board and
flash working with VxWorks which has a flat memory model.
Any other ideas?
Thanks.
HK
next prev parent reply other threads:[~2002-05-16 14:09 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <001301c1fcd9$76792c40$0200010a@WT0136>
2002-05-15 20:50 ` Trouble indetifying FLASH part Ho-Kuo Chan
2002-05-16 12:33 ` David Woodhouse
[not found] ` <5240.1021554647@redhat.com>
2002-05-16 13:36 ` Ho-Kuo Chan
2002-05-16 13:37 ` David Woodhouse
2002-05-16 14:12 ` Ho-Kuo Chan [this message]
2002-05-16 14:15 ` David Woodhouse
2002-05-16 14:52 ` Ho-Kuo Chan
2002-05-16 15:01 ` David Woodhouse
2002-05-16 17:37 ` Ho-Kuo Chan
2002-05-23 21:19 ` Ho-Kuo Chan
2002-05-23 21:44 ` David Woodhouse
2002-05-24 14:09 ` Ho-Kuo Chan
2002-05-16 6:53 Jim Zeus
-- strict thread matches above, loose matches on Subject: below --
2002-05-16 13:25 Ho-Kuo Chan
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='008101c1fce3$ae6588b0$0200010a@WT0136' \
--to=hchan@wavesat.com \
--cc=dwmw2@infradead.org \
--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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox