[U-Boot-Users] 2.4.19-rmk7-ds1+JFFS and U-Boot.
Annamalai Prakash
prakash at comodogroup.com
Tue Jun 1 15:20:45 CEST 2004
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
More information about the U-Boot
mailing list