Go to previous topic
Go to next topic
Last Post 09 Nov 2006 09:49 AM by  ashwinb@logicpd.com
Busybox 1.2.2.1 run time error ?
 1 Replies
Author Messages
tomyang
New Member
New Member
Posts:


--
08 Nov 2006 07:52 PM
    Hi ..
    I used cross compiler to build busybox 1.2.2.1. And used the command

    [color=blue:1t2049xd]
    mkfs.jffs2 --eraseblock=0x40000 --pad=0x01000000 --little-endian --root=rfs --output=rootfs.jffs2


    to build root image. But It has the error message :
    [color=red:1t2049xd]
    VFS: Mounted root (jffs2 filesystem) readonly.
    Freeing init memory: 100K
    Warning: unable to open an initial console.
    Kernel panic - not syncing: No init found. Try passing init= option to kernel.


    Anyone can give me a tip ? Thanks a lot.
    ashwinb@logicpd.com
    New Member
    New Member
    Posts:


    --
    09 Nov 2006 09:49 AM
    Tom,

    How did you build the filesystem? You are missing, at the least, /dev/console. If you use Buildroot, it uses "fakeroot" to create the devices as described in target/generic/device_tables.txt

    Regards


    ---