summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeff Davidson <jpd@google.com>2012-01-13 13:18:54 -0800
committerJeff Davidson <jpd@google.com>2012-01-13 13:18:54 -0800
commit1c73b5bb75ff1927657cec295c99700b9a5427b5 (patch)
treea137b72d5cfef5a932a0a3636a21c3b3379e9039
parent33866ce5437aeaa3570faeea568664c412a7485e (diff)
downloadtorospr-1c73b5bb75ff1927657cec295c99700b9a5427b5.tar.gz
Move toro spr files to torospr.
This creates the new torospr device. I think more changes may be necessary for full open source support but this should be a good start. Change-Id: I0e4fed1cdd62a9246112e0a4c666fc089c9e2b9f
-rw-r--r--Android.mk28
-rw-r--r--AndroidProducts.mk18
-rw-r--r--BoardConfig.mk19
-rw-r--r--board-info.txt5
-rw-r--r--device.mk22
-rw-r--r--full_toro_spr.mk46
-rw-r--r--recovery.fstab12
-rw-r--r--system.prop17
-rwxr-xr-xvendorsetup.sh17
9 files changed, 184 insertions, 0 deletions
diff --git a/Android.mk b/Android.mk
new file mode 100644
index 0000000..d6331ee
--- /dev/null
+++ b/Android.mk
@@ -0,0 +1,28 @@
+#
+# Copyright (C) 2012 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.
+#
+
+# WARNING: Everything listed here will be built on ALL platforms,
+# including x86, the emulator, and the SDK. Modules must be uniquely
+# named (liblights.tuna), and must build everywhere, or limit themselves
+# to only building on ARM if they include assembly. Individual makefiles
+# are responsible for having their own logic, for fine-grained control.
+
+LOCAL_PATH := $(call my-dir)
+
+# if some modules are built directly from this directory (not subdirectories),
+# their rules should be written here.
+
+include $(call all-makefiles-under,$(LOCAL_PATH))
diff --git a/AndroidProducts.mk b/AndroidProducts.mk
new file mode 100644
index 0000000..96cd763
--- /dev/null
+++ b/AndroidProducts.mk
@@ -0,0 +1,18 @@
+#
+# Copyright (C) 2012 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_MAKEFILES := \
+ $(LOCAL_DIR)/full_toro_spr.mk
diff --git a/BoardConfig.mk b/BoardConfig.mk
new file mode 100644
index 0000000..5771c78
--- /dev/null
+++ b/BoardConfig.mk
@@ -0,0 +1,19 @@
+# Copyright (C) 2012 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.
+
+# Use the non-open-source part, if present
+-include vendor/samsung/torospr/BoardConfigVendor.mk
+
+# Use the part that is common between all toros
+include device/samsung/toro/BoardConfig.mk
diff --git a/board-info.txt b/board-info.txt
new file mode 100644
index 0000000..9895a3b
--- /dev/null
+++ b/board-info.txt
@@ -0,0 +1,5 @@
+require board=tuna
+require version-bootloader=PRIMESPH-L700EL01
+require version-baseband=L700.EL04
+require version-cdma=L700.EL04
+
diff --git a/device.mk b/device.mk
new file mode 100644
index 0000000..54d9a64
--- /dev/null
+++ b/device.mk
@@ -0,0 +1,22 @@
+# Copyright (C) 2012 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.
+
+# This file includes all definitions that apply only to torospr devices
+#
+# Anything that is generic to all tuna products should go in the tuna directory
+#
+# Everything in this directory will become public
+
+$(call inherit-product, device/samsung/toro/device.mk)
+$(call inherit-product-if-exists, vendor/samsung/torospr/device-vendor.mk)
diff --git a/full_toro_spr.mk b/full_toro_spr.mk
new file mode 100644
index 0000000..050f38c
--- /dev/null
+++ b/full_toro_spr.mk
@@ -0,0 +1,46 @@
+# Copyright (C) 2012 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.
+
+#
+# This file is the build configuration for a full Android
+# build for toro hardware. This cleanly combines a set of
+# device-specific aspects (drivers) with a device-agnostic
+# product configuration (apps). Except for a few implementation
+# details, it only fundamentally contains two inherit-product
+# lines, full and toro, hence its name.
+#
+
+# Camera
+PRODUCT_PACKAGES := \
+ Camera \
+ Gallery
+
+#if we do this after the full_base_telephony is included some of these don't get picked up..
+PRODUCT_COPY_FILES += \
+ device/samsung/toro/bcmdhd.cal:system/etc/wifi/bcmdhd.cal \
+ device/sample/etc/apns-conf_verizon.xml:system/etc/apns-conf.xml \
+ frameworks/base/data/etc/android.hardware.telephony.cdma.xml:system/etc/permissions/android.hardware.telephony.cdma.xml
+
+# Inherit from those products. Most specific first.
+$(call inherit-product, $(SRC_TARGET_DIR)/product/full_base_telephony.mk)
+# This is where we'd set a backup provider if we had one
+#$(call inherit-product, device/sample/products/backup_overlay.mk)
+# Inherit from toro device
+$(call inherit-product, device/samsung/torospr/device.mk)
+
+# Set those variables here to overwrite the inherited values.
+PRODUCT_NAME := full_toro_spr
+PRODUCT_DEVICE := torospr
+PRODUCT_BRAND := Android
+PRODUCT_MODEL := Full AOSP on Toro-SPR
diff --git a/recovery.fstab b/recovery.fstab
new file mode 100644
index 0000000..6e33ce7
--- /dev/null
+++ b/recovery.fstab
@@ -0,0 +1,12 @@
+# mount point fstype device
+
+/sdcard vfat /dev/block/sda1
+/system ext4 /dev/block/platform/omap/omap_hsmmc.0/by-name/system
+/cache ext4 /dev/block/platform/omap/omap_hsmmc.0/by-name/cache
+/data ext4 /dev/block/platform/omap/omap_hsmmc.0/by-name/userdata
+/misc emmc /dev/block/platform/omap/omap_hsmmc.0/by-name/misc
+/boot emmc /dev/block/platform/omap/omap_hsmmc.0/by-name/boot
+/recovery emmc /dev/block/platform/omap/omap_hsmmc.0/by-name/recovery
+/sbl emmc /dev/block/platform/omap/omap_hsmmc.0/by-name/sbl
+/xloader emmc /dev/block/platform/omap/omap_hsmmc.0/by-name/xloader
+/radio emmc /dev/block/platform/omap/omap_hsmmc.0/by-name/radio
diff --git a/system.prop b/system.prop
new file mode 100644
index 0000000..b7333c6
--- /dev/null
+++ b/system.prop
@@ -0,0 +1,17 @@
+#
+# system.prop for torospr
+#
+
+rild.libpath=/vendor/lib/libsec-ril_lte.so
+rild.libargs=-d /dev/ttys0
+telephony.lteOnCdmaDevice=1
+
+# Ril sends only one RIL_UNSOL_CALL_RING, so set call_ring.multiple to false
+ro.telephony.call_ring.multiple=0
+
+# Turn on IMS by default
+persist.radio.imsregrequired=1
+persist.radio.imsallowmtsms=1
+
+# Default ecclist
+ro.ril.ecclist=112,911,#911,*911
diff --git a/vendorsetup.sh b/vendorsetup.sh
new file mode 100755
index 0000000..caaca28
--- /dev/null
+++ b/vendorsetup.sh
@@ -0,0 +1,17 @@
+#
+# Copyright (C) 2012 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.
+#
+
+add_lunch_combo full_toro_spr-userdebug