On Mar 23, 2009, at 5:06 PM, Bob Furber wrote:

Tom,

My SD card is getting corrupted after issuing the reboot command and
de-powering the board.  And I must de-power the board to save power.
Here is the sequence:

1) From uClinux, issue reboot command
2) Exits uClinux and enters to DEBUG> prompt
3) De-power entire board.

Not every time, but sometimes the SD card is getting corrupted from
this. Does anyone have any advice or know of a better method?  Would
it be better just to 'umount' the drive, and then de-power, skipping
the reboot step?

Steve Bennett implemented a uClinux 'poweroff' command that turns the
power off on a WildFire board with the RTC option (and no short across
the Wakeup pads). It appears to do quite a bit of background work before
turning off the power. Perhaps it closes any open files, etc..?

You'd think "reboot" would close open files and unmount the filesystem.
Maybe there's some issue with the unmount?
Anything special in the console log?

If you can "unmount" the drive, then reboot, that would be a fair first step. If you don't have any writeable filesystems, then just a de-power would be faster.

-
allon
_______________________________________________
uClinux-dev mailing list
[email protected]
http://mailman.uclinux.org/mailman/listinfo/uclinux-dev
This message was resent by [email protected]
To unsubscribe see:
http://mailman.uclinux.org/mailman/options/uclinux-dev

Reply via email to