[U-Boot-Users] 2.4.19-rmk7-ds1+JFFS and U-Boot.

Hi...
I am trying to load jffs file system from my flash in my ixdp425 board. my kernel shows...JFFS file system is mounted. but there is no prompt there.
I want to know, whether i m following correct steps with u-BOOT or not.
1. created jffs file system using mkfs.jffs2 (mkfs.jffs2 -e 0x20000 -b -r /root/Prakash/RAMD/temp/ -o ram.img. ) 2. made the ram.img as ram.uimg using mkimage -T ramdisk -C gzip -a 0x00440000 option. (My kernel boot message shows 0x0044000 as user partition.so that i m using it for RF.)
3. Made ram.uimag as srec file. and downloaded into flash at 0x50160000.
Now i m passing the following as my command line args.
=root=/dev/mtdblock1 mem=16M rootfstype=jffs console=ttyS0,115200 init=/bin/sh
kernel bootup message...
...... Using static MTD partitions. Creating 2 MTD partitions on "IXP425 Flash": 0x00040000-0x00440000 : "image" mtd: Giving out device 0 to image 0x00440000-0x00fc0000 : "user" mtd: Giving out device 1 to user .... ....
VFS: Mounted root (jffs filesystem). Freeing init memory: 204K Warning: unable to open an initial console. Kernel panic: No init found. Try passing init= option to kernel.
Expecting ur help
I m struggling with this problem last 5 days.
Thanks Prakash

In message 1086096045.29476.17.camel@Gargouille.comodoindia you wrote:
I am trying to load jffs file system from my flash in my ixdp425
board. my kernel shows...JFFS file system is mounted. but there is no prompt there.
You must learn to be more precise. Please pay attention to all details, may they be little or not.
1. created jffs file system using mkfs.jffs2 (mkfs.jffs2 -e 0x20000 -b -r /root/Prakash/RAMD/temp/ -o ram.img.
This is wrong. This does not create a JFFS filesystem.
It creates a JFFS2 filesystem, which is something different.
Also, the name "ram.img" is misleading at best.
2. made the ram.img as ram.uimg using mkimage -T ramdisk -C gzip
-a 0x00440000 option.
What should that be good for? There is no use in adding a mkimage wrapper around a filesystem image.
Now i m passing the following as my command line args.
=root=/dev/mtdblock1 mem=16M rootfstype=jffs console=ttyS0,115200 init=/bin/sh
This is wrong again. Since you created a JFFS2 image, your filesystem type is NOT jffs. It is jffs2.
I m struggling with this problem last 5 days.
Why don't you try working on ONE configurtation only, and get this running? Fighting a war on two or more fronts is not that easy.
Best regards,
Wolfgang Denk
participants (2)
-
Annamalai Prakash
-
Wolfgang Denk