Team,
I use the imx27 ADS board and a Linux Redhat EL ver 5 Server based host
machine. I took latest from LTIB and compiled a kernel. I just want to run
s simple gstreamer based application and play a video on ADS. My kernel
size is less than 2 MB while the size of file system is around 42 MB. I
get an error like,
------------------------------------------------------------------------------
input: mxc_ts as /class/input/input1
mxc input touchscreen loaded
mxc_rtc mxc_rtc.0: setting the system clock to 1970-01-01 00:06:41 (401)
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00000000:
0x6752 instead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00000008:
0x2005 instead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x0000000c:
0x1006 instead
......
......
mpty flash at 0x0005ea64 ends at 0x0005ea80
Empty flash at 0x0005ea94 ends at 0x0005eab0
Empty flash at 0x0005eac4 ends at 0x0005eae0
Empty flash at 0x0005eaf4 ends at 0x0005eb10
Empty flash at 0x0005eb14 ends at 0x0005eb18
......
......
Cowardly refusing to erase blocks on filesystem with no valid JFFS2 nodes
empty_blocks 0, bad_blocks 0, c->nr_blocks 112
VFS: Cannot open root device "mtdblock2" or unknown-block(31,2)
Please append a correct "root=" boot option; here are the available
partitions:
1f00 512 mtdblock0 (driver?)
1f01 2048 mtdblock1 (driver?)
1f02 14336 mtdblock2 (driver?)
1f03 12288 mtdblock3 (driver?)
1f04 12 mtdblock4 (driver?)
1f05 4 mtdblock5 (driver?)
1f06 256 mtdblock6 (driver?)
1f07 1616 mtdblock7 (driver?)
1f08 114688 mtdblock8 (driver?)
1f09 12 mtdblock9 (driver?)
1f0a 4 mtdblock10 (driver?)
Kernel panic - not syncing: VFS: Unable to mount root fs on
unknown-block(31,2)
----------------------------------------------------------------------------
I see a kernel panic. The commands I used to load kernel and root fs are
as under:
==========================================================================
REDBOOT>load -r -b 0x100000 zImage
REDBOOT> fis create kernel
To load rootfs.jffs2 file
REDBOOT >load -r -b 0x100000 rootfs.jffs2
REDBOOT >fis create root -l 0x6D00000
loading is done
REDBOOT >fis load kernel
REDBOOT>exec -b 0x100000 -l 0x200000 -c "noinitrd console=ttymxc0,115200
root=/dev/mtdblock2 rootfstype=jffs2 rw init=linuxrc ip=none
mtdparts=none"
==========================================================================
Can any body please let me know what is wrong with the above config?
regards,
Rajesh Marathe.
_______________________________________________
LTIB home page: http://ltib.org
Ltib mailing list
address@hidden
http://lists.nongnu.org/mailman/listinfo/ltib