* arch/powerpc/platforms/83xx/misc.c
@ 2012-01-24 5:34 Sridhar Addagada
2012-01-24 19:33 ` arch/powerpc/platforms/83xx/misc.c Scott Wood
0 siblings, 1 reply; 2+ messages in thread
From: Sridhar Addagada @ 2012-01-24 5:34 UTC (permalink / raw)
To: linuxppc-dev@lists.ozlabs.org
[-- Attachment #1: Type: text/plain, Size: 1860 bytes --]
I have a hang problem on my board based on MPC8377EWLAN, here is how i ran into problem. We are using u-boot to load the kernel, rootfs and device tree. The kernel parameters have been set
root=/dev/ram rw rootfstype=ext2 ramdisk_size=131322 console=ttyS0,115200
but I load the rootfs image generated of rootfs.jffs2 (we use buildroot), which results in kernel spitting the following message and hang. I even enabled the WDT (mpc83xx_wdt.c) the board does not get reset.
Any ideas would be appreciated.
Thanks
Sridhar
TCP cubic registered
Initializing XFRM netlink socket
NET: Registered protocol family 17
NET: Registered protocol family 15
8021q: 802.1Q VLAN Support v1.8
lib80211: common routines for IEEE802.11 drivers
Registering the dns_resolver key type
rtc-m41t80 0-0068: setting system clock to 2012-01-23 20:32:26 UTC (1327350746)
RAMDISK: Couldn't find valid RAM disk image starting at 0.
List of all partitions:
1f00 512 mtdblock0 (driver?)
1f01 128 mtdblock1 (driver?)
1f02 5120 mtdblock2 (driver?)
1f03 10240 mtdblock3 (driver?)
1f04 128 mtdblock4 (driver?)
1f05 5120 mtdblock5 (driver?)
1f06 10240 mtdblock6 (driver?)
1f07 128 mtdblock7 (driver?)
1f08 128 mtdblock8 (driver?)
1f09 99328 mtdblock9 (driver?)
No filesystem could mount root, tried: ext2 squashfs
Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(1,0)
Call Trace:
[cf82bef0] [c0007fa0] show_stack+0x4c/0x144 (unreliable)
[cf82bf30] [c02e8074] panic+0xac/0x1f8
[cf82bf80] [c03c3df0] mount_block_root+0x288/0x2ac
[cf82bfc0] [c03c401c] prepare_namespace+0x1a0/0x1ec
[cf82bfe0] [c03c3248] kernel_init+0x114/0x130
[cf82bff0] [c000d768] kernel_thread+0x4c/0x68
Rebooting in 180 seconds..
[-- Attachment #2: Type: text/html, Size: 2874 bytes --]
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: arch/powerpc/platforms/83xx/misc.c
2012-01-24 5:34 arch/powerpc/platforms/83xx/misc.c Sridhar Addagada
@ 2012-01-24 19:33 ` Scott Wood
0 siblings, 0 replies; 2+ messages in thread
From: Scott Wood @ 2012-01-24 19:33 UTC (permalink / raw)
To: Sridhar Addagada; +Cc: linuxppc-dev@lists.ozlabs.org
On 01/23/2012 11:34 PM, Sridhar Addagada wrote:
> I have a hang problem on my board based on MPC8377EWLAN, here is how i
> ran into problem. We are using u-boot to load the kernel, rootfs and
> device tree. The kernel parameters have been set
>
> root=/dev/ram rw rootfstype=ext2 ramdisk_size=131322 console=ttyS0,115200
>
> but I load the rootfs image generated of rootfs.jffs2
JFFS2 is for use directly from flash, not as a ramdisk. If you want to
use JFFS2, burn it to flash and specify the appropriate mtd device. If
you want to use an initial ramdisk, use ext2. Or better, use initramfs
(gzipped CPIO archive).
-Scott
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2012-01-24 19:33 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-01-24 5:34 arch/powerpc/platforms/83xx/misc.c Sridhar Addagada
2012-01-24 19:33 ` arch/powerpc/platforms/83xx/misc.c Scott Wood
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.