Share your knowledge at the LQ Wiki.
Go Back > Forums > Linux Forums > Linux - Hardware > Linux - Embedded & Single-board computer
User Name
Linux - Embedded & Single-board computer This forum is for the discussion of Linux on both embedded devices and single-board computers (such as the Raspberry Pi, BeagleBoard and PandaBoard). Discussions involving Arduino, plug computers and other micro-controller like devices are also welcome.


  Search this Thread
Old 06-10-2008, 04:57 AM   #1
Registered: Apr 2008
Location: Espaņa
Distribution: Suse
Posts: 220

Rep: Reputation: 32
Problems with CF and jffs2.......


I have a develop board with powerpc.
Kernel and rootfs is in a mtd block, kernel in a mtdblock3 and rootfs is a jffs2 image in mtdblock5.

Now, I am interesting in use a Compact Flash to save files a data, but I hace some doubts.

1.- Can I use a Compact flash as MTD with jffs2 file system???
2.- If I can use it, is it neccesaty to define a new dev (mknod mtdblockX)
to access device????

I looked for information about it but I did not understand well, so, please, could somebody help me???

Best regards.
Old 06-13-2008, 02:22 AM   #2
Registered: Apr 2008
Location: Espaņa
Distribution: Suse
Posts: 220

Original Poster
Rep: Reputation: 32
Ok, I answered myself.

Does JFFS work on Compact Flash? No.

And now, what is the best file system to work with a compact flash???
When my system startup, fstab mount compact flash with ext2 file system.
Then I have created a new folder and file in a compact flash, and finally I took off power of board.

But when I restarted board, I found that folder and file are missing.
I known the reason, I did not umount compact flash, but my question is:

How can I avoid it???

Best regards


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
NFS and JFFS2 in 2.6.23-rc3 sandyman Linux - Networking 0 09-13-2007 07:35 AM
openwrt: jffs2 or squashfs almost000 Linux - Newbie 1 07-11-2007 01:07 PM
jffs2 - SRAM writing problems silvia Red Hat 0 02-26-2007 01:27 AM
writing into JFFS2 filesystem Deepak Inbasekaran Programming 0 06-26-2006 03:23 AM
JFFS2 (Flash ROM) Eileen Programming 0 01-12-2005 02:51 AM

All times are GMT -5. The time now is 11:48 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration