public inbox for linuxppc-dev@ozlabs.org
 help / color / mirror / Atom feed
From: "Divya" <divya.chandra@datapatterns.co.in>
To: <linuxppc-dev@ozlabs.org>, <linux-mtd@lists.infradead.org>
Subject: Problem during mtd initialization
Date: Thu, 12 Nov 2009 10:46:46 +0530	[thread overview]
Message-ID: <F78445ADD07D4A5DA333F89763F7069D@itd407> (raw)

[-- 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 --]

                 reply	other threads:[~2009-11-12  5:31 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=F78445ADD07D4A5DA333F89763F7069D@itd407 \
    --to=divya.chandra@datapatterns.co.in \
    --cc=linux-mtd@lists.infradead.org \
    --cc=linuxppc-dev@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