in lk
step 1: 增加dtsi檔案 kernel/include/dt-bindings/lcm/***.dtsi
step 2: 在專案的dts 檔案中包含dtsi檔案 #include
step 3: 在bootable/bootloader/lk/project/.mk 增加defines += mtk_lcm_device_tree_support
custom_mtk_lcm="***"
step 4: 在bootable/bootloader/lk/dev/lcm/mt65xx_lcm_list.c 中增加 #if defined(***)
"***",
#endif
step 5: 在bootable/bootloader/lk/project/.mk 若lcm resolution 不同修改boot_logo = cu_lte_qhd
in kernel
step 1: 同lk
step 2: 同lk
step 3: 開啟config_mtk_lcm_device_tree_support in _defconfig and _debug_defconfig
step 4: 增加lcm config 在_defconfig and _debug_defconfig config_custom_kernel_lcm="***"
step 5: 在device/mediatek 增加auto_add_global_define_by_name = mtk_lcm_device_tree_support 和 開啟mtk_lcm_device_tree_support = y
step 6: 在kernel/drivers/misc/mediatek/lcm/mt65xx_lcm_list.c 中增加 #if defined(***)
"***",
#endif
step 7: 若lcm resolution 不同修改lcm_width 和 lcm_height in device/mediatek/project/projectconfig.mk
step 8: 同樣也在_defconfig and _debug_defconfig 修改config_lcm_height="1280" and config_lcm_width="720" 按實際情況填寫
MTK手機平台新增資源和選單的方式
mtk手機平台新增資源和選單的方式 5 在.plutommi mmi setting settinginc 目錄下的settingprot.h中增加如下的函式宣告 void highlightmysetting void void highlightmysetting1 void void high...
MTK手機平台新增資源和選單的方式
mtk手機平台新增資源和選單的方式 5 在.plutommi mmi setting settinginc 目錄下的settingprot.h中增加如下的函式宣告 void highlightmysetting void void highlightmysetting1 void void high...
MTK手機平台新增資源和選單的方式
mtk手機平台新增資源和選單的方式 5 在.plutommi mmi setting settinginc 目錄下的settingprot.h中增加如下的函式宣告 void highlightmysetting void void highlightmysetting1 void void high...