Latest LQ Deal: Linux Power User Bundle
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 03-29-2011, 01:24 AM   #1
Registered: Jan 2010
Distribution: Slackware 13.37
Posts: 597
Blog Entries: 3

Rep: Reputation: 186Reputation: 186
Extending lifetime of embedded flash

I am working on an application which uses an embedded Linux board with an ARM processor and NAND flash memory. This application will require continuous uptime for years on end. With the limited lifetime of NAND flash, I've taken a couple of steps to reduce writes to the memory.

In /etc/fstab I've mounted / as
/ ext3 noatime,commit=120
and mounted /tmp and /var as tmpfs in RAM.

Are there any other simple precautions to take in order to preserve the lifetime of the memory? Is failure of the flash memory going to be a serious issue in the design of this application?

Old 03-31-2011, 02:55 AM   #2
Registered: Nov 2010
Location: Thailand
Distribution: Fedora 12, Ubuntu 10.10
Posts: 166

Rep: Reputation: 29
If possible for your application, you could also use UBIFS or Yaffs2 as those file systems are specifically designed to limit wear and tear on flash device.
Old 04-02-2011, 05:53 PM   #3
Registered: Feb 2011
Distribution: Ubuntu, Debian(ARM),XP,W7,CP/M
Posts: 126

Rep: Reputation: 20
This info is useful for my configuration(s) as well...
Would appreciate some more detail, such as:
1) How much RAM do the /tmp (potentially empty) and /var (NOT EMPTY) occupy during 'normal' operation?
...(as thru df)

While I am attempting to avoid use of RAM I am not 'set in stone' on the subject, particularly if it is minimal...

As I understand it, UBIFS 'saves writes' until necessary... which might work well once your application is solid... for now I would not use it as I may need to 'reboot on the fly'...

Thx! Lee

Last edited by justboo2u; 04-02-2011 at 05:57 PM.


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
Best topology for embedded or flash filesystem justboo2u Linux - Mobile 10 03-20-2011 10:21 PM
Embedded Linux application with Flash GUI? _ian_ Linux - Mobile 6 04-21-2009 08:09 AM
Embedded linux system on 1MB flash ravi_chobey Linux - Embedded & Single-board computer 3 02-12-2009 03:52 PM
How to mount the embedded flash memory? venmugil Linux - Embedded & Single-board computer 1 09-23-2008 11:38 AM
USB Flash drive lifetime rdx Linux - Hardware 11 05-07-2007 04:27 PM > Forums > Linux Forums > Linux - Hardware > Linux - Embedded & Single-board computer

All times are GMT -5. The time now is 05:34 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