Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
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
- Loading branch information
Showing
9 changed files
with
184 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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)) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
require board=tuna | ||
require version-bootloader=PRIMESPH-L700EL01 | ||
require version-baseband=L700.EL04 | ||
require version-cdma=L700.EL04 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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 |