From: g r1x <gr1xmail@gmail.com>
To: linuxppc-dev@lists.ozlabs.org
Subject: Re: Powerpc Kernel 2.6.26.5 boot panic when call cfi_probe_chip()
Date: Sat, 19 Sep 2009 00:29:40 +0800 [thread overview]
Message-ID: <8abf57fa0909180929j418f9fb7t80a4f707b2fce4e1@mail.gmail.com> (raw)
In-Reply-To: <8abf57fa0909180837sc3864bcwb0cc2cb7b211c17d@mail.gmail.com>
[-- Attachment #1: Type: text/plain, Size: 554 bytes --]
2009/9/18 g r1x <gr1xmail@gmail.com>
> I'm working on a 440GX demo board with a flash chip s29gl256p(128k sector
> size, 32M total, CFI). I have tried 2 ways to add mtd partiton to the
> kernel, but failed with kernel panic. (kernel version: 2.6.26.5)
>
S29GL256p is pin strapped as a 16bit width
so in dts, I wrote:
bank-width = <2>;
device-width = <1>;
In OF driver:
#define CFG_FLASH_BUS_WIDTH 2
struct map_info s29gl_map = {
.name = "Nor Flash on Cerberus",
.size = CFG_FLASH_SIZE,
.bankwidth = CFG_FLASH_BUS_WIDTH,
};
[-- Attachment #2: Type: text/html, Size: 1252 bytes --]
prev parent reply other threads:[~2009-09-18 16:29 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-09-18 15:37 Powerpc Kernel 2.6.26.5 boot panic when call cfi_probe_chip() g r1x
2009-09-18 16:29 ` g r1x [this message]
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=8abf57fa0909180929j418f9fb7t80a4f707b2fce4e1@mail.gmail.com \
--to=gr1xmail@gmail.com \
--cc=linuxppc-dev@lists.ozlabs.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