halt VoCore
- sistemasorp
- Posts: 7
- Joined: Fri Nov 28, 2014 10:06 am
halt VoCore
When I want to power off VoCore I can type halt or poweroff, however the system performs a reboot, not a halt. So, what can I do to power off the VoCore from usb power plug without losing data (i.e while a script is writing data to disk).
- Vonger
- Posts: 896
- Joined: Sun Oct 19, 2014 6:00 am
Re: halt VoCore
For now there is no such function. This chip do not have halt register but only a reboot register.
- sistemasorp
- Posts: 7
- Joined: Fri Nov 28, 2014 10:06 am
- Peter H
- Posts: 58
- Joined: Wed Nov 12, 2014 10:24 pm
Re: halt VoCore
Is there anything actually writing to persistent storage? With the standard VoCore image I suspect you'll find there isn't. If you have added anything that does, I suppose you could stop that and then call sync to flush the caches; at that point it should be safe to power it off.
- sistemasorp
- Posts: 7
- Joined: Fri Nov 28, 2014 10:06 am
Re: halt VoCore
for example, if I write to a file in root directory, it is persistent during power on/off cycles.
Well, you're right. If I know when a powerdown will be performed (i.e detecting a low battery issue) I can stop cleanly the program which is writing to disk.
Well, you're right. If I know when a powerdown will be performed (i.e detecting a low battery issue) I can stop cleanly the program which is writing to disk.
5 posts
Page 1 of 1
Who is online
Users browsing this forum: No registered users and 36 guests