Jump to content

try to mount a yaffs2 img file


Guest odoxx

Recommended Posts

Guest odoxx

Hi

i'm trying to mount a system.img file using the yaffs2 linux driver.

i followed this steps:

1 - be sure to have build essential package installed, on debian bassed distros, install module assistant and execute m-a and then select update and prepare

2 - download: http://www.aleph1.co.uk/cgi-bin/viewcvs.cgi/ and extrat to /opt/yaffs2

3 - in a terminal in this path execute the following comands:

"
sudo su
" -> (get root)

"
make clean
" -> (clean the working dir)

"
make
" -> (to bulid the modules)

"
make install_modules
" -> to install the modules

"
depmod -a
" -> to rebuild modules dependencies

"
modprobe yaffs2
" to load the module

Note: in some distros you have to ensure that /lib/modules/2.6.**your_kernel**/build is a link to /usr/src/linux-headers-**your_kernel**

also be sure to

Now i have the module build and installed, but i'm not able to mount any img file, using "mount -o loop -t yaffs2 system.img /mnt"

Any help?

refferences used:

http://jingfenghanmax.blogspot.com/2010/02/build-yaffs2.html

http://www.yaffs.net/lurker/message/200910...5de674a.da.html

Link to comment
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.