# # Copyright 2018 Joonas Kylmälä # # 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. # -include device/samsung/midas-common/BoardConfigCommon.mk ############## # Board name # ############## TARGET_BOOTLOADER_BOARD_NAME := odroidu3 ############ # Graphics # ############ BOARD_USES_DRM_HWCOMPOSER := true TARGET_SCREEN_HEIGHT := 768 TARGET_SCREEN_WIDTH := 1024 TARGET_USES_HWC2 := true ########## # Kernel # ########## BOARD_DTB_IMAGE_NAME := exynos4412-odroidu3.dtb ############# # Partition # ############# # Block size BOARD_FLASH_BLOCK_SIZE := 512 # Partitions BOARD_BOOTIMAGE_PARTITION_SIZE := 8388608 BOARD_CACHEIMAGE_PARTITION_SIZE := 1073741824 BOARD_RECOVERYIMAGE_PARTITION_SIZE := 13685312 BOARD_SYSTEMIMAGE_PARTITION_SIZE := 1610612736 # TODO: figure out if it is possible to increase USERDATA partition size BOARD_USERDATAIMAGE_PARTITION_SIZE := 11378320 # Disable sparse images until we figure out how to install them when # we boot the kernel zImages with u-boot and extlinux.conf TARGET_USERIMAGES_SPARSE_EXT_DISABLED := true ############ # Recovery # ############ TARGET_RECOVERY_FSTAB := device/hardkernel/odroidu3/fstab.odroidu3 TARGET_RECOVERY_PIXEL_FORMAT := ABGR_8888