diff options
author | Jeremy Chang <jeremy.chang@linaro.org> | 2011-03-22 01:53:31 +0800 |
---|---|---|
committer | Patrik Ryd <patrik.ryd@linaro.org> | 2011-03-25 10:12:51 +0100 |
commit | f0547393803d13654fb2b3f6924ceec536fce61f (patch) | |
tree | 6b60334ed045f87062e1e2bda41350a8ec36aa4f | |
parent | 250dcc5525f5b61f71a3f50ce5bd9bd841aa0403 (diff) | |
download | beagleboard-f0547393803d13654fb2b3f6924ceec536fce61f.tar.gz |
Add vold.fstab
vold.fstab is the vold configuration file to tell what the device to
mount.
Add device.mk, the device-specific product definition file for copy
device-specific drivers, configuration files, settings, etc.
-rw-r--r-- | beagleboard.mk | 1 | ||||
-rw-r--r-- | device.mk | 17 | ||||
-rw-r--r-- | vold.fstab | 15 |
3 files changed, 33 insertions, 0 deletions
diff --git a/beagleboard.mk b/beagleboard.mk index f810f36..015b605 100644 --- a/beagleboard.mk +++ b/beagleboard.mk @@ -29,6 +29,7 @@ PRODUCT_PACKAGES := \ $(call inherit-product, $(SRC_TARGET_DIR)/product/core.mk) +$(call inherit-product, device/linaro/beagleboard/device.mk) # Overrides PRODUCT_BRAND := beagleboard diff --git a/device.mk b/device.mk new file mode 100644 index 0000000..3f073d6 --- /dev/null +++ b/device.mk @@ -0,0 +1,17 @@ +# Copyright 2011 Linaro Limited +# Copyright (C) 2010 The Android Open Source Project +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + +PRODUCT_COPY_FILES := \ + device/linaro/beagleboard/vold.fstab:system/etc/vold.fstab diff --git a/vold.fstab b/vold.fstab new file mode 100644 index 0000000..c17bb64 --- /dev/null +++ b/vold.fstab @@ -0,0 +1,15 @@ +## Vold 2.0 Generic fstab +## - San Mehat (san@android.com) +## + +####################### +## Regular device mount +## +## Format: dev_mount <label> <mount_point> <part> <sysfs_path1...> +## label - Label for the volume +## mount_point - Where the volume will be mounted +## part - Partition # (1 based), or 'auto' for first usable partition. +## <sysfs_path> - List of sysfs paths to source devices +###################### + +dev_mount sdcard /mnt/sdcard 7 /devices/platform/mmci-omap-hs.0/mmc_host/mmc0 |