Welcome to the most active Linux Forum on the web.
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 04-24-2011, 07:07 AM   #1
Registered: Jun 2009
Posts: 34

Rep: Reputation: 4
help on JFFS2 support

hi all,

i have a little custom board developed by myself with running linux.
I need now to save some data in the non volatile memory (parallel flash), and i read here and there that JFFS2 is a goow wat to go.
So i created the partition in the last megabyte of the flash, as below:

static struct mtd_partition amcore_partitions[] = {
.name = "Colilo (64K)",
.size = 0x10000,
.offset = 0x0
.name = "Kernel+ROMfs (3008K)",
.size = 0x2F0000,
.name = "JFFS2 (1024K)",

The next step is to format the partition, but i don't know where to start.

Is the correct way to create an image on PC and writing it on the partition spave ? Or is more correct to format the partition with some linux tool included in the embedded linux ?

In both cases i would need some help/example/link,
many thanks,

Old 04-25-2011, 02:10 PM   #2
Senior Member
Registered: Apr 2009
Posts: 1,591

Rep: Reputation: 138Reputation: 138
You can reference following link.


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
jffs2 and suggestions _spectrum_ Linux - Embedded & Single-board computer 3 02-23-2011 02:24 PM
[SOLVED] Can we have JFFS2 Filesystem on NOR Flash. Niraj Kulkarni Linux - Newbie 0 04-28-2010 07:28 AM
Busybox And Jffs2 Problem ashthet Linux - General 0 09-02-2008 01:20 AM
how to mount jffs2 nesta Linux - Kernel 1 08-24-2008 08:39 AM
Problems with CF and jffs2....... webquinty Linux - Embedded & Single-board computer 1 06-13-2008 02:22 AM > Forums > Linux Forums > Linux - Hardware > Linux - Embedded & Single-board computer

All times are GMT -5. The time now is 08:03 AM.

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