Skip to content

Commit

Permalink
Initial commit
Browse files Browse the repository at this point in the history
*Rebased CM13, now functional
  • Loading branch information
XePeleato committed Aug 11, 2016
1 parent 1bd3245 commit 056e261
Show file tree
Hide file tree
Showing 29 changed files with 2,207 additions and 857 deletions.
15 changes: 11 additions & 4 deletions BoardConfig.mk
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ BOARD_USES_GENERIC_AUDIO := false
# 1st Arch
TARGET_ARCH := arm64
TARGET_ARCH_VARIANT := armv8-a
TARGET_CPU_VARIANT := generic
TARGET_CPU_VARIANT := cortex-a53
TARGET_CPU_ABI := arm64-v8a
TARGET_BOARD_GPU := mali-450mp
#TARGET_CPU_ABI2 :=
Expand All @@ -18,6 +18,8 @@ TARGET_2ND_CPU_VARIANT := cortex-a7
TARGET_2ND_CPU_ABI := armeabi-v7a
TARGET_2ND_CPU_ABI2 := armeabi

TARGET_BOOTLOADER_BOARD_NAME := BalongV8R1SFT

#Just system
##TARGET_NO_BOOTLOADER := true
##TARGET_NO_RECOVERY := true
Expand Down Expand Up @@ -51,9 +53,7 @@ BOARD_EGL_CFG := device/HUAWEI/hi6210sft/egl.cfg
TARGET_BOARD_PLATFORM := hi6210sft
GRALLOC_PATH := device/HUAWEI/hi6210sft/gralloc
BOARD_USES_DRM_HWCOMPOSER := true

TARGET_CPU_SMP := true

TARGET_USES_64_BIT_BINDER := true
TARGET_USES_HISI_DTIMAGE := true
TARGET_SUPPORTS_32_BIT_APPS := true
Expand All @@ -73,9 +73,15 @@ BOARD_SYSTEMIMAGE_PARTITION_SIZE := 2684354560
BOARD_USERDATAIMAGE_PARTITION_SIZE := 11605639168
BOARD_FLASH_BLOCK_SIZE := 131072

#Kernel config
#TARGET_KERNEL_SOURCE := kernel
#TARGET_KERNEL_CONFIG := hisi_hi6210sft_defconfig
TARGET_PREBUILT_KERNEL := device/HUAWEI/hi6210sft/kernel
TARGET_PREBUILT_KERNEL := out/target/product/hi6210sft/obj/KERNEL_OBJ/arch/arm64/boot/Image
HISI_TARGET_PRODUCT := hi6210sft
TARGET_ARM_TYPE := arm64
TARGET_KERNEL_ARCH := arm64
TARGET_KERNEL_CROSS_COMPILE_PREFIX := aarch64-linux-android-
ARCH := arm64

BOARD_HAS_NO_SELECT_BUTTON := true
DEVICE_RESOLUTION := 720x1280
Expand All @@ -85,6 +91,7 @@ RECOVERY_SDCARD_ON_DATA := true
TW_NO_USB_STORAGE := true
TARGET_USERIMAGES_USE_EXT4 := true
BOARD_HAS_LARGE_FILESYSTEM := true
BRIGHTNESS_SYS_FILE := "/sys/devices/platform/balong_fb.1/leds/lcd_backlight0/brightness"
TW_BRIGHTNESS_PATH := "/sys/class/leds/lcd_backlight0/brightness"
TW_CUSTOM_BATTERY_PATH := "/sys/devices/platform/bq_bci_battery.1/power_supply/Battery"
TW_MAX_BRIGHTNESS := 255
Expand Down
1,348 changes: 674 additions & 674 deletions LICENSE

Large diffs are not rendered by default.

17 changes: 6 additions & 11 deletions camera/Android.mk
Original file line number Diff line number Diff line change
@@ -1,20 +1,15 @@
LOCAL_PATH := $(call my-dir)

include $(CLEAR_VARS)

LOCAL_SRC_FILES := \
CameraWrapper.cpp
LOCAL_MODULE := camera.hi6210sft
LOCAL_SRC_FILES := CameraWrapper.cpp

LOCAL_C_INCLUDES := \
system/core/include \
system/media/camera/include

LOCAL_SHARED_LIBRARIES := \
libhardware liblog libcamera_client libutils libcutils

LOCAL_MODULE_RELATIVE_PATH := $(TARGET_OUT_SHARED_LIBRARIES)/hw
LOCAL_MODULE := camera.$(TARGET_BOARD_PLATFORM)

LOCAL_MODULE_TAGS := optional
libhardware liblog libcamera_client libutils libcutils libdl

include $(BUILD_SHARED_LIBRARY)
LOCAL_MODULE_RELATIVE_PATH := hw
LOCAL_CFLAGS := -Werror
include $(BUILD_SHARED_LIBRARY)

0 comments on commit 056e261

Please sign in to comment.