LinuxQuestions.org
Visit the LQ Articles and Editorials section
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware > Linux - Embedded & Single-board computer
User Name
Password
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.

Notices

Reply
 
Search this Thread
Old 03-29-2011, 12:24 AM   #1
D1ver
Member
 
Registered: Jan 2010
Distribution: Slackware 13.37
Posts: 527
Blog Entries: 3

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


Hello,
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
Code:
/ 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?


Thanks,
 
Old 03-31-2011, 01:55 AM   #2
cnxsoft
Member
 
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, 04:53 PM   #3
justboo2u
Member
 
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 04:57 PM.
 
  


Reply


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


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

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