пятница, 6 ноября 2015 г.

Build Android L mtk

mt6752

pack / unpack scripts

Carliv Image Kitchen

for 4.4
https://github.com/cofface/android-mtk-tools

Android L 5.X

GCC arm64

https://android.googlesource.com/platform/prebuilts/gcc/linux-x86/aarch64/aarch64-linux-android-4.9/

arm (arm64)
kernel/arch/arm/configs/project_defconfig

Projects
drivers/misc/mediatek/mach/6752

arch/arm/mach-mt6582/

for android build

1. device
device/brand/project/

ProjectConfig.mk

2. vendor
mediatek
brand

hal
mediatek/proprietary/custom/mt6752

fstab
alps/vendor/mediatek/proprietary/platform/mt6752/external/fstab/

mt6582/92

start mbr = preloader size

mach-mt6582/PROJECT/partition/cust_part_mbr.c

u64 MBR_START_ADDRESS_BYTE = 20480 * 1024;  // 0x1400000