This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

Sitara SDK Question

For the AM335x (Sitara SDK):

I have noticed that the Beagle Board Black it says that you MUST shutdown Linux prior to removing power from the board.  I know that this has to do with the filesys that Debian uses.  Is this an issue with the Filesys that the Sitara SDK uses? 

  • If you refer to the filesystem being mounted with the "async" option, then YES, the TI filesystem is also mounted using the same default flag, meaning that you have to explicitly sync before powering the board down.

    Best regards,
    Miroslav

  • ok, thank you, does this mean that there is an option that will prevent this?  I need to avoid having to shutdown Linux prior to powering down the board. 

    Please let me know, thank you.

  • You can mount the file system passing the "sync" option to the "mount" command. This will make all I/O operations to the filesystem to be done synchronously. Please note that this will slow down the performance of your file system and if your media has a limited number of write cycles (e.g. some flash drives) "sync" may cause life-cycle shortening.

    I believe the script that does the file systems mounting is /etc/init.d/mountall.sh. Modify the mount command in this script by adding the "-o sync" option to its arguments.

    mount -o sync

    Best regards,
    Miroslav