ts-7000
[Top] [All Lists]

Re: [ts-7000] initramfs 2.6.19 on TS7250

To:
Subject: Re: [ts-7000] initramfs 2.6.19 on TS7250
From: "Triffid Hunter" <>
Date: Mon, 27 Aug 2007 10:38:45 +1000
On Sun, 26 Aug 2007 15:49:54 +1000, siddh_c <> wrote:

> 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.

CONFIG_INITRAMFS_SOURCE? kernel won't load the initramfs unless you tell  
it that it's supposed to..

When I make kernels, I simply point the kernel at the directory which  
contains the files for my initramfs, and it figures the rest out

> 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/
 

<Prev in Thread] Current Thread [Next in Thread>
Admin

Disclaimer: Neither Andrew Taylor nor the University of NSW School of Computer and Engineering take any responsibility for the contents of this archive. It is purely a compilation of material sent by many people to the birding-aus mailing list. It has not been checked for accuracy nor its content verified in any way. If you wish to get material removed from the archive or have other queries about the archive e-mail Andrew Taylor at this address: andrewt@cse.unsw.EDU.AU