diff --git a/BoardConfig.mk b/BoardConfig.mk index e481580..c60273e 100644 --- a/BoardConfig.mk +++ b/BoardConfig.mk @@ -1,30 +1,38 @@ -USE_CAMERA_STUB := true +# +# Copyright (C) 2014 The CyanogenMod 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 sets variables that control the way modules are built +# thorughout the system. It should not be used to conditionally +# disable makefiles (the proper mechanism to control what gets +# included in a build is to use PRODUCT_PACKAGES in a product +# definition file). +# + +-include device/motorola/msm8226-common/BoardConfigCommon.mk # inherit from the proprietary version -include vendor/motorola/peregrine/BoardConfigVendor.mk -TARGET_ARCH := arm -TARGET_NO_BOOTLOADER := true -TARGET_BOARD_PLATFORM := unknown -TARGET_CPU_ABI := armeabi-v7a -TARGET_CPU_ABI2 := armeabi -TARGET_ARCH_VARIANT := armv7-a-neon -TARGET_CPU_VARIANT := cortex-a7 -ARCH_ARM_HAVE_TLS_REGISTER := true - -TARGET_BOOTLOADER_BOARD_NAME := peregrine - -BOARD_KERNEL_CMDLINE := console=ttyHSL0,115200,n8 androidboot.console=ttyHSL0 androidboot.hardware=qcom user_debug=31 msm_rtb.filter=0x37 vmalloc=400M utags.blkdev=/dev/block/platform/msm_sdcc.1/by-name/utags -BOARD_KERNEL_BASE := 0x00000000 -BOARD_KERNEL_PAGESIZE := 2048 +LOCAL_PATH := device/motorola/perergine # fix this up by examining /proc/mtd on a running device -BOARD_BOOTIMAGE_PARTITION_SIZE := 0x105c0000 -BOARD_RECOVERYIMAGE_PARTITION_SIZE := 0x105c0000 -BOARD_SYSTEMIMAGE_PARTITION_SIZE := 0x105c0000 -BOARD_USERDATAIMAGE_PARTITION_SIZE := 0x105c0000 -BOARD_FLASH_BLOCK_SIZE := 131072 +BOARD_USERDATAIMAGE_PARTITION_SIZE := 8589934592 -TARGET_PREBUILT_KERNEL := device/motorola/peregrine/kernel - -BOARD_HAS_NO_SELECT_BUTTON := true +#TWRP +DEVICE_RESOLUTION := 720x1280 +TW_IGNORE_MAJOR_AXIS_0 := true +TW_EXTERNAL_STORAGE_PATH := "/external_sd" +TW_EXTERNAL_STORAGE_MOUNT_POINT := "external_sd" diff --git a/dtb b/dtb new file mode 100644 index 0000000..e356afe Binary files /dev/null and b/dtb differ diff --git a/kernel b/kernel deleted file mode 100644 index c0b5269..0000000 Binary files a/kernel and /dev/null differ