ltib
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Ltib] Kernel panic after update the latest source for LPC32xx targ


From: Li Yuan-Lung
Subject: Re: [Ltib] Kernel panic after update the latest source for LPC32xx target
Date: Tue, 3 Aug 2010 11:19:42 +0800

Dear all,
Finally I found where the problem is.
The mem-map changed in MTD block!
The old one is:
Creating 4 MTD partitions on "lpc32xx_nand":
0x000000000000-0x000000168000 : "phy3250-boot"
0x000000168000-0x000000190000 : "phy3250-ubt-prms"
0x000000190000-0x000000590000 : "phy3250-kernel"
0x000000590000-0x000004000000 : "phy3250-rootfs"

The new one is:
Creating 5 MTD partitions on "lpc32xx_nand":
0x000000000000-0x000000064000 : "phy3250-boot"
0x000000064000-0x0000001f4000 : "phy3250-uboot"
0x0000001f4000-0x000000204000 : "phy3250-ubt-prms"
0x000000204000-0x000000604000 : "phy3250-kernel"
0x000000604000-0x000004000000 : "phy3250-rootfs"

Could anybody or any document tell me why? Will this mapping be changed again in the future?
This changes impact the burning procedure of our sample target!

Henry

2010/8/3 Li Yuan-Lung <henry.li@climax.com.tw>
Dear NXP friends,
After using "ltib -m distclean" and re-build the kernel, the booting becomes kernel panic, the build config is just the same as old one. Is there any modification need to be change with the menuconfig? Thank you.

The panics messages:
   ........................................................................................
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00188024: 0x7366 instead
Further such events for this erase block will not be printed
VFS: Mounted root (jffs2 filesystem) on device 31:3.
Freeing init memory: 116K
Failed to execute /sbin/init.  Attempting defaults...
Kernel panic - not syncing: No init found.  Try passing init= option to kernel. See Linux Documentation/init.txt for guidance.
Backtrace:
[<c00299fc>] (dump_backtrace+0x0/0x108) from [<c0029f58>] (dump_stack+0x18/0x1c)
 r6:00000000 r5:00000000 r4:c0359834
[<c0029f40>] (dump_stack+0x0/0x1c) from [<c00440f0>] (panic+0x5c/0xf8)
[<c0044094>] (panic+0x0/0xf8) from [<c00255d8>] (init_post+0xb8/0xe8)
 r3:c3c05e08 r2:00000003 r1:00000002 r0:c02ed374
[<c0025520>] (init_post+0x0/0xe8) from [<c0008998>] (kernel_init+0x120/0x160)
 r4:c0359838
[<c0008878>] (kernel_init+0x0/0x160) from [<c0047598>] (do_exit+0x0/0x684)
 r4:00000000


Henry



--
Best Regards,

Henry Li
SW Engineer of Climax Co.
TEL: +886-2-2794-0001 ext.231
FAX: +886-2-2792-6618

reply via email to

[Prev in Thread] Current Thread [Next in Thread]