From: deadman96385 Date: Thu, 26 Mar 2020 04:24:41 +0000 (-0500) Subject: misc BROKEN X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=64fd413554d6c226a24db54f61bff639bcb37113;p=GitHub%2Fmoto-9609%2Ftwrp_device_motorola_troika.git misc BROKEN --- diff --git a/BoardConfig.mk b/BoardConfig.mk index 5361fc7..e16f3b2 100644 --- a/BoardConfig.mk +++ b/BoardConfig.mk @@ -23,6 +23,8 @@ # *not* include it on all devices, so it is safe even with hardware-specific # components. +ALLOW_MISSING_DEPENDENCIES=true + # Architecture TARGET_ARCH := arm64 TARGET_ARCH_VARIANT := armv8-a @@ -41,15 +43,23 @@ ENABLE_SCHEDBOOST := true # Bootloader TARGET_BOOTLOADER_BOARD_NAME := exynos5 -TARGET_NO_BOOTLOADER := true +TARGET_NO_BOOTLOADER := false TARGET_USES_UEFI := true # Kernel -BOARD_KERNEL_CMDLINE := androidboot.hardware=exynos9610 androidboot.console=ttyGS0 androidboot.memcg=1 video=vfb:640x400,bpp=32,memsize=3072000 service_locator.enable=1 swiotlb=2048 loop.max_part=7 androidboot.usbcontroller=13200000.dwc3 -BOARD_KERNEL_CMDLINE += androidboot.selinux=permissive -BOARD_KERNEL_BASE := 0x10008000 -BOARD_KERNEL_PAGESIZE := 4096 +BOARD_KERNEL_CMDLINE := loop.max_part=7 loop.max_part=7 buildvariant=user +BOARD_KERNEL_BASE := 0x10000000 +BOARD_KERNEL_OFFSET := 0x00008000 +BOARD_RAMDISK_OFFSET := 0x00000000 +BOARD_TAGS_OFFSET := 0x00000000 +BOARD_SECOND_OFFSET := 0x00000000 +BOARD_KERNEL_PAGESIZE := 2048 TARGET_PREBUILT_KERNEL := device/motorola/troika/prebuilt/Image.gz-dtb +INSTALLED_2NDBOOTLOADER_TARGET := device/motorola/troika/prebuilt/second.img +BOARD_BOOTIMG_HEADER_VERSION := 1 +BOARD_HEADER_SIZE := 1648 + +BOARD_MKBOOTIMG_ARGS := --base $(BOARD_KERNEL_BASE) --pagesize $(BOARD_KERNEL_PAGESIZE) --kernel_offset $(BOARD_KERNEL_OFFSET) --ramdisk_offset $(BOARD_RAMDISK_OFFSET) --second_offset $(BOARD_SECOND_OFFSET) --tags_offset $(BOARD_TAGS_OFFSET) --header_version $(BOARD_BOOTIMG_HEADER_VERSION) --second $(INSTALLED_2NDBOOTLOADER_TARGET) # Platform TARGET_BOARD_PLATFORM := exynos5 diff --git a/prebuilt/second.img b/prebuilt/second.img new file mode 100644 index 0000000..6098953 Binary files /dev/null and b/prebuilt/second.img differ diff --git a/recovery/root/sbin/android.hardware.boot@1.0-impl.exynos.so b/recovery/root/sbin/android.hardware.boot@1.0-impl.exynos.so new file mode 100644 index 0000000..de6c4fe Binary files /dev/null and b/recovery/root/sbin/android.hardware.boot@1.0-impl.exynos.so differ