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