Forum Discussion

Altera_Forum's avatar
Altera_Forum
Icon for Honored Contributor rankHonored Contributor
19 years ago

Can't mount jffs2 from epcs

It drive me crazy.

when I do according to

http://forum.niosforum.com/forum/index.php?showtopic=3174 (http://forum.niosforum.com/forum/index.php?showtopic=3174)

and mount the jffs2 fs from the epcs( the board is DE2 ,and EPCS is EPCS16)

try many times and not success.

the promot on the uClinux is:# mount –t jffs2 /dev/mtdblock0 /mnt

Eep. No valid nodes for ino# 1

or# mknod /dev/mtdblock0 b 31 0

mknod : /dev/mtdblock0 :file exists# mount –t jffs2 /dev/mtdblock0 /mnt

mount : Mounting /dev/mtdblock0 on /mnt : Device or resource busy

someone help me!

2 Replies

  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    --- Quote Start ---

    originally posted by hippo@Jul 10 2006, 01:17 PM

    try erase the jffs2 partition with nios2-flash-programmer .

    <div align='right'><{post_snapback}> (index.php?act=findpost&pid=16734)

    --- quote end ---

    --- Quote End ---

    I erase the jffs2 partition as following:

    nios2-flash-programmer --epcs --erase-all --base=0x00900800

    and mount the jffs2, the problem still exist:# mount –t jffs2 /dev/mtdblock0 /mnt

    Eep. No valid nodes for ino# 1

    or# mknod /dev/mtdblock0 b 31 0

    mknod : /dev/mtdblock0 :file exists# mount –t jffs2 /dev/mtdblock0 /mnt

    mount : Mounting /dev/mtdblock0 on /mnt : Device or resource busy

    ???

    What the problem indeed? http://forum.niosforum.com/work2/style_emoticons/<#EMO_DIR#>/sad.gif