Compilation of Davinci kernel image uImage

Source: Internet
Author: User
Compilation of Davinci kernel image uImage 1. copy the Directory of the kernel to/root, to prevent other configurations from being damaged, cp/opt/mv_pro_4.0/montavista/pro/devkit/lsp/ti-davinci/root/-rf2. enter the copied directory: cd/root/ti-d... compilation of Davinci kernel image uImage 1. copy the Directory of the kernel to/root, this prevents other configurations from being damaged. cp/opt/mv_pro_4.0/montavista/pro/devkit/lsp/ti-davinci/root/-rf 2. enter the copied directory: cd/root/ti-davinci (// or a level-1 directory, which should contain arch and so on) 3. make menuconfig (a kernel configuration Image interface is displayed. open the newly generated configs File: arch/arm/confi. Gs/davinci_dm644x_defconfig 5. copy the new configuration file to the current directory/root/ti-davinci to overwrite (hide the file ). config cp arch/arm/configs/davinci_dm644x_defconfig. config 6. open the configuration page again and modify the required configuration parameter make menuconfig 7. make 8. make uImage 9. copy the new uImage from/root/ti-davinci/arch/arm/boot to the file system cp/root/ti-davinci/arch/arm/boot/uImage/tftpboot/ 10. set permission: chmod 777/tftpboot/uImage attached: compile the kernel to use the arm-gcc compiler. you need to set the environment variable: export PATH = "/opt/mv_pro_5.0/mont Avista/pro/devkit/arm/v5t_le/bin:/opt/mv_pro_5.0/montavista/pro/bin:/opt/mv_pro_5.0/montavista/common/bin: $ PATH "Davinci kernel compilation common commands DM6446 set the kernel to the default configuration mode: make ARCH = arm CROSS_COMPILE = arm_v5t_le-davinci_dm644x_defconfigmake ARCH = arm CROSS_COMPILE = arm_v5t_le-checksetconfig DM355 set the kernel to the default configuration mode: make ARCH = arm CROSS_COMPILE = arm_v5t_le-davinci_dm355_evm_defconfigmake ARCH = arm CROSS_COMPILE = arm_v5t_le-ch Ecksetconfig: go to the configuration menu and change the kernel configuration option: 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 run the make command export PATH = $ PATH: /opt/mv_pro_4.0.1/montavista/pro/bin (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_l If e-uImage does not work, enable/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.