# Partitioning nand flash with jffs2

**URL:** <https://forums.digi.com/t/partitioning-nand-flash-with-jffs2/11645>\
**Category:** Embedded Devices\
**Tags:** connectcorewi-imx53\
**Created:** [June 25, 2013, 1:15am UTC](https://forums.digi.com/t/partitioning-nand-flash-with-jffs2/11645 "2013-06-25T01:15:30Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![clarified](https://avatars.discourse-cdn.com/v4/letter/c/7993a0/32.png) [@clarified](https://forums.digi.com/u/clarified)\
**Post date:** [June 25, 2013, 1:15am UTC](https://forums.digi.com/t/partitioning-nand-flash-with-jffs2/11645/1 "2013-06-25T01:15:30Z")

</div>

Hi,

I have designed an SQLite3 application. My application is intended to periodically log data into the NAND flash on the imx53 board and i am unsure about some aspect therefore i’m here hoping to seek answers.

my questions are,  
(a) Is JFFS2 a good filesystem to use with SQLite3? If not, what other fs are there?

(b) If I use JFFS2, do I need to partition the flash with a JFFS2 partition ?

(c) Is there any document or reading references I can refer to, to know how to work on it?

(d)what might the necessary configuration I may need to do to get it working?

Please advise thanks.

Regards,  
Jian Rong

---

<div class="post-metadata">

**Author:** ![tuxembb](https://avatars.discourse-cdn.com/v4/letter/t/b38774/32.png) [@tuxembb](https://forums.digi.com/u/tuxembb)\
**Post date:** [August 28, 2013, 1:46am UTC](https://forums.digi.com/t/partitioning-nand-flash-with-jffs2/11645/2 "2013-08-28T01:46:07Z")

</div>

Refer ftp://ftp1.digi.com/support/documentation/EmbeddedLinuxPHP-SQLite.pdf  
ftp://ftp1.digi.com/support/documentation/EmbeddedLinuxPHP-SQLite.zip

This doc is written for DEL 4.x, but with less modification you should be able to use now.

I am not sure about issues with JFFS2 and SQLite. maybe you can use ubifs? or some other format?

While creating a new kernel/rootfs project you can find all supported filesystems. Choose the right one for you.

Format flash from uboot for this FS and try
