Common commands for DaVinci kernel Compilation

Source: Internet
Author: User
Common kernel compilation commands
Set the kernel to the default configuration mode for dm6446:
Make arch = arm cross_compile = arm_v5t_le-davinci_dm644x_defconfig
Make arch = arm cross_compile = arm_v5t_le-checksetconfig

Set the kernel to the default configuration mode for dm355:
Make arch = arm cross_compile = arm_v5t_le-davinci_dm355_evm_defconfig
Make arch = arm cross_compile = arm_v5t_le-checksetconfig
Go to the configuration menu and change the Kernel configuration options:
Make arch = arm cross_compile = arm_v5t_le-menuconfig

Kernel image compilation command:
Make arch = arm cross_compile = arm_v5t_le-uimage

Kernel module compilation command:
Arch = arm cross_compile = arm_v5t_le-Modules

If the mkimage command cannot be found during image compilation, run the following command and then run the make command.
Export
Path = $ path:/opt/mv_pro_4.0.1/montavista/Pro/bin (the GCC path required for compiling the kernel)
Chmod A + x
/Opt/mv_pro_4.0.1/montavista/Pro/bin/mkimage (path of mkimage)
Make arch = arm cross_compile = arm_v5t_le-uimage
If not, then:
Open/home/DaVinci/icetekwork/LSP/Ti-DaVinci/scripts/mkuboot. sh file. Assign the mkimage directly to the absolute path of the mkimage. Mine is mkimage =/opt/mv_pro_4.0/montavista/Pro/bin/mkimage, then run the compile kernel command again...

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.