ltib
[Top][All Lists]
Advanced

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

Re: [Ltib] Problem while booting up kernel with JFFS2 File system.


From: Nirmala
Subject: Re: [Ltib] Problem while booting up kernel with JFFS2 File system.
Date: Thu, 11 Feb 2010 14:21:19 -0500
User-agent: Thunderbird 2.0.0.22 (X11/20090625)

Hi Rajesh,
I guess you need to set the boot arguments to boot from jffs2 image something like below

setenv jffsargs console=ttyCPM0,115200 panic=10 root=1f03 rw rootfstype=jffs2 mtdparts=physmap-flash.0:8K(reserved),56K(fdt),1408K(uimage),5696K(rootfs),256K(uboot),256K(ubenv),512K(configs) noapic acpi=off nofb setenv runfromjffs ping <ip> \; setenv bootargs \$jffsargs \;bootm < addr> - <addr>
setenv bootcmd run runfromjffs; saveenv

change values depending on your configuration, then boot.

Hope it helps
Nirmala

Rajesh Marathe wrote:
Hello,

I am using latest CVS LTIB + IMX27 based Development board. I am able to
boot the kernel and load/run my application on the Dev board when I
operate in NFS File System mode. I changed this to JFFS2 File System
mode and built the kernel and rootfs.jffs2 images. I download the images
and boot fails with kernel panic. Following are the messages displayed:

==============================================================
Freeing init memory:
480K Warning: unable to open an initial console. Failed to execute linuxrc. Attempting defaults... Kernel panic - not syncing: No init found. Try passing init= option to
kernel.
================================================================

I did see that '/dev/console' is part of my file system. I have passed
'init=' option while executing kernel and despite that I get the above
messages.

Please let me know how to correct the above problem.

regards,
Rajesh Marathe.




_______________________________________________
LTIB home page: http://ltib.org

Ltib mailing list
address@hidden
http://lists.nongnu.org/mailman/listinfo/ltib






reply via email to

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