ts-7000
[Top] [All Lists]

Re: [ts-7000] SDCard and YAFFS2.

To:
Subject: Re: [ts-7000] SDCard and YAFFS2.
From: mike ingle <>
Date: Fri, 4 Sep 2009 14:23:17 -0700


In terms of embedded FS strategy,  I have decided to make my application around a readonly FS on the SD card or the reasons that you mention.  For me busy box is good enough, with my QT libraries and application mounted read only on the the SD card.  If you need the full debian file system then I am not sure what solution to use.  
 
The other thing I am looking at is using a usb stick for data storage.  
 
Regards, mike 

On Fri, Sep 4, 2009 at 12:42 PM, Dunge2 <> wrote:
 

Hi!
Sorry if that's been answered before, but I couldn't find a clear answer.

We currently have our dev systems, booting directly on the SDCard (ext3) and carefully calling shutdown before closing the device, and never had any problem.

Now we want to prepare devices for clients and they need to power off very often, while the device is running without calling shutdown. So we moved the OS on the onboard flash, and mount the SDCard on boot with only our application and data on it. We used a standard FAT for the SD simply because it was easier to work with. Everything works fine, but after 3-4 "hard shutdown (cut power)", the sdcard get corrupted and at some point the filesystem change from RW to RO automatically when it detect an error.

I guess we could put everything on the onboard flash, but we also want to be able to send updates to client (shipping another sdcard).

So I've searched a bit, and found out YAFFS2 seems to be a filesystem designed for flash and sdcard preventing this kind of corruption. I am right or I'm totally lost? Let's say I want to use it, I just can't find any utility to format my SDCard with this filesystem type. I can't find any mkfs.yaffs2, nor anything in apt-get. How do you do it?




__._,_.___


Your email settings: Individual Email|Traditional
Change settings via the Web (Yahoo! ID required)
Change settings via email: =Email Delivery: Digest | m("yahoogroups.com?subject","ts-7000-fullfeatured");=Change Delivery Format: Fully Featured">Switch to Fully Featured
Visit Your Group | Yahoo! Groups Terms of Use | =Unsubscribe

__,_._,___
<Prev in Thread] Current Thread [Next in Thread>
Admin

Disclaimer: Neither Andrew Taylor nor the University of NSW School of Computer and Engineering take any responsibility for the contents of this archive. It is purely a compilation of material sent by many people to the birding-aus mailing list. It has not been checked for accuracy nor its content verified in any way. If you wish to get material removed from the archive or have other queries about the archive e-mail Andrew Taylor at this address: andrewt@cse.unsw.EDU.AU