Hi,

This is when power is cut. Not by some guy or by anything that I manage.
Unfortunately - in this application, power must be cut fairly regularly.

The idea has developed a bit since my last email.
I am thinking of using a union file system for Angstrom with only the home directory writeable located on a NAND chip. I am be constantly saving data to a separate SD card with a FAT32 file system - which I am worried will become corrupted when the hard reset occurs.

What safeguards can I put in place to protect this?

Cheers,
Chris


On 21/06/10 22:00, [email protected] wrote:
Message: 1
Date: Sun, 20 Jun 2010 16:48:02 +0400
From: Maxim Podbereznyy<[email protected]>
Subject: Re: [Angstrom-distro-users] Hard resets
To:[email protected]
Message-ID:
        <[email protected]>
Content-Type: text/plain; charset=ISO-8859-1

What do you mean by hw-reset? Is it performed by some guy or you manage some
power switch?

2010/6/19 Chris<[email protected]>

>  Hi Max,
>
>  Thanks for the info!
>
>  So should I put that code after every write?
>  Obviously I am not sure when the reset will occur - so that will provide
>  most protection?
>
>  Cheers,
>  CJ
>
>
>
>    Chris,
>>
>>  what if you perform syncing before hard reset?
>>
>>  insert in your code:
>>
>>  sync();
>>  hw_reset();
>>
>>  regards,
>>  Max
>>
>>  2010/6/18 Chris<[email protected]>
>>
>>
>>
>>>  Hi,
>>>
>>>  I have an application where there will be many hard resets often.
>>>  I am using EXT3 as my file system - and there are problems with system
>>>  integrity because of the resets.
>>>
>>>  When I was using an x86 board I worked with a debian based distro that
>>>  allowed me to boot and run the OS from ram.
>>>  This was a good solution as the media was never mounted.
>>>
>>>  Has anyone done this with Angstrom?
>>>  Any other ideas to solve this problem?
>>>
>>>  Cheers,
>>>  CJ
>>>
>>>  _______________________________________________
>>>  Angstrom-distro-users mailing list
>>>  [email protected]
>>>  http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/angstrom-distro-users
>>>
>>>
>>>
>>
>
>  _______________________________________________
>  Angstrom-distro-users mailing list
>  [email protected]
>  http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/angstrom-distro-users
>
------------------------------

Message: 2
Date: Sun, 20 Jun 2010 19:21:46 +0200
From: "Przemek Zielony"<[email protected]>
Subject: [Angstrom-distro-users] SQLite and php5
To:<[email protected]>
Message-ID:<000701cb109d$10808880$9101a...@toshiba>
Content-Type: text/plain; format=flowed; charset="iso-8859-2";
        reply-type=original

I would like to install php5 and SQLite on SAM9261 board with linux
Angstrom. I'm really newbie and I have some problem with it. Should I use
ipkg? If not, how to do it?

Cheers,
PZ




------------------------------

_______________________________________________
Angstrom-distro-users mailing list
[email protected]
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/angstrom-distro-users


End of Angstrom-distro-users Digest, Vol 45, Issue 15
*****************************************************



_______________________________________________
Angstrom-distro-users mailing list
[email protected]
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/angstrom-distro-users

Reply via email to