From: "vikrant.basotra" <vikrant.basotra@indiatimes.com>
To: <linuxppc-dev@ozlabs.org>, <linuxppc-embedded@ozlabs.org>
Cc: sibi_mathew@satyam.com, vikrant_basotra@satyam.com,
apoorv_sangal@satyam.com
Subject: Flash not getting in to Query Mode while Linux Bootup
Date: Tue, 09 Aug 2005 16:12:24 +0530 [thread overview]
Message-ID: <200508091026.PAA18553@WS0005.indiatimes.com> (raw)
[-- Attachment #1: Type: text/plain, Size: 1634 bytes --]
Hi All,
I am porting Linux on the custom board PMC8266 (having MPC8266
microprocessor) based on the ADS8260 board.I am using ELDK1.1.1 and
Linux2.4.24.
I am using Intel StrataFlash Memory Chip (28F256J3A) where the JFFS2 filesystem image is
located.
I am not able to mount the file system, and I am getting the following error message during boot up
******************************************
CFI: Found no pmc8260 flash memory device at location zero
******************************************
During the dry run I have figured out that the error is occuring because the Flash is getting in to the CFI Query mode,
The code snippet as in file drivers/mtd/chips/cfi_probe.c is as following:
********************************************
static int cfi_probe_chip(struct map_info *map, __u32 base,
struct flchip *chips, struct cfi_private *cfi)
{
...................................
...................................
..................................
cfi_send_gen_cmd(0xF0, 0, base, map, cfi, cfi-device_type, NULL);
cfi_send_gen_cmd(0x98, 0x55, base, map, cfi, cfi-device_type, NULL);
...................................
...................................
..................................
}
********************************************
As per the data sheet the command sequence to set the flash in to CFI Query mode is correct.
But what the kernel is getting at the Query Address is the Data present at that location,instead of the expected
Query DATA i.e Q.R.Y
Please let me know how should i get rid of this problem.
Regards,
Vikrant BasotraIndiatimes Email now powered by APIC Advantage. Help!
Help
[-- Attachment #2: Type: text/html, Size: 2636 bytes --]
reply other threads:[~2005-08-10 1:24 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
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=200508091026.PAA18553@WS0005.indiatimes.com \
--to=vikrant.basotra@indiatimes.com \
--cc=apoorv_sangal@satyam.com \
--cc=linuxppc-dev@ozlabs.org \
--cc=linuxppc-embedded@ozlabs.org \
--cc=sibi_mathew@satyam.com \
--cc=vikrant_basotra@satyam.com \
/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