<p class="MsoNormal"><span style="font-family:Arial,sans-serif;color:rgb(34,34,34)">Hi,</span><br style>
<span style>I&#39;m doing kernel porting to arm926 based FPGA board,very
minimal setup (uart + timer only)<span class="apple-converted-space"> </span></span><br style>
<span style>I&#39;m getting kernel panic after cramfs root file
system is mounted,I am expecting to enter login prompt after root file system
is mounted.</span><br style>
<br style>
<span style>Below are the details</span><br style>
<br style>
<span style>#define PLAT_PHYS_OFFSET      
0x80000000 (with 128 MB SDRAM)</span><br style>
<span style>#define CONFIG_PAGE_OFFSET  0xc0000000</span><br style>
<br style>
<br style>
<span style>Physical memory : 128MB (0x80000000 to 88000000)</span><br style>
<br style>
<span style>ZRELADDR = 0x80008000</span><br style>
<span style>PARAMS_PHYS = 0x80000100</span><br style>
<span style>INITRD_PHYS = 0x80800000</span><br style>
<br style>
<span style>Kernel cmd line : mem=32M console=ttySAC0,115200
root=/dev/ram0 rootfstype=cramfs init=/linuxrc initrd=0x80800000,8M
user_debug=31</span></p>

<p class="MsoNormal"><span style="font-size:8.0pt;font-family:&quot;Arial&quot;,&quot;sans-serif&quot;;color:#222222"> </span></p>

<p class="MsoNormal"><span style="font-size:8.0pt;font-family:&quot;Arial&quot;,&quot;sans-serif&quot;;color:#222222"> </span></p>

<p class="MsoNormal"><span style="font-family:Arial,sans-serif;color:rgb(34,34,34)">I am not using u-boot and doing all the required initializations
through trace32 cmm script.</span></p>

<p class="MsoNormal"><span style="font-family:Arial,sans-serif;color:rgb(34,34,34)"> </span></p>

<p class="MsoNormal"><span style="font-family:Arial,sans-serif;color:rgb(34,34,34)"> </span></p>

<p class="MsoNormal"><span style="color:rgb(34,34,34)"><font face="arial, helvetica, sans-serif">After compiling the kernel, when I load vmlinux(through trace32)
at 0x80008000, the kernel runs upto mounting the filesystem(though there is
some issue in mounting the filesystem).</font></span></p>

<p class="MsoNormal"><span style="color:rgb(34,34,34)"><font face="arial, helvetica, sans-serif"> </font></span></p>

<p class="MsoNormal"><span style="color:rgb(34,34,34)"><font face="arial, helvetica, sans-serif">But when I load zImage</font></span><span style="font-family:Arial,sans-serif;color:rgb(34,34,34)"> at the same address i.e 0x80008000, I am
getting </span></p>

<p class="MsoNormal"><span style="font-family:Arial,sans-serif;color:rgb(34,34,34)"> </span></p>

<p class="MsoNormal"><b><span style="font-family:Arial,sans-serif;color:rgb(34,34,34)">Uncompressing
Linux...</span></b></p>

<p class="MsoNormal"><b><span style="font-family:Arial,sans-serif;color:rgb(34,34,34)"> </span></b></p>

<p class="MsoNormal"><b><span style="font-family:Arial,sans-serif;color:rgb(34,34,34)">uncompression
error</span></b></p>

<p class="MsoNormal"><b><span style="font-family:Arial,sans-serif;color:rgb(34,34,34)"> </span></b></p>

<p class="MsoNormal"><b><span style="font-family:Arial,sans-serif;color:rgb(34,34,34)"> -- System halted</span></b></p>

<p class="MsoNormal"> </p>

<p class="MsoNormal"><span style="font-family:Arial,sans-serif;color:rgb(34,34,34)">in the console.</span></p>

<p class="MsoNormal"><span style="font-family:Arial,sans-serif;color:rgb(34,34,34)"> </span></p>

<p class="MsoNormal"><span style="font-family:Arial,sans-serif;color:rgb(34,34,34)">I made sure that I am enabling the config options CONFIG_XZ_DEC (xz
decompression support) through menuconfig.</span></p>

<p class="MsoNormal"><span style="font-family:Arial,sans-serif;color:rgb(34,34,34)">I suspected on the cramfs memory location and then tried loading only zImage at 0x80008000.,even after this the result is same.</span></p>


<p class="MsoNormal"><span style="font-family:Arial,sans-serif;color:rgb(34,34,34)"> </span></p>

<p class="MsoNormal"><span style="font-family:Arial,sans-serif;color:rgb(34,34,34)">Please let me know where could be the issue.<font size="1"></font></span></p>