public inbox for linuxppc-dev@ozlabs.org
 help / color / mirror / Atom feed
* Problem during mtd initialization
@ 2009-11-12  5:16 Divya
  0 siblings, 0 replies; only message in thread
From: Divya @ 2009-11-12  5:16 UTC (permalink / raw)
  To: linuxppc-dev, linux-mtd

[-- Attachment #1: Type: text/plain, Size: 2274 bytes --]

Hi,

We are working on MPC8640D based processor board with, 
Boot Loader version       : u-boot-2009-06 
Kernel version               : linux-2.6.30 (Downloaded from kernel.org)
RAM size                     : 1 GB
Flash memory size        : 256 MB

When we are booting the linux kernel, during mtd subsystem initialization the following error message is obtained

           # vmap allocation for size 268439552 failed: use vmalloc=<size> to increase size.
           # of-flash f0000000.bootflash: Failed to ioremap() flash region
           # of-flash: probe of f0000000.bootflash failed with error -12

It seems ioremap call during mtd initialization is failing.

The flash partitions are created through the device tree as follows,

           ranges = <0 0 0xf0000000 0x10000000 >;    // 256MB Boot flash
                        
                bootflash@0,0 {
                        compatible = "cfi-flash";
                        reg = <0 0 0x10000000>;
                        bank-width = <4>;
                        device-width = <2>;
                        #address-cells = <1>;
                        #size-cells = <1>;
                        partition@0 {
                                label = "dtb";
                                reg = <0x00000000 0x00100000>;
                                read-only;
                        };
                        partition@300000 {
                                label = "kernel";
                                reg = <0x00100000 0x00400000>;
                                read-only;
                        };
                        partition@400000 {
                                label = "fs";
                                reg = <0x00500000 0x00a00000>;
                        };
                        partition@700000 {
                                label = "firmware";
                                reg = <0x00f00000 0x00100000>;
                                read-only;
                        };
                };
 
Kindly provide us suggestions regarding this issue whether any kernel configuration changes need to be done or if any additional implementations required in flash memory mapping


Regards,
Divya

        


[-- Attachment #2: Type: text/html, Size: 8043 bytes --]

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2009-11-12  5:31 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-11-12  5:16 Problem during mtd initialization Divya

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox