Powerpc Kernel 2.6.26.5 boot panic when call cfi_probe_chip()

g r1x gr1xmail at gmail.com
Sat Sep 19 02:29:40 EST 2009


2009/9/18 g r1x <gr1xmail at 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,
};
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ozlabs.org/pipermail/linuxppc-dev/attachments/20090919/5003f3b3/attachment.htm>


More information about the Linuxppc-dev mailing list