展讯 android 4.4项目克隆
程序员文章站
2022-04-21 10:21:04
参考平台:sp9820e android 4.41.克隆uboot拷贝路径:u-boot15/board/spreadtrum/${project}u-boot15/configs/${project}_defconfigu-boot15/include/configs/${project}.h1)修改u-boot15/board/spreadtrum/Kconfigconfig TARGET_SP9820E_1H10 bool "Spreadtrum sharkle" se...
参考平台:sp9820e android 4.4
1.克隆uboot
拷贝路径:
u-boot15/board/spreadtrum/${project}
u-boot15/configs/${project}_defconfig
u-boot15/include/configs/${project}.h
1)修改u-boot15/board/spreadtrum/Kconfig,添加新项目配置,参考如下
config TARGET_SP9820E_1H10
bool "Spreadtrum sharkle"
select CPU_V7
help
This is the Spreadtrum sharkle Board
source "board/spreadtrum/sp9820e_1h10/Kconfig"
2)修改u-boot15/board/spreadtrum/${project}/Kconfig、u-boot15/configs/${project}_defconfig
替换字符串为对应项目即可
2.克隆kernel
拷贝路径:
kernel/arch/arm/configs/${project}_defconfig
kernel/arch/arm/boot/dts/${project}.dts
1)修改kernel/arch/arm/boot/dts/Makefile,添加新项目配置,参考如下
dtb-$(CONFIG_ARCH_SPRD)+= \
sp9820e-1h10-native.dtb \
2)修改kernel/arch/arm/configs/${project}_defconfig、kernel/arch/arm/boot/dts/${project}.dts
替换字符串为对应项目即可
3.克隆device
拷贝路径:
device/sprd/sharkle/${project}
修改:
替换所有和项目名相关的文件以及文件内容的字符串
本文地址:https://blog.csdn.net/qq_33575901/article/details/108737542