Difference between revisions of "Installing the Filesystem to an SD Card"

From RidgeRun Developer Connection
Jump to: navigation, search
Line 35: Line 35:
  
 
See also:
 
See also:
::[[ Formatting a new SD card ]]
+
::[[Formatting a new SD card]]
 +
::[[Configuring the Avnet S6-OMAP board to use an SD Card root filesystem]]
 +
::[[Getting Started Guide for the AVNET OMAPL138 EVM]]

Revision as of 20:13, 15 December 2010

Installing a filesystem to an SD card

This tutorial will guide you on manually installing the filesystem onto an SD card.

Locate the filesystem

Locate the filesystem you want to use as your root filesystem. By default, this is located at <sdk install dir>/fs/fs.

$ cd <sdk install dir>
$ FSROOT=$(PWD)/fs/fs

Mount the SD card

Create a temporary mount point and mount the SD card.

$ mkdir temp
$ sudo mount /dev/sdc1 temp

Copy the filesystem to the SD card

Copy the filesystem to the SD card, ensuring that you preserve all of the file attributes and ownership.

$ sudo cp -adpr $FSROOT/* temp
$ sync
$ sudo umount temp
$ rm -rf temp

The filesystem should now be ready to use on your board.

See also:

Formatting a new SD card
Configuring the Avnet S6-OMAP board to use an SD Card root filesystem
Getting Started Guide for the AVNET OMAPL138 EVM