commit 4dcae85aef39a78a32b43af45ee0d069683a2419 Author: Waldemar Tomme Date: Mon Apr 3 23:03:59 2023 +0200 mkvendor.sh: Initial commit of a7y18lte diff --git a/AndroidBoard.mk b/AndroidBoard.mk new file mode 100644 index 0000000..bca2c08 --- /dev/null +++ b/AndroidBoard.mk @@ -0,0 +1,8 @@ +LOCAL_PATH := $(call my-dir) + +include $(CLEAR_VARS) + +ALL_PREBUILT += $(INSTALLED_KERNEL_TARGET) + +# include the non-open-source counterpart to this file +-include vendor/samsung/a7y18lte/AndroidBoardVendor.mk diff --git a/AndroidProducts.mk b/AndroidProducts.mk new file mode 100644 index 0000000..0724cd0 --- /dev/null +++ b/AndroidProducts.mk @@ -0,0 +1,2 @@ +PRODUCT_MAKEFILES := \ + $(LOCAL_DIR)/device_a7y18lte.mk diff --git a/BoardConfig.mk b/BoardConfig.mk new file mode 100644 index 0000000..8477f79 --- /dev/null +++ b/BoardConfig.mk @@ -0,0 +1,31 @@ +USE_CAMERA_STUB := true + +# inherit from the proprietary version +-include vendor/samsung/a7y18lte/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 +TARGET_CPU_SMP := true +ARCH_ARM_HAVE_TLS_REGISTER := true + +TARGET_BOOTLOADER_BOARD_NAME := a7y18lte + +BOARD_KERNEL_CMDLINE := no_console_suspend +BOARD_KERNEL_BASE := 0x10000000 +BOARD_KERNEL_PAGESIZE := 00000800 + +# fix this up by examining /proc/mtd on a running device +BOARD_BOOTIMAGE_PARTITION_SIZE := 0x00380000 +BOARD_RECOVERYIMAGE_PARTITION_SIZE := 0x00480000 +BOARD_SYSTEMIMAGE_PARTITION_SIZE := 0x08c60000 +BOARD_USERDATAIMAGE_PARTITION_SIZE := 0x105c0000 +BOARD_FLASH_BLOCK_SIZE := 131072 + +TARGET_PREBUILT_KERNEL := device/samsung/a7y18lte/kernel + +BOARD_HAS_NO_SELECT_BUTTON := true diff --git a/cm.mk b/cm.mk new file mode 100644 index 0000000..2e57c50 --- /dev/null +++ b/cm.mk @@ -0,0 +1,15 @@ +# Release name +PRODUCT_RELEASE_NAME := a7y18lte + +# Inherit some common CM stuff. +$(call inherit-product, vendor/cm/config/common_full_phone.mk) + +# Inherit device configuration +$(call inherit-product, device/samsung/a7y18lte/device_a7y18lte.mk) + +## Device identifier. This must come after all inclusions +PRODUCT_DEVICE := a7y18lte +PRODUCT_NAME := cm_a7y18lte +PRODUCT_BRAND := samsung +PRODUCT_MODEL := a7y18lte +PRODUCT_MANUFACTURER := samsung diff --git a/device_a7y18lte.mk b/device_a7y18lte.mk new file mode 100644 index 0000000..d645f04 --- /dev/null +++ b/device_a7y18lte.mk @@ -0,0 +1,24 @@ +$(call inherit-product, $(SRC_TARGET_DIR)/product/languages_full.mk) + +# The gps config appropriate for this device +$(call inherit-product, device/common/gps/gps_us_supl.mk) + +$(call inherit-product-if-exists, vendor/samsung/a7y18lte/a7y18lte-vendor.mk) + +DEVICE_PACKAGE_OVERLAYS += device/samsung/a7y18lte/overlay + + +ifeq ($(TARGET_PREBUILT_KERNEL),) + LOCAL_KERNEL := device/samsung/a7y18lte/kernel +else + LOCAL_KERNEL := $(TARGET_PREBUILT_KERNEL) +endif + +PRODUCT_COPY_FILES += \ + $(LOCAL_KERNEL):kernel + +$(call inherit-product, build/target/product/full.mk) + +PRODUCT_BUILD_PROP_OVERRIDES += BUILD_UTC_DATE=0 +PRODUCT_NAME := full_a7y18lte +PRODUCT_DEVICE := a7y18lte diff --git a/kernel b/kernel new file mode 100644 index 0000000..e69de29 diff --git a/recovery.fstab b/recovery.fstab new file mode 100644 index 0000000..41fb92e --- /dev/null +++ b/recovery.fstab @@ -0,0 +1,10 @@ +# mount point fstype device [device2] + +/boot mtd boot +/cache yaffs2 cache +/data yaffs2 userdata +/misc mtd misc +/recovery mtd recovery +/sdcard vfat /dev/block/mmcblk0p1 /dev/block/mmcblk0 +/system yaffs2 system +/sd-ext ext4 /dev/block/mmcblk0p2 diff --git a/system.prop b/system.prop new file mode 100644 index 0000000..7ac6766 --- /dev/null +++ b/system.prop @@ -0,0 +1,3 @@ +# +# system.prop for a7y18lte +#