Nios® V/II Embedded Design Suite (EDS)
Support for Embedded Development Tools, Processors (SoCs and Nios® V/II processor), Embedded Development Suites (EDSs), Boot and Configuration, Operating Systems, C and C++

Can't mount jffs2 from epcs

Altera_Forum
Honored Contributor II
1,149 Views

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!
0 Kudos
2 Replies
Altera_Forum
Honored Contributor II
313 Views

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

0 Kudos
Altera_Forum
Honored Contributor II
313 Views

 

--- 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
0 Kudos
Reply