<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<META content="MSHTML 6.00.6001.18000" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT face=Arial size=2>Hi,</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>We are working on MPC8640D based processor board
with, </FONT></DIV>
<DIV><FONT face=Arial size=2>Boot Loader
version : u-boot-2009-06 </FONT></DIV>
<DIV><FONT face=Arial
size=2>Kernel version
: linux-2.6.30 (Downloaded from kernel.org)</FONT></DIV>
<DIV><FONT face=Arial size=2>RAM size
: 1
GB</FONT></DIV>
<DIV><FONT face=Arial size=2>Flash memory size
: 256 MB</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>When we are booting the linux kernel, during mtd
subsystem initialization the following error message is
obtained</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>
# vmap allocation for size 268439552 failed: use
vmalloc=<size> to increase
size.<BR> #
of-flash f0000000.bootflash: Failed to ioremap() flash
region<BR> # of-flash:
probe of f0000000.bootflash failed with error -12</FONT></DIV><FONT face=Arial
size=2>
<DIV><BR>It seems ioremap call during mtd initialization
is failing.</DIV>
<DIV> </DIV>
<DIV>The flash partitions are created through the device tree as follows,</DIV>
<DIV> </DIV>
<DIV> ranges =
<0 0 0xf0000000 0x10000000 >; // 256MB Boot
flash<BR> </DIV>
<DIV>
<A href="mailto:bootflash@0,0">bootflash@0,0</A>
{<BR>
compatible =
"cfi-flash";<BR>
reg = <0 0
0x10000000>;<BR>
bank-width =
<4>;<BR>
device-width =
<2>;<BR>
#address-cells =
<1>;<BR>
#size-cells =
<1>;<BR>
<A href="mailto:partition@0">partition@0</A>
{<BR>
label =
"dtb";<BR>
reg = <0x00000000
0x00100000>;<BR>
read-only;<BR>
};<BR>
<A href="mailto:partition@300000">partition@300000</A>
{<BR>
label =
"kernel";<BR>
reg = <0x00100000
0x00400000>;<BR>
read-only;<BR>
};<BR>
<A href="mailto:partition@400000">partition@400000</A>
{<BR>
label =
"fs";<BR>
reg = <0x00500000
0x00a00000>;<BR>
};<BR>
<A href="mailto:partition@700000">partition@700000</A>
{<BR>
label =
"firmware";<BR>
reg = <0x00f00000
0x00100000>;<BR>
read-only;<BR>
};<BR>
};<BR> </FONT></DIV>
<DIV><FONT face=Arial size=2>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</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>Regards,</FONT></DIV>
<DIV><FONT face=Arial size=2>Divya</FONT></DIV>
<DIV> </DIV>
<DIV><FONT face=Arial size=2> </FONT></DIV>
<DIV> </DIV>
<DIV><FONT face=Arial size=2></FONT><FONT face=Arial
size=2></FONT> </DIV></BODY></HTML>