diff options
author | Lee Campbell <leecam@google.com> | 2015-08-18 16:33:34 -0700 |
---|---|---|
committer | Lee Campbell <leecam@google.com> | 2015-08-18 16:43:58 -0700 |
commit | f85b32ebf8600e89897f5c3c86ab1d030e948829 (patch) | |
tree | e5b8f76c8a14a320629602cf1427a08f526843d6 | |
parent | 6828ffa3619913fa6b89a6876008488900371a51 (diff) | |
download | dragonboard-f85b32ebf8600e89897f5c3c86ab1d030e948829.tar.gz |
dragonboard: Adding device configs
BUG: 23315076
Change-Id: Id7345defcdb91e194ce24fc3cfb106e6f40e9d3d
-rw-r--r-- | AndroidBoard.mk | 19 | ||||
-rw-r--r-- | BoardConfig.mk | 29 | ||||
-rw-r--r-- | base_product/AndroidProducts.mk | 21 | ||||
-rw-r--r-- | base_product/brillo_base_qcom_dragonboard.mk | 22 | ||||
-rw-r--r-- | base_product/devicesetup.sh | 17 | ||||
-rw-r--r-- | fstab.device | 2 |
6 files changed, 110 insertions, 0 deletions
diff --git a/AndroidBoard.mk b/AndroidBoard.mk new file mode 100644 index 0000000..ddfeb1c --- /dev/null +++ b/AndroidBoard.mk @@ -0,0 +1,19 @@ +# +# Copyright 2015 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 has to live here for now as the variables it requires are +# not read when BoardConfig.mk is parsed. +include device/generic/brillo/kernel.mk diff --git a/BoardConfig.mk b/BoardConfig.mk new file mode 100644 index 0000000..dfb84ba --- /dev/null +++ b/BoardConfig.mk @@ -0,0 +1,29 @@ +# +# Copyright 2015 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. +# + +# Select the SoC +$(call set_soc, qcom, msm8916) + +# Add wifi controlller +$(call add_peripheral, qcom, wifi/wcn3620) + +BOARD_SYSTEMIMAGE_PARTITION_SIZE := 268435456 +BOARD_USERDATAIMAGE_PARTITION_SIZE := 134217728 +BOARD_CACHEIMAGE_PARTITION_SIZE := 268435456 + +PRODUCT_COPY_FILES += \ + device/qcom/dragonboard/fstab.device:root/fstab.device + diff --git a/base_product/AndroidProducts.mk b/base_product/AndroidProducts.mk new file mode 100644 index 0000000..856c5f5 --- /dev/null +++ b/base_product/AndroidProducts.mk @@ -0,0 +1,21 @@ +# +# Copyright 2015 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 found by the build system. +# It defines the base product definition for device bring up. + +PRODUCT_MAKEFILES := \ + $(LOCAL_DIR)/brillo_base_qcom_dragonboard.mk diff --git a/base_product/brillo_base_qcom_dragonboard.mk b/base_product/brillo_base_qcom_dragonboard.mk new file mode 100644 index 0000000..f6041c3 --- /dev/null +++ b/base_product/brillo_base_qcom_dragonboard.mk @@ -0,0 +1,22 @@ +# +# Copyright 2015 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. +# + +$(call inherit-product, device/generic/brillo/brillo_base.mk) + +PRODUCT_NAME := brillo_base_qcom_dragonboard +PRODUCT_BRAND := Brillo + +PRODUCT_DEVICE := dragonboard diff --git a/base_product/devicesetup.sh b/base_product/devicesetup.sh new file mode 100644 index 0000000..303dd2e --- /dev/null +++ b/base_product/devicesetup.sh @@ -0,0 +1,17 @@ +# +# Copyright 2015 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 brillo_base_qcom_dragonboard-eng diff --git a/fstab.device b/fstab.device new file mode 100644 index 0000000..3f869d2 --- /dev/null +++ b/fstab.device @@ -0,0 +1,2 @@ +/dev/block/platform/soc.0/7824900.sdhci/by-name/system /system ext4 ro,barrier=1,discard wait +/dev/block/platform/soc.0/7824900.sdhci/by-name/userdata /data ext4 nosuid,nodev,barrier=1,noauto_da_alloc,discard wait,check,encryptable=footer |