1,8368U TD版本库,git clone git@172.16.5.134:8368U.TD.git -b 8368-U_MJ2.0
2,配置编译平台
一,make list显示平台;
二,make 1 配置平台,
三,make menuconfig 配置参数
I)Customer Setting-----Genini UI Setting-----UI Framework selection中配置QT平台还是TD平台
II)Customer Setting-----Touch Driver Setting----Touch Driver中配置触摸屏参数C-GT9xx代表电阻屏
3,修改权限,不然开机无法启动
chmod 0755 android_init/*
chmod 0755 rootfs_mtd/*
chmod 0755 rootfs_mtd/*.rc
chmod 0755 android_init/*.rc
chmod 0755 rootfs_mtd/*.prop
4,修改驱动权限,不然触摸屏触摸无作用
chmod 0755 rootfs/android_init/*.rc rootfs/android_init/*.rc
chmod 0644 application/out/system/drivers/touch-driver.ko application/sdk/sdkinfo.rc linux/sdk/out/appsdkfs/sdkinfo.rc linux/sdk/out/system/sdkinfo.rc application/out/system/appinfo.rc application/sdk/drivers/mmc_block.ko application/sdk/drivers/mmc_core.ko linux/sdk/out/appsdkfs/drivers/mmc_block.ko linux/sdk/out/appsdkfs/drivers/mmc_core.ko linux/sdk/out/system/drivers/mmc_block.ko linux/sdk/out/system/drivers/mmc_core.ko linux/kernel/build/drivers/mmc/core/mmc_core.ko linux/kernel/build/drivers/mmc/card/mmc_block.ko
5,rootfs/rootfs_mtd/init.rc是各种中断的执行脚本
比喻:
QString envSdkLateStart = QProcessEnvironment::systemEnvironment().value("SDK_LATE_START");
QStringList lateStartServices = envSdkLateStart.split(";");
property_set("ro.sdklate.start", "1");