最近整理的一些msm8909平台英文文档3 - how_to_create_a_new_project
2017-04-14 10:39
501 查看
We already have some projects(for example, sim8909_evb103), you can create a new project base on it. For example, if you want to create a new project called "new_prj" base on "sim8909_evb103", you can follow the steps below:
Step 1:
(1) Execute command "cd device/qcom/".
In this directory, you can see many folders named after the project. So we need one named "new_prj", then modify it.
(2) Execute command "cp -r sim8909_evb103 new_prj"
(3) Execute command "cd new_prj".
In this directory, you need to modify all the files named "sim8909_evb103" to "new_prj" and also do this in file content(case always matters).
Step 2:
(1) Execute command "cd bootable/bootloader/lk/".
(2) Execute command "cp -r target/sim8909_evb103 target/new_prj"
(3) Execute command "cp -r project/sim8909_evb103.mk project/new_prj.mk"
(4) In the directory "target/new_prj" and file "project/new_prj.mk", do below:
You need to modify all the files named "sim8909_evb103" to "new_prj" and also do this in file content(case always matters).
Step 3:
(1) Execute command "cd system/core/rootdir/".
(2) Execute command "cp -r sim8909_evb103 new_prj"
Step 4:
(1) Execute command "cd kernel/".
(2) Mod file "arch/arm/boot/dts/qcom/Makefile" add the below context:
ifneq (, $(filter new_prj, $(TARGET_PRODUCT)))
dtb-y += new_prj.dtb
endif
(3) Mod file "arch/arm/mach-msm/Kconfig" add the below context:
(4) Execute command "cp -r arch/arm/configs/sim8909_evb103_defconfig arch/arm/configs/new_prj_defconfig"
Execute command "cp -r arch/arm/configs/sim8909_evb103-perf_defconfig arch/arm/configs/new_prj-perf_defconfig"
Then, you need to modify the content "sim8909_evb103" to "new_prj"(case always matters).
(5)Copy all the file "arch/arm/boot/dts/qcom/sim8909_evb103*" to "arch/arm/boot/dts/qcom/new_prj*". Then, you need to modify the content "sim8909_evb103" to "new_prj"(case always matters).
Step 1:
(1) Execute command "cd device/qcom/".
In this directory, you can see many folders named after the project. So we need one named "new_prj", then modify it.
(2) Execute command "cp -r sim8909_evb103 new_prj"
(3) Execute command "cd new_prj".
In this directory, you need to modify all the files named "sim8909_evb103" to "new_prj" and also do this in file content(case always matters).
Step 2:
(1) Execute command "cd bootable/bootloader/lk/".
(2) Execute command "cp -r target/sim8909_evb103 target/new_prj"
(3) Execute command "cp -r project/sim8909_evb103.mk project/new_prj.mk"
(4) In the directory "target/new_prj" and file "project/new_prj.mk", do below:
You need to modify all the files named "sim8909_evb103" to "new_prj" and also do this in file content(case always matters).
Step 3:
(1) Execute command "cd system/core/rootdir/".
(2) Execute command "cp -r sim8909_evb103 new_prj"
Step 4:
(1) Execute command "cd kernel/".
(2) Mod file "arch/arm/boot/dts/qcom/Makefile" add the below context:
ifneq (, $(filter new_prj, $(TARGET_PRODUCT)))
dtb-y += new_prj.dtb
endif
(3) Mod file "arch/arm/mach-msm/Kconfig" add the below context:
config ARCH_MSM8909_NEW_PRJ bool "NEW_PRJ Product" depends on ARCH_MSM8909 help Support for MSM8909 NEW_PRJ.
(4) Execute command "cp -r arch/arm/configs/sim8909_evb103_defconfig arch/arm/configs/new_prj_defconfig"
Execute command "cp -r arch/arm/configs/sim8909_evb103-perf_defconfig arch/arm/configs/new_prj-perf_defconfig"
Then, you need to modify the content "sim8909_evb103" to "new_prj"(case always matters).
(5)Copy all the file "arch/arm/boot/dts/qcom/sim8909_evb103*" to "arch/arm/boot/dts/qcom/new_prj*". Then, you need to modify the content "sim8909_evb103" to "new_prj"(case always matters).
相关文章推荐
- 最近整理的一些msm8909平台英文文档1 - brife_introduction_how_to_add_a_new_lcd
- 最近整理的一些msm8909平台英文文档2 - how_to_add_otg_function
- 最近整理的一些msm8909平台英文文档4 - i2c_function_of_msm8909
- How to create unit test folder separated from src folder in eclipse project?
- How to create new module in npm
- How To Create a New User and Grant Permissions in MySQL
- How to create a project from existing source in Eclipse and then find it?
- How to Create a site at the specified URL and new database (Command-Line Operation)
- 转载:How to create an automation project using MFC and a type library
- [Solution]How to create Project Web App in SharePoint
- Steps To Create A New Project in Github
- How to create a new game
- How to use the "Enties Generator" tool to create an entities project.
- How to create new geodatabases
- MySQL workbench How to create a new model
- How to create a new routine
- how to begin with a new project
- How to target the existing project to new platform
- How to Create an Reusable Components for Your Project
- How to create a new object in Windchill with IBAs