<p class="MsoNormal">Hi,</p>
<p class="MsoNormal"> </p>
<p class="MsoNormal">I'm doing kernel porting to arm926 based FPGA board, with
very minimal setup.</p>
<p class="MsoNormal">Only UART and timer devices are available as part of FPGA.</p>
<p class="MsoNormal"> </p>
<p class="MsoNormal">Board details –</p>
<p class="MsoNormal"> </p>
<p class="MsoNormal">Using ARM926e-js processor with 128MB SDRAM., Clock-33Mhz</p>
<p class="MsoNormal">SDRAM Size =
128M </p>
<p class="MsoNormal"> </p>
<p class="MsoNormal">CONFIG_PAGE_OFFSET = 0xc0000000</p>
<p class="MsoNormal">CONFIG_PHYS_OFFSET= 0x80000000</p>
<p class="MsoNormal"> </p>
<p class="MsoNormal">Loading the cramfs at
0x82000000</p>
<p class="MsoNormal">Start address for kernel is 0x80008000</p>
<p class="MsoNormal">Commandline(atags address) is 0x80000100</p>
<p class="MsoNormal"> </p>
<p class="MsoNormal">Kernel Lowmem = 32M </p>
<p class="MsoNormal">HighMEM is not configured.</p>
<p class="MsoNormal"> </p>
<p class="MsoNormal">Vmalloc_start = 0xC40000000</p>
<p class="MsoNormal">VMALLOC_END = Vmalloc_start + 64M = 0xC8000000</p>
<p class="MsoNormal"> </p>
<p class="MsoNormal">After mounting the CRAMFS filesystem, we are expecting a
login prompt. But we are getting kernel panic message as shown below.</p>
<p class="MsoNormal">Please help me in fix the issue.</p>
<p class="MsoNormal">Kindly let me know if further information is needed.</p>
<p class="MsoNormal"> </p>
<p class="MsoNormal"><b><u>Console message:</u></b></p>
<p class="MsoNormal">VFS: Mounted root (cramfs filesystem) readonly on device
1:0.</p>
<p class="MsoNormal">Freeing init memory: 76K</p>
<p class="MsoNormal">Error -3 while decompressing!</p>
<p class="MsoNormal">c018b094(3087)->c016f000(4096)</p>
<p class="MsoNormal">Error -5 while decompressing!</p>
<p class="MsoNormal">c018bca3(3740)->c0170000(4096)</p>
<p class="MsoNormal">Error -5 while decompressing!</p>
<p class="MsoNormal">c018cb3f(3116)->c0171000(4096)</p>
<p class="MsoNormal">Error -5 while decompressing!</p>
<p class="MsoNormal">c018e76b(5370)->c0172000(4096)</p>
<p class="MsoNormal">Error -3 while decompressing!</p>
<p class="MsoNormal">c018b094(3087)->c016f000(4096)</p>
<p class="MsoNormal">Failed to execute /linuxrc.
Attempting defaults...</p>
<p class="MsoNormal">Error -3 while decompressing!</p>
<p class="MsoNormal">c018e8d8(3946)->c0173000(4096)</p>
<p class="MsoNormal">Error -5 while decompressing!</p>
<p class="MsoNormal">c018f842(4930)->c0174000(4096)</p>
<p class="MsoNormal">Error -5 while decompressing!</p>
<p class="MsoNormal">c0190b84(4854)->c0175000(4096)</p>
<p class="MsoNormal">Error -3 while decompressing!</p>
<p class="MsoNormal">c018e8d8(3946)->c0173000(4096)</p>
<p class="MsoNormal">Error -3 while decompressing!</p>
<p class="MsoNormal">c018b094(3087)->c016f000(4096)</p>
<p class="MsoNormal"><b><u>Panic meaasge:</u></b></p>
<p class="MsoNormal">Kernel panic - not syncing: No init found. Try passing init= option to kernel. See Linux
Documentation/init.txt for guidance.</p>
<p class="MsoNormal">Backtrace:</p>
<p class="MsoNormal">[<c000c378>] (dump_backtrace+0x0/0x10c) from
[<c000c49c>] (dump_stack+0x18/0x1c)</p>
<p class="MsoNormal"> r6:c001afb4
r5:c0183760 r4:c0183780 r3:60000013</p>
<p class="MsoNormal">[<c000c484>] (dump_stack+0x0/0x1c) from
[<c00179d4>] (panic+0x64/0x1b0)</p>
<p class="MsoNormal">[<c0017970>] (panic+0x0/0x1b0) from [<c0008804>]
(init_post+0xb0/0xd4)</p>
<p class="MsoNormal"> r3:c3824000
r2:c383a100 r1:c0204740 r0:c014595c</p>
<p class="MsoNormal"> r7:00000013</p>
<p class="MsoNormal">[<c0008754>] (init_post+0x0/0xd4) from
[<c0163918>] (kernel_init+0xfc/0x12c)</p>
<p class="MsoNormal">[<c016381c>] (kernel_init+0x0/0x12c) from
[<c001afb4>] (do_exit+0x0/0x694)</p>
<p class="MsoNormal"> </p><p class="MsoNormal"><br></p><p class="MsoNormal">Karthik.</p>