<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 10pt;
font-family:Verdana
}
--></style>
</head>
<body class='hmmessage'>
Hello,<br><p style="margin-bottom: 0cm;"><br>I am Garazi and I am
working in the Electronic Design Group at the University of the
Basque Country.<br><br><br>I'm running the Xilinx git kernel 2.6.31
from git.xilinx.com on a V5 PPC440 CORE( Xilinx ML507). We have a NOR CFI
flash device. <br><br>Flash chip has been particionated according to
this table:</p><p style="margin-bottom: 0cm;"><br></p><table class="ecxecxecxMsoNormalTable" style="margin-left: -0.25pt; border-collapse: collapse;" border="0" cellpadding="0" cellspacing="0"><tbody><tr style="height: 25.85pt;"><td style="border-style: solid none none solid; border-color: black -moz-use-text-color black black; border-width: 1pt medium 1pt 1pt; padding: 0cm 5.4pt; width: 131.4pt; height: 25.85pt;" valign="top" width="175"><p style="text-align: justify;" class="ecxecxecxMsoNormal"><span style="font-size: 12pt; line-height: 115%; font-family: 'Times New Roman','serif';"> </span></p>
</td>
<td style="border-style: solid none none solid; border-color: black -moz-use-text-color black black; border-width: 1pt medium 1pt 1pt; padding: 0cm 5.4pt; width: 125.75pt; height: 25.85pt;" valign="top" width="168">
<p style="text-align: justify;" class="ecxecxecxMsoNormal"><span style="font-size: 12pt; line-height: 115%; font-family: 'Times New Roman','serif';">START ADDRESS<br>
</span></p>
</td>
<td style="border-style: solid none none solid; border-color: black -moz-use-text-color black black; border-width: 1pt medium 1pt 1pt; padding: 0cm 5.4pt; width: 125.75pt; height: 25.85pt;" valign="top" width="168">
<p style="text-align: justify;" class="ecxecxecxMsoNormal"><span style="font-size: 12pt; line-height: 115%; font-family: 'Times New Roman','serif';">OFFSET</span></p>
</td>
<td style="border-style: solid solid none; border-color: black; border-width: 1pt; padding: 0cm 5.4pt; width: 126.3pt; height: 25.85pt;" valign="top" width="168">
<p style="text-align: justify;" class="ecxecxecxMsoNormal"><span style="font-size: 12pt; line-height: 115%; font-family: 'Times New Roman','serif';">SIZE<br>
</span></p>
</td>
<td style="border: medium none ; height: 25.85pt;" height="34" width="0"> </td>
</tr>
<tr style="height: 25.85pt;">
<td style="border-style: none none none solid; border-color: -moz-use-text-color -moz-use-text-color black black; border-width: medium medium 1pt 1pt; padding: 0cm 5.4pt; width: 131.4pt; height: 25.85pt;" valign="top" width="175">
<p style="text-align: justify;" class="ecxecxecxMsoNormal"><span style="font-size: 12pt; line-height: 115%; font-family: 'Times New Roman','serif';">LINUX</span></p>
</td>
<td style="border-style: none none none solid; border-color: -moz-use-text-color -moz-use-text-color black black; border-width: medium medium 1pt 1pt; padding: 0cm 5.4pt; width: 125.75pt; height: 25.85pt;" valign="top" width="168">
<p style="text-align: justify;" class="ecxecxecxMsoNormal"><span style="font-size: 12pt; line-height: 115%; font-family: 'Times New Roman','serif';">0xFE000000</span></p>
</td>
<td style="border-style: none none none solid; border-color: -moz-use-text-color -moz-use-text-color black black; border-width: medium medium 1pt 1pt; padding: 0cm 5.4pt; width: 125.75pt; height: 25.85pt;" valign="top" width="168">
<p style="text-align: justify;" class="ecxecxecxMsoNormal"><span style="font-size: 12pt; line-height: 115%; font-family: 'Times New Roman','serif';">0x00000000</span></p>
</td>
<td style="border-style: none solid; border-color: -moz-use-text-color black black; border-width: medium 1pt 1pt; padding: 0cm 5.4pt; width: 126.3pt; height: 25.85pt;" valign="top" width="168">
<p style="text-align: justify;" class="ecxecxecxMsoNormal"><span style="font-size: 12pt; line-height: 115%; font-family: 'Times New Roman','serif';">0x00500000 (5M)</span></p>
</td>
<td style="border: medium none ; height: 25.85pt;" height="34" width="0"> </td>
</tr>
<tr style="height: 25.85pt;">
<td style="border-style: none none none solid; border-color: -moz-use-text-color -moz-use-text-color black black; border-width: medium medium 1pt 1pt; padding: 0cm 5.4pt; width: 131.4pt; height: 25.85pt;" valign="top" width="175">
<p style="text-align: justify;" class="ecxecxecxMsoNormal"><span style="font-size: 12pt; line-height: 115%; font-family: 'Times New Roman','serif';">JFFS2 Filesystem</span></p>
</td>
<td style="border-style: none none none solid; border-color: -moz-use-text-color -moz-use-text-color black black; border-width: medium medium 1pt 1pt; padding: 0cm 5.4pt; width: 125.75pt; height: 25.85pt;" valign="top" width="168">
<p style="text-align: justify;" class="ecxecxecxMsoNormal"><span style="font-size: 12pt; line-height: 115%; font-family: 'Times New Roman','serif';">0xFE500000</span></p>
</td>
<td style="border-style: none none none solid; border-color: -moz-use-text-color -moz-use-text-color black black; border-width: medium medium 1pt 1pt; padding: 0cm 5.4pt; width: 125.75pt; height: 25.85pt;" valign="top" width="168">
<p style="text-align: justify;" class="ecxecxecxMsoNormal"><span style="font-size: 12pt; line-height: 115%; font-family: 'Times New Roman','serif';">0x00500000</span></p>
</td>
<td style="border-style: none solid; border-color: -moz-use-text-color black black; border-width: medium 1pt 1pt; padding: 0cm 5.4pt; width: 126.3pt; height: 25.85pt;" valign="top" width="168">
<p style="text-align: justify;" class="ecxecxecxMsoNormal"><span style="font-size: 12pt; line-height: 115%; font-family: 'Times New Roman','serif';">0x01600000 (22M)</span></p>
</td>
<td style="border: medium none ; height: 25.85pt;" height="34" width="0"> </td>
</tr>
<tr style="height: 25.85pt;">
<td style="border-style: none none none solid; border-color: -moz-use-text-color -moz-use-text-color black black; border-width: medium medium 1pt 1pt; padding: 0cm 5.4pt; width: 131.4pt; height: 25.85pt;" valign="top" width="175">
<p style="text-align: justify;" class="ecxecxecxMsoNormal"><span style="font-size: 12pt; line-height: 115%; font-family: 'Times New Roman','serif';">UNUSED</span></p>
</td>
<td style="border-style: none none none solid; border-color: -moz-use-text-color -moz-use-text-color black black; border-width: medium medium 1pt 1pt; padding: 0cm 5.4pt; width: 125.75pt; height: 25.85pt;" valign="top" width="168">
<p style="text-align: justify;" class="ecxecxecxMsoNormal"><span style="font-size: 12pt; line-height: 115%; font-family: 'Times New Roman','serif';">0xFFB00000</span></p>
</td>
<td style="border-style: none none none solid; border-color: -moz-use-text-color -moz-use-text-color black black; border-width: medium medium 1pt 1pt; padding: 0cm 5.4pt; width: 125.75pt; height: 25.85pt;" valign="top" width="168">
<p style="text-align: justify;" class="ecxecxecxMsoNormal"><span style="font-size: 12pt; line-height: 115%; font-family: 'Times New Roman','serif';">0x01B00000</span></p>
</td>
<td style="border-style: none solid; border-color: -moz-use-text-color black black; border-width: medium 1pt 1pt; padding: 0cm 5.4pt; width: 126.3pt; height: 25.85pt;" valign="top" width="168">
<p style="text-align: justify;" class="ecxecxecxMsoNormal"><span style="font-size: 12pt; line-height: 115%; font-family: 'Times New Roman','serif';">0x00114000(4896 K) </span></p>
</td>
<td style="border: medium none ; height: 25.85pt;" height="34" width="0"> </td>
</tr>
<tr style="height: 25.85pt;">
<td style="border-style: none none solid solid; border-color: -moz-use-text-color -moz-use-text-color black black; border-width: medium medium 1pt 1pt; padding: 0cm 5.4pt; width: 131.4pt; height: 25.85pt;" valign="top" width="175">
<p style="text-align: justify;" class="ecxecxecxMsoNormal"><span style="font-size: 12pt; line-height: 115%; font-family: 'Times New Roman','serif';">LOADER</span></p>
</td>
<td style="border-style: none none solid solid; border-color: -moz-use-text-color -moz-use-text-color black black; border-width: medium medium 1pt 1pt; padding: 0cm 5.4pt; width: 125.75pt; height: 25.85pt;" valign="top" width="168">
<p style="text-align: justify;" class="ecxecxecxMsoNormal"><span style="font-size: 12pt; line-height: 115%; font-family: 'Times New Roman','serif';">0xFFFE0000</span></p>
</td>
<td style="border-style: none none solid solid; border-color: -moz-use-text-color -moz-use-text-color black black; border-width: medium medium 1pt 1pt; padding: 0cm 5.4pt; width: 125.75pt; height: 25.85pt;" valign="top" width="168">
<p style="text-align: justify;" class="ecxecxecxMsoNormal"><span style="font-size: 12pt; line-height: 115%; font-family: 'Times New Roman','serif';">0x01FE0000</span></p>
</td>
<td style="border-style: none solid solid; border-color: -moz-use-text-color black black; border-width: medium 1pt 1pt; padding: 0cm 5.4pt; width: 126.3pt; height: 25.85pt;" valign="top" width="168">
<p style="text-align: justify;" class="ecxecxecxMsoNormal"><span style="font-size: 12pt; line-height: 115%; font-family: 'Times New Roman','serif';">0x00020000(128K)</span></p></td></tr></tbody></table><p style="margin-bottom: 0cm;"><br></p>
<p style="margin-bottom: 0cm;">In order to get this four partitions, my .dts file has been
configured this way:<br><br><font style="" color="#ff0000"><b>bootargs =
"console=ttyS0 ip=on root=/dev/ram rw <br>
mtdparts=fe000000.flash:5M(zImage),22M(rootfs),4896k(unused),128k(loader)";</b></font><br><br>First
of all, linux kernel was booted from Flash, using a ramdisk for the
flash system and a loader , and it worked.<br><br>Now, I am trying to
mount JFFS2 file system but I can not. I have tried it in two
different ways:</p><br>1. Mounting JFFS2 file system when the
kernel has already booted.<br>2. Changing my dts file and mounting JFFS2
automatically when kernel boots.<br><br><font style="" color="#ff0000"><b>bootargs =
"console=ttyS0 ip=on root=/dev/mtdblock1 rw rootfs=jffs2
<br>
mtdparts=fe000000.flash:5M(zImage),22M(rootfs),4896k(unused),128k(loader)";</b></font><br><br> I
guess that the problem is related to MTD driver, because mtd
partitions are not correctly created. I check partition file and just one of four partition appears<br>(cat /proc/partitions --> mtdblock0 just
appears).<br><br>I have read in the Internet that there are other
people who have had the same problem when they have updated 2.6.28
kernel to 2.6.31 kernel. Although, there is no answer.<br><br>I would appreciate any kind of help.<br><br>Regards,<br><br>Garazi<br><br><br> <br /><hr />¿Sabes que la Videollamada de Messenger es GRATIS <a href='http://events.es.msn.com/windows-live/redes-sociales/default.aspx' target='_new'>¡Descúbrela!</a></body>
</html>