Hi,
I have been unable to boot with initramfs on TS7250 :( I read up a
couple of posts and also some howtos on initramfs but still get the
kernel VFS panic! Here is what I've done so far:
- Downloaded an armimage.tar rootfs from one of the links found in
this group.
- Just to confirm that the image is for arm, ran `file
armimage/bin/busybox` command which says busybox is ELF ARM, so I
guess the image is ok. Also it seems to have all the important dirs in
place. There is no file in / by name init though. I read somewhere
that Linux needs to execute this in case of initramfs, but it can be
overridden with init=/bin/sh option given as kernel command line.
- Created a file called initramfs_data.cpio.gz using the following
command from the armimage directory:
find . | cpio -o -H ../newc | gzip > ../initramfs_data_cpio.gz
- Replaced the $KERNEL_SRC/usr/initramfs_data.cpio.gz with the one
generated above.
- Compile the kernel with make ARCH=arm CROSS_COMPILE=arm-linux- . Is
there any other target given to make so that initramfs is included in
the kernel ?
- Load zImage via tftp
- Boot with the following option
exec -c "console=ttyAM0,115200 init=/bin/sh"
- When I boot, I get the kernel panic:
"No filesystem could mount root, tried: ext3 ext2 vfat
Kernel panic - not syncing: VFS: Unable to mount root fs on
unknown-block(31,1)"
Any ideas what I am missing here ? I am using a debian host.
thanks,
-siddharth
Yahoo! Groups Links
<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/ts-7000/
<*> Your email settings:
Individual Email | Traditional
<*> To change settings online go to:
http://groups.yahoo.com/group/ts-7000/join
(Yahoo! ID required)
<*> To change settings via email:
<*> To unsubscribe from this group, send an email to:
<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
|